Hi,
Is there a way to extract the firmware code that has been flashed to a Particle device? I don’t want to know how to do it - I merely want to know if it is possible. The reason I am asking is that I might be distributing devices for a particular purpose and I don’t want people to read the code and tamper with it.
Simply put yes. You have to assume there’s a way to extract the firmware with a debugger or other tool, unless the microcontroller manufacturer has provided you with a way to secure the firmware. That’s a common requirement in automotive systems for example.
Note that extracting the firmware would only show the binary executable code (assembly), not the C source code.
There are no military grade secrets that would require a high end hacker. I am more concerned about, as you said, easy access to source code and plagiarism.