Page 1 of 1

ESP32-S3 boot mode

Posted: Mon Dec 18, 2023 4:24 pm
by daniSi
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

Re: ESP32-S3 boot mode

Posted: Tue Dec 19, 2023 5:45 am
by mikemoy
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.

Re: ESP32-S3 boot mode

Posted: Tue Dec 19, 2023 6:41 am
by daniSi
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.

Re: ESP32-S3 boot mode

Posted: Wed Dec 20, 2023 1:32 pm
by MicroController
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.

Re: ESP32-S3 boot mode

Posted: Thu Dec 21, 2023 11:49 am
by daniSi
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.

Re: ESP32-S3 boot mode

Posted: Thu Dec 21, 2023 3:04 pm
by MicroController
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.