Skip to main content
Topic: backing up and restoring (Read 2072 times) previous topic - next topic

backing up and restoring

Hi there,
I want to backup the flash contents of some AVRs, I've found an AVRDUDE commant that has worked on other people.

$(AVRDUDE) $(PROGRAMMER) -p $(DEVICE) -U flash:r:flashdump.hex:i

I have used this but I receive this message. Can someone help me out?

avrdude -p m32u4 -c avrispmkII -e
avrdude: ser_open(): can't open device "unknown": No such file or directory

avrdude done.  Thank you.

The first one that I used was this

student$ avrdude avrispmkII -p m32u4 -U flash:r:flashdump.hex:i

avrdude: no programmer has been specified on the command line or the config file
        Specify a programmer using the -c option and try again

but as it said there was no specified programmer so I'm a little lost.