Go Down

Topic: Download hex file from DUE (Read 632 times) previous topic - next topic

Joaqks

Hi all!

I know hot to download hex file from Arduino using avrdude (in my case I use sublimetext with stino, and this functionallity is included), but it doesn't work with DUE. Is there any way to download hex file from Arduino DUE?

I really need it, because I have lost my source code, and I want to have a copy of it.

mani3kxc

#1
Nov 05, 2018, 02:10 pm Last Edit: Nov 05, 2018, 02:11 pm by mani3kxc
Hi!

Did you try bossac tool? It's usually in this directory:
C:\Users\[your username]\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.6.1-arduino\bossac.exe

Try this command on your Due BOSSA PROGRAMMING PORT (USB Native):

C:\Users\[your username]\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.6.1-arduino\bossac.exe --port=COMXX -r image.bin

It downloads whole Flash into image.bin

Good luck!

Go Up