Go Down

Topic: How to find the Last program loaded in Arduino ATMEGA328p (Read 1 time) previous topic - next topic

techra


dxw00d

Quote
MY QUESTION IS THAT
whether we can see the program loaded in the ATMEGA 328P on the pc


I believe it is possible, using avrdude, to retrieve the binary code that is currently on the atmega. In theory, you could compile your possible sketches, then compare the binary files produced by the compiler to the one retrieved from the atmega. The sketch source code is not stored on the atmega.

techra

If u uploaded a program now, and did not upload any new program after switching your arduino ON , the same program should still be their on the ON-chip memory,as its non-volatile and you can test it by checking your output...but i dont think u can retrieve the program once you upload any new program,as it does not save the sketches.

Go Up