ESP32-S3 boot mode

daniSi
Posts: 47
Joined: Thu Dec 23, 2021 9:43 am

ESP32-S3 boot mode

Postby daniSi » Mon Dec 18, 2023 4:24 pm

Hi,

I am using the ESP32-S3 and would like to ask if there is any chance to permanently skip the download mode if the strapping pins are set? I was thinking of setting the fuse bits, but idk if there is any appropriate fuse for this.

I found the option of the "Disable ROM Download Mode" but as I have read it still stay inside, but prints an error?

regards, Danijel

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: ESP32-S3 boot mode

Postby mikemoy » Tue Dec 19, 2023 5:45 am

He brings up a good idea. I dont know if it could be implemented in menuconfig. It would be a nice feature to enable/disable those bootstrap pins.

daniSi
Posts: 47
Joined: Thu Dec 23, 2021 9:43 am

Re: ESP32-S3 boot mode

Postby daniSi » Tue Dec 19, 2023 6:41 am

If there is any change this would be great. The problem is we use the strapping pins with some peripheral device which in some edge cases cause the pin stay low at power up which means the esp doesn't go to normal boot. Because the hardware is already released we would like to fix this over software.

MicroController
Posts: 1734
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32-S3 boot mode

Postby MicroController » Wed Dec 20, 2023 1:32 pm

mikemoy wrote:
Tue Dec 19, 2023 5:45 am
He brings up a good idea. I dont know if it could be implemented in menuconfig. It would be a nice feature to enable/disable those bootstrap pins.
AFAIK, it's the ROM bootloader that samples the strapping pins after reset and enters download mode - or not, if the efuse is blown. So switching back and forth is not possible. However, I think it should be possible to disable the ROM's strapping-pin handling via efuse and then do custom strapping-pin handling in the 2nd stage bootloader or the application itself, rebooting the chip into download mode from software only if&when desired.

daniSi
Posts: 47
Joined: Thu Dec 23, 2021 9:43 am

Re: ESP32-S3 boot mode

Postby daniSi » Thu Dec 21, 2023 11:49 am

Do you know which efuse this could be? I have read through all of them but non of the descriptions seems the one of doing this.

MicroController
Posts: 1734
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32-S3 boot mode

Postby MicroController » Thu Dec 21, 2023 3:04 pm

Should be there in menuconfig. - Although, looking over it, this may not fully disable the strapping pin's use by the bootloader but cause it to abort booting instead of entering download mode.

Who is online

Users browsing this forum: No registered users and 71 guests