Sample bin files for ESP32-DevKitC

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Sample bin files for ESP32-DevKitC

Postby ESP_krzychb » Sat Nov 05, 2016 7:25 pm

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

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Sample bin files for ESP32-DevKitC

Postby kolban » Sat Nov 05, 2016 10:21 pm

If you are building from the Espressif template app against the ESP-IDF, the files can be found:

Code: Select all

<project>/build/bootloader.bin 0x1000
<project>/build/app-template.bin 0x10000
<project>/build/paritions_singleapp.bin 0x4000
Personally, to flash, I run

Code: Select all

make flash
which then drives the esptool.py utility to flash a Serial port connected ESP32.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Sample bin files for ESP32-DevKitC

Postby ESP_krzychb » Sun Nov 06, 2016 7:32 am

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.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Sample bin files for ESP32-DevKitC

Postby kolban » Sun Nov 06, 2016 4:45 pm

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.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Sample bin files for ESP32-DevKitC

Postby ESP_krzychb » Sun Nov 06, 2016 6:49 pm

OK, clear.
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.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Sample bin files for ESP32-DevKitC

Postby ESP_Angus » Sun Nov 06, 2016 11:19 pm

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".)

Who is online

Users browsing this forum: No registered users and 12 guests