How To Read Bin File From ESP32 and ESP8266

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 102

  • @mikoajgoebiowski9028
    @mikoajgoebiowski9028 7 місяців тому +5

    It really worked, even on ESP8266!
    Now I address it to the other viewers:
    regardless of whather you use, ESP8266 or ESP32, you should install ESP32 support on Arduino IDE ->Boards Manager, do all as Ahmad did.
    Later in "Write Bin File" (8:49) instead of "--chip esp32" use "--chip esp8266"
    And that's all the difference :)

    • @sonnyf5777
      @sonnyf5777 2 місяці тому +1

      yes worked on esp8266mod

  • @ethanclement9647
    @ethanclement9647 4 місяці тому

    You're a genius and thanks for your careful documentation. I was able to pull the file from a "dead" ESP32-WROVER-E device. I did have to cold boot it with power supply and then it locked into bootloader mode nicely. Thanks again!

  • @nicolassun7938
    @nicolassun7938 11 місяців тому +3

    I tested it and it works great !
    Many thanks for your very good how to.
    Continue to make very good video like this.😁👍

  • @ESP32-ARD
    @ESP32-ARD 9 місяців тому +5

    Hi, Do you also have video link for encrypting ESP32 to prevent cloning. Thank you.

  • @kees-ft1yb
    @kees-ft1yb 9 місяців тому +1

    Great work. Just what i was looking for.

  • @catman72
    @catman72 2 місяці тому

    finally an excellent explanation. thank you so much

  • @DIYELEKTRONICKITS
    @DIYELEKTRONICKITS 4 місяці тому

    Works fantastically, wow thanks for such a great tutorial.

  • @anilgarg57
    @anilgarg57 Рік тому +2

    Well done Ahmad. Good video.

  • @sevketkarayilan
    @sevketkarayilan Рік тому +4

    How to prevent clone my esp code?

  • @elektron2kim666
    @elektron2kim666 9 місяців тому

    Very useful. I need to back up my Pico's and rearrange some M5Stack stuff.

  • @effesix5937
    @effesix5937 2 місяці тому

    Good job. Works fine. Thanks a lot

  • @sonnyf5777
    @sonnyf5777 2 місяці тому

    good job, it worked read flash data on esp8266mod, thanks...🙏

  • @opm905
    @opm905 Рік тому +2

    Ty sir 🙏🙏🙏 you are really genius... ty for response my comment.... And finally solved my problem....1st I am seeing this type of video...what is your qualifications sir in electronics field

    • @AhmadLogs
      @AhmadLogs  Рік тому +1

      So nice of you. I am just a learner

    • @TechTamilIOT
      @TechTamilIOT Рік тому

      i need your mail id@@AhmadLogs

    • @CiroPeixoto
      @CiroPeixoto Рік тому

      Humildade é sinal de grandeza !!! 😊parabéns pelo vídeo e a informação original !!
      Nunca pensei que seria tão fácil duplicar programas no ESP 😳Vou proteger melhor meus produtos !!!

  • @milodelpozo7727
    @milodelpozo7727 7 місяців тому

    very usefull for backups of 3D printer board versions

  • @TrackAnimatorsMEDIA
    @TrackAnimatorsMEDIA 10 місяців тому

    I have a question for you.
    Do you know of a way to install a OS from a keyboard like the Ensoniq EPS Classic or old Akai MPC drum machines on an ESP 32?

  • @ethanclement9647
    @ethanclement9647 4 місяці тому

    I need to read memory from esp32-wrover-e which is not connected to a development board. What programming cable will work and what peripherals do I need in order to read and write?

  • @Nasser3D
    @Nasser3D 10 місяців тому

    Can you do a video how to extract hex code from bl602 chip

  • @brishisharma
    @brishisharma 6 місяців тому

    how to copy if it is soldered directly on pcb other than development board?

  • @khushisanghvi1456
    @khushisanghvi1456 2 місяці тому

    What if I want to extract app0.bin , bootloader.bin, ino.partition.bin separately?

  • @bekahmed5048
    @bekahmed5048 6 місяців тому

    Thank you very much... can i change Bluetooth name from à bin file?

  • @Chache17
    @Chache17 6 місяців тому

    I have a couple questions: is it possible to password protect the esp32 so that this operation can only be done with the correct password?
    And, is it possible to just copy the program partition and paste it into the second device? This is to keep the data potentially existing in the spiffs partition.

  • @carlovillois23
    @carlovillois23 6 місяців тому

    Tks, very usefull but for the LOLIN C3 MINI the read operation start without pressing the RESET BUTTON and the procedure doesn't arrived to the end of the memory (error come after a while...). Someone can help me?

  • @mainegrower
    @mainegrower 7 місяців тому

    I need to be able to edit the extracted file. How do I convert it so I can bring it back into arduino studio to edit it.

  • @UlrichBarlow
    @UlrichBarlow 8 місяців тому

    Hello ..thank you for posting this .I need your advise with a problem , can do the same for ST12C5A60S

  • @jumbo999614
    @jumbo999614 5 місяців тому

    I'm using Proteus simulator and it expect hex file for microcontroller.
    When I compile code for ESP8266 in Arduino IDE, I get elf and bin.
    Can I convert it to hex? Even it successfully converted, will it work in proteus?

  • @unuxx201
    @unuxx201 2 місяці тому

    Nice Video! But i have a problem, the download stop to 16%. With the error: 679936 (16 %)
    A fatal error occurred: Packet content transfer stopped (received 3974 bytes).
    can you tell me what could be the reason for this?

  • @Steven_Bennett_YT
    @Steven_Bennett_YT 7 місяців тому

    Excellent, very helpful. I notice the download time is much longer than the upload time, is this because all 4Mb is downloaded but only the actual sketch binary part is uploaded?

  • @satishpawa
    @satishpawa 8 місяців тому

    Is it possible to convert the download file of the esp 32 or esp 8266 to the Arduino ide sketch ino file
    Means convert.bin file to .ino file
    Please respond if it is possible

  • @jaisiddhisuperpowerpltd1872
    @jaisiddhisuperpowerpltd1872 8 місяців тому

    are you from Pakistan, I am from India, I love your video so much, you do great projects

  • @sulesharad
    @sulesharad Рік тому

    I am trying to do ,but after uploading the file error is coming ,in error esp8266tool.exe file not showing.
    Secondly from note book copy portion pasting in windows and press enter, direct command window is opening.

  • @ramrode5350
    @ramrode5350 Рік тому +1

    Sir agar muje esp32 ke andar ka code copy karna ho without lost code jo ki us esp me already upload hai to mai kaise karu mere ek project me maine code upload kiya tha but vo laptop mese Delete ho gaya aur muje vo code urgent chahiye isliye aapko pucha please bataiyega sir 🙏

    • @AhmadLogs
      @AhmadLogs  Рік тому

      use the same method

    • @ramrode5350
      @ramrode5350 Рік тому +1

      ​@@AhmadLogs par isse mere old Esp mese purana code Delete to nahi hoga na kyu ki agar vo Delete ho gaya to mera bohot jyada nuksan ho jayega isiliye

    • @AhmadLogs
      @AhmadLogs  Рік тому

      @@ramrode5350 nahi delete ho ga. dont worry

    • @ramrode5350
      @ramrode5350 Рік тому +1

      @@AhmadLogs ok to fir abhi vo try karta hu

  • @049-rizqipratama7
    @049-rizqipratama7 Рік тому

    Hello Sir, Please share your program that to use in the dekstop

  • @woodyouloveit-fe1sw
    @woodyouloveit-fe1sw Рік тому

    Can it be doable for esp8266-01...

  • @permanenthairsystemludhian5143
    @permanenthairsystemludhian5143 8 місяців тому

    My esp32 read file 29%after heng what is problem ???

  • @woolfy02
    @woolfy02 11 місяців тому

    I had a project on my ESP8266 that works but, I lost the code after my HD crashed. Is it possible to retrieve the code from the device, so I can make a copy and edit/save it? (I really want the code back) I spent a lot of time working on that code and, I hope I can bring it back from the device.

    • @harshverma_i
      @harshverma_i 10 місяців тому

      Hey bro? You get the code??

    • @woolfy02
      @woolfy02 10 місяців тому

      @@harshverma_i No. I was never able to get it back.

  • @praveenb9048
    @praveenb9048 Рік тому

    Hi, I am using a Raspberry Pi for development. The path to esptool points to a Python file, esptool.py. I tried to do "python esptool.py -version" etc, but it throws an error. Any ideas how to use the python version of esptool? Thanks!

    • @praveenb9048
      @praveenb9048 Рік тому

      I tried running esptool.py in the same original folder, and the 'version' command works ok. Is it safe to use from this location for the rest of the process?

    • @praveenb9048
      @praveenb9048 Рік тому

      OK, I just copied all other stuff from the same folder along with esptool.py to another folder, and it works.

  • @aekaek8759
    @aekaek8759 8 місяців тому

    عمل رائع و ممتاز .
    أخ أحمد هل هناك طريقة لتحويل hex إلى code source .وشكرا مجددا

  • @Belkhir-Beg
    @Belkhir-Beg Рік тому +1

    شكرا لك. شرح جميل وممتع

  • @sulesharad
    @sulesharad Рік тому

    Good day sir,
    In this tutorial you have used esp32 module and you said steps will be same for esp8266 .that means wherever you have mentioned esp32 in prosses. i should mentioned esp8266 instead of esp32 right.
    Secondly you have select randomly esp32 development board, for esp8266 which board i should select.
    Please guide
    With regards
    Sharad

    • @chrisb.9865
      @chrisb.9865 Рік тому

      hello sharad,
      for the esp8266 you can do it exactly like he did.
      I just did it and it worked fine using the esp32 module and dev board config.
      but with my esp8266 board i had to slower the baud rate to 230400.
      best regards,
      chris

  • @saadelm2955
    @saadelm2955 11 місяців тому

    How i Can upload bin file to Arduino nano ..brother

  • @mdfazlerabbi7081
    @mdfazlerabbi7081 3 місяці тому

    you are genius

  • @sulesharad
    @sulesharad Рік тому

    How to change ssid and password in nodemcu8266 bin file

  • @programhardware9647
    @programhardware9647 8 місяців тому

    Nice video... But my read file not works in another 8266

  • @bait2339
    @bait2339 9 місяців тому

    I uploaded, there was a warning “does not exist or your board is not connected”, help me please

    • @mikoajgoebiowski9028
      @mikoajgoebiowski9028 7 місяців тому

      Did you set correct COM port number? When you don't connect your board to PC, defalut COM port on Arduino IDE is COM3, but when you connect your board, this COM port number mostly changes.
      Check your COM number after connecting your board and use correct COM number in CMD

  • @fahimi.saiyed8939
    @fahimi.saiyed8939 Рік тому +1

    can i convert bin file to .ino or c file?

  • @andrysaputra-f2p
    @andrysaputra-f2p 4 місяці тому

    thanks for the tutorial but i have a problem, because i just stuck read in 6% with my esp32

  • @Narita1979
    @Narita1979 Рік тому

    Please, make video that shows how to encrypt flash.

  • @dragon-cu6cc
    @dragon-cu6cc Рік тому

    Hello
    how do i re-edit the edited bin file

  • @hsnhaku319
    @hsnhaku319 4 місяці тому

    Thank you🎉

  • @ArslanIshtiaq-v8c
    @ArslanIshtiaq-v8c Рік тому

    How to view a .bin file means coding statements programed by someone.

    • @SenithDR
      @SenithDR Рік тому

      You cannot do that

  • @ahmedsameerhassan
    @ahmedsameerhassan Рік тому

    Is there any way to prevent that, I don't want any One to use My code

    • @shardulambikecs1192
      @shardulambikecs1192 2 місяці тому

      There are ways to protect your ESP32 code from being read or cloned, though the ESP32 is not as secure as some microcontrollers that are specifically designed with code protection in mind. Here are some methods to help secure your code:
      1. Flash Encryption
      ESP32 supports flash encryption, which encrypts the contents of the flash memory. This makes it difficult for anyone to read or clone the code directly from the flash memory.
      You can enable flash encryption using the ESP-IDF framework. This feature ensures that all data written to the flash is encrypted, and it can only be decrypted by the ESP32 itself.
      To use flash encryption, you need to configure it during the initial programming phase. Note that it can impact performance slightly due to the encryption and decryption processes.
      2. Secure Boot
      Secure Boot is another security feature provided by the ESP32. It prevents unauthorized code from running on the device.
      With Secure Boot enabled, the ESP32 verifies the integrity of the firmware using a digital signature before executing it. This prevents anyone from modifying or uploading unauthorized code to the device.
      To enable Secure Boot, you will need to use the ESP-IDF framework, as it is not available through the Arduino IDE.
      3. One-Time Programmable (OTP) Memory
      ESP32 has OTP memory, which is used to store keys and other security data that cannot be changed once programmed. You can use this to store a unique identifier or encryption key that ties the firmware to a specific device.
      You can also set certain bits in the OTP memory to enable security features permanently, such as flash encryption or secure boot, making the device much more difficult to reprogram.
      4. Disabling the JTAG Interface
      The ESP32 includes a JTAG debugging interface, which can be a security risk if left enabled. Disabling the JTAG interface prevents anyone from accessing the chip for debugging or code extraction.
      You can disable JTAG using software commands or by burning a specific OTP bit to permanently disable it.
      5. Firmware Update with OTA (Over-the-Air)
      Instead of programming the ESP32 through USB each time, you can set up Over-the-Air (OTA) updates, which can be password-protected.
      This allows you to control when and how firmware updates happen without exposing the device's flash memory.
      6. Preventing Multiple Flash Writes
      While the ESP32 does not natively support a "write-once" feature, you can simulate it by setting a flag in flash memory after the initial upload.
      For example, during the first-time setup, your code can write a unique flag to a specific flash sector that the bootloader checks on each startup. If the flag is present, the bootloader can prevent further reprogramming attempts.
      Combining these techniques, especially Flash Encryption and Secure Boot, will make it considerably more challenging for anyone to clone or tamper with your code on the ESP32. Keep in mind, however, that while these steps will increase security, there is no method that can provide absolute protection.

  • @santoshmagicshop
    @santoshmagicshop Рік тому +1

    piz esp8266 se ek video bna do bhai samjh nhi aarha hai kesie kre esptool nhi so krta hai
    C:\Users\santosh\AppData\Local\Arduino15\packages\esp8266\tools\python3 likhta hai kaise kre

    • @AhmadLogs
      @AhmadLogs  Рік тому

      esptool to aik hi hota hy.

    • @santoshmagicshop
      @santoshmagicshop Рік тому

      @@AhmadLogs mera computer me search karne par esptool nhi aarha hai esliye bol rhe ha aap esp8266 ka video bna do aap piz

    • @AhmadLogs
      @AhmadLogs  Рік тому

      @@santoshmagicshop OK, I will try

  • @hfchanel620
    @hfchanel620 Рік тому +1

    Give me a way to contact, brother, I want to contact

  • @santoshmagicshop
    @santoshmagicshop Рік тому

    btao bhai keise kre

  • @sivashankar5500
    @sivashankar5500 5 місяців тому

    Error: argument size: invalid arg_auto_int value: '0*400000,
    Reply me

  • @СарварМуратбеков
    @СарварМуратбеков 4 місяці тому

    how to open esp8266 bin file on computer

  • @R4YTUBE
    @R4YTUBE 11 місяців тому

    You need (Ghidra) software reverse engineering (SRE) to open firmware.bin file ;-)

  • @santoshmagicshop
    @santoshmagicshop Рік тому +1

    esp 8266 ka copy kr ke video bna do bhai mujhe bhut jarurt hai

  • @shakerileiwat4341
    @shakerileiwat4341 Рік тому

    Great 👍👍👍

  • @CevdetBakan
    @CevdetBakan 11 місяців тому

    Thanks a lot

  • @Hasan-dk2hp
    @Hasan-dk2hp 27 днів тому

    Give your extracted bin file 🎉❤

  • @SayWhaaaaaaaaaaaaaaaaaaaaaaat
    @SayWhaaaaaaaaaaaaaaaaaaaaaaat 2 місяці тому

    NOBODY USES SUCH OLD ARDUINO IDE NO MORE

  • @Eva_01-y6q
    @Eva_01-y6q Рік тому +1

    Bro can you help me with a project, How to contact you ?

  • @agenpulsa70
    @agenpulsa70 Рік тому

    Thank you

  • @ПерсеяПегаса
    @ПерсеяПегаса Рік тому

    thanks bro

  • @electrik77
    @electrik77 9 місяців тому

    Genial!

  • @zyghom
    @zyghom Рік тому +2

    I hate this AI voice ;-(

    • @AhmadLogs
      @AhmadLogs  Рік тому +2

      so nice of you

    • @j.w.8663
      @j.w.8663 Рік тому

      @@AhmadLogs Your English grammar, syntax and logical explanation is excellent !

  • @كيفالكترونيات
    @كيفالكترونيات Рік тому +1

    جميل جدا وفكره رائعة انت انسان مبدع ولكن هل لي ان اطلبك طلب لدي بعض المشاريع واريد منك مساعدتي هل يمكن ان اتحدث معك بالخاص ولك ان تطلب ما تشاء مني

    • @كيفالكترونيات
      @كيفالكترونيات Рік тому +1

      I want you to make a video with sim800l module that forwards text messages to a specific number is this possible like sms forwarder app

    • @AhmadLogs
      @AhmadLogs  Рік тому +2

      it is possible. give me some more detail.

    • @كيفالكترونيات
      @كيفالكترونيات Рік тому

      @@AhmadLogs It accepts the Arabic language and is almost like the sms forwarder application

  • @AbdulRehman_Pirogrammer01
    @AbdulRehman_Pirogrammer01 Рік тому +1

    sir apse mujhe 1 urgent help chaiye please apni email send krden ap please sir urgent ...!