How to programme ESP32-S3 after I set its CPU frequency to 10MHz?

HKPhysicist
Posts: 5
Joined: Thu Jul 17, 2025 3:40 pm

How to programme ESP32-S3 after I set its CPU frequency to 10MHz?

Postby HKPhysicist » Thu Jul 17, 2025 4:21 pm

Dear ESP32 Technical Support and Experts,
I own a board built upon ESP32-S3-WROOM-1-N16R8. I can run any application which I want it to as long as I set the CPU frequency equal to or higher than 80MHz.

Yesterday, I tested my board with a bugless sketch and compiled it at 80MHz CPU frequency. As usual, this combination worked well.

Then, I compiled the same sketch at 10MHz CPU frequency. Compilation was successful and the board was reset.

However, the USB serial port of my board disappeared and did not come up any more!!!

I did press the RESET button, BOOT button and any combination of them and these do not help.

Please help me to repair it again! :|

Thank you very much!

My IDE is Arduino v2.3.6 for Windows, official arduino-esp32 board manager.
Hardware: ESP32-S3-WROOM-1-N16R8
deep sleep esp32.png
deep sleep esp32.png (50.7 KiB) Viewed 476 times

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

Re: How to programme ESP32-S3 after I set its CPU frequency to 10MHz?

Postby Sprite » Fri Jul 18, 2025 3:31 am

Yeah, USB-jtag-serial needs the BPLL running and I imagine running the CPU at 10MHz disables that. You probably can regain control by holding the BOOT button and unplugging/replugging the board (assuming it's powered from USB).

lbernstone
Posts: 1132
Joined: Mon Jul 22, 2019 3:20 pm

Re: How to programme ESP32-S3 after I set its CPU frequency to 10MHz?

Postby lbernstone » Fri Jul 18, 2025 5:38 am

Note that the radio also cannot operate at cpu speeds under 80MHz, so those low rates are not particularly useful.

HKPhysicist
Posts: 5
Joined: Thu Jul 17, 2025 3:40 pm

Re: How to programme ESP32-S3 after I set its CPU frequency to 10MHz?

Postby HKPhysicist » Fri Jul 18, 2025 6:21 am

Yeah, USB-jtag-serial needs the BPLL running and I imagine running the CPU at 10MHz disables that. You probably can regain control by holding the BOOT button and unplugging/replugging the board (assuming it's powered from USB).
This is the core part of my board. I did remove the battery, press the BOOT button and then replug the USB cable. Nothing has improved. Please advice. :|
main buttons.jpg
main buttons.jpg (1.15 MiB) Viewed 448 times

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

Re: How to programme ESP32-S3 after I set its CPU frequency to 10MHz?

Postby Sprite » Fri Jul 18, 2025 11:57 pm

I don't know what to say: if you keep GPIO0 low and make EN low and high, the ESP32 should boot into bootloader mode. I'd suggest checking your board schematic to see if the buttons do that.

HKPhysicist
Posts: 5
Joined: Thu Jul 17, 2025 3:40 pm

Re: How to programme ESP32-S3 after I set its CPU frequency to 10MHz?

Postby HKPhysicist » Sat Jul 19, 2025 10:04 am

I don't know what to say: if you keep GPIO0 low and make EN low and high, the ESP32 should boot into bootloader mode. I'd suggest checking your board schematic to see if the buttons do that.
Yes, my board's manufacturer marks GPIO0 as FLASH. :lol:

Then, I follow the official procedure to regain control of my board. :D

Who is online

Users browsing this forum: Bing [Bot], ChatGPT-User and 1 guest