ESP32S3 : How to flash/program the Esp32S3 chip using command lines ?

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

ESP32S3 : How to flash/program the Esp32S3 chip using command lines ?

Postby ThomasESP32 » Fri Sep 29, 2023 9:52 am

Good morning,


I am working with an Esp32S3 Wroom 1 module and I would like to know if it is possible to flash/program
the Esp32S3 without using the Eclipse workspace ?

My goal would be to program/flash the Esp32S3 chip via command lines
(With an USB cable connected to the USB connector of the chip).
I know that it is possible to do that using chips from other constructors (For ex, with Renesas Chips, it is possible
to install a little program which can be called from command lines).

This would enable me to include the program and the command lines in a personnal tool
in order to program the chip in production (Without using Eclipse IDE).

Could you please help me on the subject ?

Best regards,

Thomas TRUILHE

Nespressif
Posts: 76
Joined: Tue Sep 12, 2017 11:25 am

Re: ESP32S3 : How to flash/program the Esp32S3 chip using command lines ?

Postby Nespressif » Fri Sep 29, 2023 10:26 am

I always compile and flash from the command line, you just have to configure the esp-idf environment as indicated in the documentation in the get-stated https://docs.espressif.com/projects/esp ... index.html section and then you can use idf.py to do everything you need.

https://docs.espressif.com/projects/esp ... irst-steps

cd ~/esp/hello_world
idf.py set-target esp32
idf.py menuconfig

Regards,

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

Re: ESP32S3 : How to flash/program the Esp32S3 chip using command lines ?

Postby ThomasESP32 » Thu Oct 05, 2023 12:52 pm

Thank you for your answer.

However, the goal is to have the possibility to flash the device with a project
containing many .bin files (Each one located at a particular address) without
the use of ESP-IDF.
We would like to have the possibility to flash the project in production on a computer
which would not have the ESP-IDF environment.
We do not want to compile the project again, just flash it.

Thank you
Do you have the answer please ?

el_pinguino
Posts: 1
Joined: Thu Oct 05, 2023 6:16 pm

Re: ESP32S3 : How to flash/program the Esp32S3 chip using command lines ?

Postby el_pinguino » Thu Oct 05, 2023 6:27 pm

The "Flash Download Tool" already exists as a GUI in Windows:

https://docs.espressif.com/projects/esp ... ml#windows

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

Re: ESP32S3 : How to flash/program the Esp32S3 chip using command lines ?

Postby ThomasESP32 » Fri Oct 06, 2023 6:24 am

Good morning,
thank you for your help, looking at the Esp32S3 site, I have found informations about esptool.
I managed to install it on a computer and using the same command which appears on the console of Esp-Idf,
I managed to flash the chip.

I have just another question please.
In my project, I have a program which runs on the ULP copro. Do you think it is embedded in the .bin file of the project ?
This question because I do not see any .bin file for the ULP program.

Best regards,

Nespressif
Posts: 76
Joined: Tue Sep 12, 2017 11:25 am

Re: ESP32S3 : How to flash/program the Esp32S3 chip using command lines ?

Postby Nespressif » Fri Oct 06, 2023 6:28 am

el_pinguino wrote:
Thu Oct 05, 2023 6:27 pm
The "Flash Download Tool" already exists as a GUI in Windows:

https://docs.espressif.com/projects/esp ... ml#windows
Look how simple it is, thank you very much el_pinguino. I did not know this tool but it can be very useful.
I'm sorry I didn't understand well what the objective was.

Regards

Who is online

Users browsing this forum: rsimpsonbusa and 98 guests