logo elektroda
logo elektroda
X
logo elektroda

[Solved] Reading flash content from ESP8266 board - project data recovery

elektrofil 2586 36
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #31 20321542
    elektrofil
    Level 18  
    Thank you very much, it works but in a strange way, namely only after a fresh connection, if it flashes the transmission LED, it never connects again afterwards until it is unplugged and plugged in again.
  • ADVERTISEMENT
  • #32 20321563
    raks0
    Level 30  
    You have the wrong syntax why do you add python at the beginning? And you don't need to go into the python311 folder.
    You open cmd and just type
    esptool.py -p PORT -b 115200 read_flash 0 0x100000 flash_contents.bin
    .
    and not
    python esptool.py -p PORT -b 115200 read_flash 0 0x100000 flash_contents.bin
    .

    And this MkESP Tool now recognises esp8266?
  • ADVERTISEMENT
  • #33 20321611
    elektrofil
    Level 18  
    And yes and no, it only recognises it partially, i.e. when I insert it into the usb for a moment before starting the program, but it still gives an error.

    Reading flash content from ESP8266 board - project data recovery .
  • ADVERTISEMENT
  • #34 20321626
    raks0
    Level 30  
    In the picture it detected COM6 and at the bottom in read/write flash you have COM1 set
  • #35 20321662
    elektrofil
    Level 18  
    I didn't change it because the reading doesn't work anyway.
  • ADVERTISEMENT
  • #37 20324708
    elektrofil
    Level 18  
    Thank you for the hint, but I do not know how to use it. Any tips welcome. (Just Python is new to me).
    Already out of date, found the exe file.
    Even maupa would handle it, thank you very much.

Topic summary

The discussion revolves around recovering flash content from an ESP8266 board after the user lost the project source code. The primary method suggested for reading the flash is using the esptool.py command-line utility, specifically the command `esptool.py -p PORT -b 460800 read_flash 0 0x100000 flash_contents.bin`. Users encountered issues with port detection and baud rate settings, with recommendations to ensure correct COM port usage and to connect GPIO0 to GND for flash mode. The conversation also touched on installing Python and esptool, troubleshooting detection problems, and using alternative tools like Tasmotizer for backup. The user ultimately managed to read the flash but faced connectivity issues requiring a fresh connection each time.
Summary generated by the language model.
ADVERTISEMENT