I was using an ESP8285 for a project that I started a little bit ago. I had let the project sit for awhile and had lost the documentation including the source code. Is there a way to pull the code out like as a hex file and upload it to a new ESP8285 module that I have?

  • 3
    \$\begingroup\$ You might be able to "clone" it, but the source code is gone, so you'll never be able to finish the project. Check carefully for misplaced files, otherwise you should probably start again; having a sense of the right path from your past experience will make that more efficient than the first time around. \$\endgroup\$ Aug 18 '20 at 2:59
  • 1
    \$\begingroup\$ Would esptool be able to do something like this? \$\endgroup\$
    – XDM
    Aug 18 '20 at 3:27
  • 1
    \$\begingroup\$ Sorry for your loss. Learn from this unfortunate experience by adding git to your skill set. All Code is Temporary - programmers.stackexchange.com/a/251029/110633 \$\endgroup\$
    – MarkU
    Aug 18 '20 at 4:23
  • 1
    \$\begingroup\$ @tlfong01 Lots of good material in your comments - it would be appreciated if you can turn them into an answer - even not much more than copy and paste would be more useful than leaving the material in comments, which are often transient. \$\endgroup\$
    – Russell McMahon
    Aug 18 '20 at 6:55
  • 1
    \$\begingroup\$ @tlfong01 Comment lifetime is variable. A moderator may move all comments to chat if there become too many - as happens. And for whatever reason some are deleted. I lean towards retaining them in all except special cases. (Rude, irrelevant, spam , ...) Also, people searching answers fora problem are liable to skip over comments - or just look at answers per se. Overall the way the site is designed makes answers more accessible and more permanent. \$\endgroup\$
    – Russell McMahon
    Aug 18 '20 at 7:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.