Flashing binary file into ESP32

pacha14
Posts: 5
Joined: Fri Oct 01, 2021 4:09 am

Flashing binary file into ESP32

Postby pacha14 » Mon Jan 10, 2022 4:43 pm

I'm trying to flash the following firmware onto a heltec v2 esp32: https://meshtastic.org/firmware

I followed the following commands given in the following link to flash the .bin file into the esp32: https://randomnerdtutorials.com/flashin ... 2-esp8266/

Once the .bin file is flashed to the esp32, do we need to do anything to run the binary file or is the firmware automatically installed?
I tried running meshtastic but it did not seem to respond so i'm guessing the firmware was not properly installed.

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

Re: Flashing binary file into ESP32

Postby ESP_Sprite » Tue Jan 11, 2022 1:07 am

There's a device-install.[bat/sh] script in those zipfiles; why do you not use that?

pacha14
Posts: 5
Joined: Fri Oct 01, 2021 4:09 am

Re: Flashing binary file into ESP32

Postby pacha14 » Tue Jan 11, 2022 3:35 pm

I was confused how I could run a bash script on the esp.
How do you do that?

pacha14
Posts: 5
Joined: Fri Oct 01, 2021 4:09 am

Re: Flashing binary file into ESP32

Postby pacha14 » Tue Jan 11, 2022 4:05 pm

How do i run a sh file on the esp32 heltec board?

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

Re: Flashing binary file into ESP32

Postby ESP_Sprite » Wed Jan 12, 2022 1:29 am

You don't. You run the bat script (Windows) or sh script (Linux/OSX/...) on your computer, and it takes care of flashing the ESP32.

pacha14
Posts: 5
Joined: Fri Oct 01, 2021 4:09 am

Re: Flashing binary file into ESP32

Postby pacha14 » Wed Jan 12, 2022 3:31 pm

Ah yes, silly me. Thank you!

Who is online

Users browsing this forum: No registered users and 100 guests