Go Down

Topic: I want to copy the written program on "arduino due" to another "arduino due" (Read 251 times) previous topic - next topic

narmolak

I have a problem
I have an "arduino due" device which was working perfectly, but I have updated my program and unfortunately it's not working any more.
Now my problem is I want to copy the written program on "arduino due" to another "arduino due" device
Is it possible?
If yes, what is the way?

Thankful

spycatcher2k

Use the backup you saved of the working code! You DO backup your working code, and save a new version when you make changes?  :o

I don't know of any way to transfer from DUE to DUE!
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

ard_newbie

I have an "arduino due" device which was working perfectly, but I have updated my program and unfortunately it's not working any more.

Now my problem is I want to copy the written program on "arduino due" to another "arduino due" device
Is it possible?

What is the logical link between "I have updated my program and unfortunately it's not working any more." and
"Now my problem is I want to copy the written program on "arduino due" to another "arduino due" device" ?


There is a possibility to copy a binary prog from an arduino DUE flash memory to your PC, then copy this binary file from the PC to another arduino DUE.

spycatcher2k

Quote
There is a possibility to copy a binary prog from an arduino DUE flash memory to your PC, then copy this binary file from the PC to another arduino DUE.
Please show your evidence that this can be done!
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

ard_newbie

Use bossac.exe spycatcher2k !

To read a .bin file inside the DUE:

AppData\Local\Arduino15\packages\arduino\tools\bossac\1.6.1-arduino\bossac.exe --port=COM9 -r image.bin


To upload to the DUE  a .bin file:

AppData\Local\Arduino15\packages\arduino\tools\bossac\1.6.1-arduino\bossac.exe --port=COM9  -e -w -b  image.bin


Of course, the COM port number depends on your PC.

spycatcher2k

Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

Go Up