So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By T-Orion
#81616 Is there a way to see and capture the code that was uploaded to a esp01 using Arduino IDE?

My Scenario, I uploaded a code to an ESP-01 a year ago and am not sure what code it was since I have several revisions. I need to know if there is any way to view the uploaded code to the micro controller?
User avatar
By Bonzo
#81624 It is probably possible but not easy. The code you write in the ide is compiled with the libraries etc. so you need some way to decompile it.

Out of interest I have problems keeping track of my programs as well - a tweek here and another there and all of a sudden it is not working and I do not have a working copy!
User avatar
By RichardS
#81625 Arduino IDE is poor for that...

Other IDE allow you to keep a constant snapshot of your code and you can view the history and changes as they occurred and you can go back to any snapshot at anytime....

Called Version Control.

The code that is currently on the ESP8266 is just a bunch of numbers that will not make sense to you.

RichardS
User avatar
By Sum~guy
#81669 Even if the code is compiled into a binary, being able to download that binary from the 8266 would enable you to know *which* binary it was - assuming you keep copies of compiled binaries. That way you should be able to match a particular binary with a particular source code. I don't know if the original question was - can you pull the binary out of an 8266, or (if you can?) - can you decompile it into the original source code.