-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not get any output from ESP32-S2FNR2 (IDFGH-9694) #11035
Comments
@waruqi It looks like the chip is still in boot mode. Have you tried manually resetting it? If that does not work, please make sure that GPIO0 is pulled high, then try to reset again. What you experience looks similar to what happens when you connect your chip without the reset lines or if the reset circuit does not work. This is commonly the case when only connecting RXD, TXD and GND of a USB to UART converter to the chip. In the latter case, a simple manual reset would help. |
I've tried resetting it several times and it doesn't work. and I'm not sure if it's finished flashing because it ended up reporting an error. I just used usb-typec to connect it. |
If you run
|
startup
after pressing reset
|
maybe it still in boot mode after flashing. But I flash other firmware, like micropython, it works fine. just when I flash idf program, it does not work. |
Hello @waruqi, You are flashing the ESP32-S2 over a software USB console. This has some limitations:
Your problem is that you have not configured your app to use this USB-OTG console. |
I tried it, it still does not work.
|
You have to first flash the device with idf.py flash, then reset it (either by pressing the button or reconnecting the USB cable) and then start monitoring with idf.py monitor. Do not reset the chip while monitoring. |
ok, it works now, thanks! 👍
|
Answers checklist.
IDF version.
v5.1-dev-4051-g4f0769d2ed
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S2FNR2
Power Supply used.
USB
What is the expected behavior?
I use
idf.py build
to buildexamples/get-started/hello_world
project and flash itit will report some errors after downloading.
then I run
idf.py monitor
, I cannot get any serial-io output.What is the actual behavior?
I can see app output.
Steps to reproduce.
Debug Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: