How To Read Bin File From ESP32 and ESP8266

Опубликовано: 24 Июль 2023
на канале: Ahmad Logs
39,774
726

In this video, I'll show you how to extract hex code from an ESP32 or ESP8266. We'll use the ESP32 development module for this demonstration, but the steps are the same for other devices. After uploading a blink sketch to the ESP32, we'll extract the code and upload it to another module. This process allows easy cloning of functionality across multiple devices, saving you time and effort in programming. Let's get started!

--------------------------------------------------------------------------------------------------------------------
Commands Used in This Project
--------------------------------------------------------------------------------------------------------------------
1. Read Flash Size:
esptool.exe --port COM3 --baud 921600 flash_id

2. Read Bin File From Flash Memory:
esptool.exe --port COM3 --baud 921600 read_flash 0 0x400000 esp32blink.bin

3. Write Bin File on Flash Memory:
esptool.exe --chip esp32 --port COM3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 D:\esp32blink.bin

--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
How To Extract Hex File From Arduino
   • How To Extract Hex File From Arduino ...  

--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
https://github.com/ahmadlogs/
YouTube:
https://www.youtube.com/ahmadlogs?sub...

--------------------------------------------------------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------------------------------------------------------
Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

#ESP32 #ESP8266 #Arduino