Question : esp32 no works after flash binary

turing_chang
Posts: 6
Joined: Mon Dec 20, 2021 12:57 pm

Question : esp32 no works after flash binary

Postby turing_chang » Mon Dec 20, 2021 1:06 pm

Hi All,

i flash binary into ESP32-S3-USB-OTG by flash_download_tool_3.9.2, but the esp32 didn't work, without any lcd and led.
The start address of binary is zero, not start from 0x1000, does any possible solution for that ?


B.R.

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

Re: Question : esp32 no works after flash binary

Postby ESP_Sprite » Tue Dec 21, 2021 1:44 am

The S3 code is supposed to live at offset 0, so that's correct. What binary are you flashing? Note that the ESP32 and ESP32S3 (and -S2, and -C3) are not binary compatible; you need to have a binary that is compiled for that particular chip.

turing_chang
Posts: 6
Joined: Mon Dec 20, 2021 12:57 pm

Re: Question : esp32 no works after flash binary

Postby turing_chang » Wed Dec 22, 2021 6:49 am

Hi ESP_Sprite
the chip is used to esp32s3, the tool chain is esp-idf, there're three binary files after compiler done, bootloader.bin, partition-table.bin, and hello_world.bin. It does not work.

the target board is "ESP32-S3-USB-OTG", the information is listed as below link :
https://docs.espressif.com/projects/esp ... guide.html

if have any suggestion, please inform me. Thanks for your help.

B.R.

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

Re: Question : esp32 no works after flash binary

Postby ESP_Sprite » Wed Dec 22, 2021 9:08 am

Ah, so you're using ESP-IDF? What happens if you flash using 'idf.py flash'? After you flash, can you run 'idf.py monitor' and see what output you get?

turing_chang
Posts: 6
Joined: Mon Dec 20, 2021 12:57 pm

Re: Question : esp32 no works after flash binary

Postby turing_chang » Thu Dec 23, 2021 1:42 pm

Hi
Thanks for your help, i already got the message of printf from uart port, so the program is fine.

B.R.

Who is online

Users browsing this forum: No registered users and 68 guests