Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => AVRDude => Topic started by: lauramojave on September 19, 2013, 09:42:22 pm

Title: backing up and restoring
Post by: lauramojave on September 19, 2013, 09:42:22 pm
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.



Thanks!