So I developed some custom code for a customer about 2 years ago and shipped the board/module out to him. Somehow or another I lost the code. He wants another board but I don’t have that code I wrote. His Photon module is still alive and well. Is there any way to pull firmware out of a Photon module so I don’t have to write it again from scratch?
I know, Put it in a repo stupid! What an idiot lol.
Thank you @bko
Can you explain a bit more? When you say clone what exactly do you mean? Would I need to have both modules connected to the computer at the same time and then would run some DFU command to clone? What would the DFU-UTIL command be?
Hey @bko
So I just got the module back from the customer. I guess it’s been longer than I thought on this project, turns out the module was a Spark Core, not a Photon.
So…do the dfu-util arguments change if I need to pull the code out of a Spark Core? Also is there any feasible way to put that into a Photon module or do I have to use Spark Cores? I did not use any cloud functionality on the project, System mode was set to manual(or WiFI was just disabled, can’t remember how that worked on Core now).