Problem getting back into download mode

discreet_mayor
Posts: 5
Joined: Thu Nov 30, 2023 12:06 pm

Problem getting back into download mode

Postby discreet_mayor » Wed Mar 27, 2024 1:41 am

After uploading code to an ESP32-C6 (which should have worked), I am stuck with the chip repeating the following messages. Holding IO9 low (and IO8 is pulled high) stops the messages but I don't see the "awaiting download" message. Trying to connect to the chip through USB-JTAG just fails now. Is there a way to recover?

SPIWP:0xee
mode:DIO, clock div:2
Valid secure boot key blocks: 0 1 2
RSA-PSS secure boot verification succeeded
load:0x4086c410,len:0xafc
load:0x4086e610,len:0x4974
load:0x40875890,len:0x45c
entry 0x4086c410
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x3 (LP_SW_HPSYS),boot:0x6f (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001974a
0x4001974a: software_reset in ROM

SPIWP:0xee
mode:DIO, clock div:2
Valid secure boot key blocks: 0 1 2
RSA-PSS secure boot verification succeeded
load:0x4086c410,len:0xafc
load:0x4086e610,len:0x4974
load:0x40875890,len:0x45c
entry 0x4086c410
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x3 (LP_SW_HPSYS),boot:0x6f (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001974a
0x4001974a: software_reset in ROM

ESP_Sprite
Posts: 9724
Joined: Thu Nov 26, 2015 4:08 am

Re: Problem getting back into download mode

Postby ESP_Sprite » Thu Mar 28, 2024 1:49 am

GPIO8 needs to be high for the chip to enter download mode - is that the case in your circuit?

discreet_mayor
Posts: 5
Joined: Thu Nov 30, 2023 12:06 pm

Re: Problem getting back into download mode

Postby discreet_mayor » Fri Mar 29, 2024 12:39 pm

Yeah, IO8 is high, and IO9 can be left floating or brought low for download mode.

When IO9 is left floating for normal bootup, I get the infinite cycle above. If I try holding IO9 low, the cycle doesn't happen, but I am also not prompted with "download mode", just no text response.

Who is online

Users browsing this forum: ajay.rathor, Bing [Bot], Reenis and 99 guests