Page 1 of 1

Flashing binary file into ESP32

Posted: Mon Jan 10, 2022 4:43 pm
by pacha14
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.

Re: Flashing binary file into ESP32

Posted: Tue Jan 11, 2022 1:07 am
by ESP_Sprite
There's a device-install.[bat/sh] script in those zipfiles; why do you not use that?

Re: Flashing binary file into ESP32

Posted: Tue Jan 11, 2022 3:35 pm
by pacha14
I was confused how I could run a bash script on the esp.
How do you do that?

Re: Flashing binary file into ESP32

Posted: Tue Jan 11, 2022 4:05 pm
by pacha14
How do i run a sh file on the esp32 heltec board?

Re: Flashing binary file into ESP32

Posted: Wed Jan 12, 2022 1:29 am
by ESP_Sprite
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.

Re: Flashing binary file into ESP32

Posted: Wed Jan 12, 2022 3:31 pm
by pacha14
Ah yes, silly me. Thank you!