Enter Download Mode in ESP32-C6

mywaggle
Posts: 6
Joined: Fri Mar 07, 2025 6:40 am

Enter Download Mode in ESP32-C6

Postby mywaggle » Fri Mar 07, 2025 8:11 am

Hi Team,
We are using the ESP32-C6 in our project and attempting to enter Boot mode by asserting GPIO9 to LOW. However, every time we try, the device enters either SPI Boot or Download or SDIO Boot. Since we are only using UART Boot for our project, we want to disable SPI Boot and SDIO Boot in our project. Is this possible?

Additionally, we want our devices to enter Boot mode without requiring any external switching on GPIO9 and GPIO8. Are there any available options in code to achieve this?


Thanks.

Sprite
Espressif staff
Espressif staff
Posts: 10617
Joined: Thu Nov 26, 2015 4:08 am

Re: Enter Download Mode in ESP32-C6

Postby Sprite » Fri Mar 07, 2025 8:20 am

Hi Team,
We are using the ESP32-C6 in our project and attempting to enter Boot mode by asserting GPIO9 to LOW. However, every time we try, the device enters either SPI Boot or Download or SDIO Boot. Since we are only using UART Boot for our project, we want to disable SPI Boot and SDIO Boot in our project. Is this possible?
Sounds to me like GPIO8 is not high when the chip is reset. Suggest you check your schematic.
Additionally, we want our devices to enter Boot mode without requiring any external switching on GPIO9 and GPIO8. Are there any available options in code to achieve this?
There is. Either the USB-serial-JTAG can do this after a program is loaded, or software can set a bit in the RTC and reboot into download mode. Note that misconfigured software can stop either from happening (by reconfiguring the GPIO pins or hard bootlooping), so you may still want to have GPIO9 accessible somehow, at least in development setups.

mywaggle
Posts: 6
Joined: Fri Mar 07, 2025 6:40 am

Re: Enter Download Mode in ESP32-C6

Postby mywaggle » Fri Mar 07, 2025 11:14 am

Thanks for your Response.
GPIO8 is kept floating. Do i need to connect this pin to HIGH logic?

Can you please share the software that can be used? And for development, we are fine with GPIO9 accessible, but we are looking for production setups. If you got any suggestion, pls share.


Regards,
Jagan K

Sprite
Espressif staff
Espressif staff
Posts: 10617
Joined: Thu Nov 26, 2015 4:08 am

Re: Enter Download Mode in ESP32-C6

Postby Sprite » Sat Mar 08, 2025 7:04 am

GPIO8 is kept floating. Do i need to connect this pin to HIGH logic?
Yes, use a pullup to 3.3V. Suggest that in general you go through the hardware design guidelines to check if you did everything that applies to a module.
Can you please share the software that can be used?
Software for what?

Who is online

Users browsing this forum: Bytespider and 2 guests