Hi,
The "ESP32-DevKitC Getting Started Guide" in section "2.3. Download Methods" covers loading of this module with sample application.
Loading is done using ESP32 DOWNLOAD TOOL V3.4.1 that I have downloaded from Espressif website.
According to manual the application to load consists of three flies: bootloader.bin, paritions_singeapp.bin and testje.bin
Where do I get these bin files from?
I could not find this information in manual.
Where do I get these files from?
Krzysztof
Sample bin files for ESP32-DevKitC
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Sample bin files for ESP32-DevKitC
If you are building from the Espressif template app against the ESP-IDF, the files can be found:
Personally, to flash, I run
which then drives the esptool.py utility to flash a Serial port connected ESP32.
Code: Select all
<project>/build/bootloader.bin 0x1000
<project>/build/app-template.bin 0x10000
<project>/build/paritions_singleapp.bin 0x4000
Code: Select all
make flash
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Sample bin files for ESP32-DevKitC
Hi Neil,
Thank you for reply.
I was looking for a sample application that is showing output presented in section 2.4. Check the Serial Output of the "ESP32-DevKitC Getting Started Guide" - https://espressif.com/sites/default/fil ... ide_en.pdf.
I believe I saw it being loaded in my module when I first started it in a serial terminal.
Then I have loaded some other code.
Thank you for reply.
I was looking for a sample application that is showing output presented in section 2.4. Check the Serial Output of the "ESP32-DevKitC Getting Started Guide" - https://espressif.com/sites/default/fil ... ide_en.pdf.
I believe I saw it being loaded in my module when I first started it in a serial terminal.
Then I have loaded some other code.
Re: Sample bin files for ESP32-DevKitC
The text shown in the screen shot is (I believe) the output of an example application as opposed to an expected "this is what you will always see".
When an ESP32 "boots" and debugging is enabled, you will find a text stream sent to UART0 which can be shown in a terminal emulator. Some debug records come from ESP32 and ESP-IDF itself, and other can come from your own application logic. Try and run the "hello world" sample found here ...
https://github.com/espressif/esp-idf/tr ... ello_world
and lets see what you actually see when tested.
If you run into trouble, there is a growing number of folks on the IRC channel called #ESP32 that can help with individual command assistance. This forum is GREAT for considered questions and answers and each post will likely be answered ... while IRC can be used for quick and dirty questions with a "you might get a response" qualification.
When an ESP32 "boots" and debugging is enabled, you will find a text stream sent to UART0 which can be shown in a terminal emulator. Some debug records come from ESP32 and ESP-IDF itself, and other can come from your own application logic. Try and run the "hello world" sample found here ...
https://github.com/espressif/esp-idf/tr ... ello_world
and lets see what you actually see when tested.
If you run into trouble, there is a growing number of folks on the IRC channel called #ESP32 that can help with individual command assistance. This forum is GREAT for considered questions and answers and each post will likely be answered ... while IRC can be used for quick and dirty questions with a "you might get a response" qualification.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Sample bin files for ESP32-DevKitC
OK, clear.
This is what I suspected when giving it another thought.
Thank you for help with this issue and detailed answers.
Krzysztof
This is what I suspected when giving it another thought.
Thank you for help with this issue and detailed answers.
Krzysztof
Last edited by ESP_krzychb on Mon Nov 07, 2016 9:56 am, edited 1 time in total.
Re: Sample bin files for ESP32-DevKitC
Just to clarify one other point, the "ESP32 Download Tool" GUI application is one way to load code onto the ESP32.
The other way is via the command line tool esptool.py which is integrated into esp-idf. The default "make all" target in esp-idf prints a command line for esptool.py, and the "make flash" target will run this command. The getting started guide for each platform should introduce this approach: https://github.com/espressif/esp-idf#setting-up-esp-idf
(To use the GUI application to download, the file paths and offsets can be taken from the console output of "make all".)
The other way is via the command line tool esptool.py which is integrated into esp-idf. The default "make all" target in esp-idf prints a command line for esptool.py, and the "make flash" target will run this command. The getting started guide for each platform should introduce this approach: https://github.com/espressif/esp-idf#setting-up-esp-idf
(To use the GUI application to download, the file paths and offsets can be taken from the console output of "make all".)
Who is online
Users browsing this forum: No registered users and 7 guests