Build-A-Burger
Full Member level 1
A few years back before they started calling the Atmega328p an 'arduino' I had several which I programmed with a bus pirate and never had a problem.
I used avrdude with this command:
Here's the cheat sheet I always worked from:
I dug out one of the old one's I had and checked the wireing and tried the command to view flash and eeprom and it worked great.
But the new one gives this:
Then I tried it with the -F option:
Do I need another conf file? Is this a 328 instead of a 328P?
I used avrdude with this command:
Code:
sudo avrdude -c buspirate -C avrdude.conf +atmega328p.conf -P /dev/ttyUSB0 -p m328p $1 $2 $3
I dug out one of the old one's I had and checked the wireing and tried the command to view flash and eeprom and it worked great.
But the new one gives this:
Code:
./run-avrdude -t
Attempting to initiate BusPirate binary mode...
avrdude: Paged flash write enabled.
avrdude: initialization failed, rc=-2
Double check connections and try again, or use -F to override this check.
Code:
./run-avrdude -F
Attempting to initiate BusPirate binary mode...
avrdude: Paged flash write enabled.
avrdude: initialization failed, rc=-2
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0xc087e1
avrdude: Expected signature for ATmega328P is 1E 95 0F