An ESP32-S2-DEVKitC-1 which came with the demo code of a flashing R, G. B led from espressif,
once programmed via idf.py flash with the demo hello_world app, from the idf get_started examples, refuses to show a serial port. Target type set to ESP32S2, and can get still get into bootloader mode, with reset/boot pins, but no application serial port
ESP32S2 doesn't show serial port after flashing with hello world example
Re: ESP32S2 doesn't show serial port after flashing with hello world example
Try manually resetting the board by pressing and releasing the RST button. This should reset the board and start running the demo hello_world app.
Check that the correct serial port is selected in your terminal program. The ESP32-S2-DEVKitC-1 should appear as a USB serial device in your computer's device manager, and you can use the device name to select the correct serial port in your terminal program.
Check that the correct serial port is selected in your terminal program. The ESP32-S2-DEVKitC-1 should appear as a USB serial device in your computer's device manager, and you can use the device name to select the correct serial port in your terminal program.
Re: ESP32S2 doesn't show serial port after flashing with hello world example
Once the code has been programmed, resetting/power cycling does not show up any serial port in device manager.
And to reprogramme again, the boot/reset button combination of getting it into bootloader/DFU mode is needed, which then does appear as a comm port. It just seems that any of the examples that send data to the USB/serial port do not show a serial port after the programme is uploaded and reset. It could be that the programme is not running, hence no serial port, but I can't be sure, hence using a simple example programme to test it out!
the target has been set to ESP32S2 via the set-target command
And to reprogramme again, the boot/reset button combination of getting it into bootloader/DFU mode is needed, which then does appear as a comm port. It just seems that any of the examples that send data to the USB/serial port do not show a serial port after the programme is uploaded and reset. It could be that the programme is not running, hence no serial port, but I can't be sure, hence using a simple example programme to test it out!
the target has been set to ESP32S2 via the set-target command
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32S2 doesn't show serial port after flashing with hello world example
You might need to use menuconfig to set the standard log console to CDC/ACM.
Re: ESP32S2 doesn't show serial port after flashing with hello world example
Yes, that was the issue, the debug console was set to UART0, using menuconfig to set it up as USB/CDC, made the serial port appear and then the hello word text appears.
thank you for your help
thank you for your help
Who is online
Users browsing this forum: No registered users and 91 guests