Can't program the new promini's with bus pirate

Status
Not open for further replies.

Build-A-Burger

Full Member level 1
Joined
Oct 27, 2010
Messages
95
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Wyoming
Activity points
2,101
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:
Code:
sudo avrdude -c buspirate -C avrdude.conf +atmega328p.conf -P /dev/ttyUSB0 -p m328p $1 $2 $3
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:
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.
Then I tried it with the -F option:
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
Do I need another conf file? Is this a 328 instead of a 328P?
 

Hi,

There are several ATmega238 types, like -P and -PB.

Be sure you have the correct chip. What exactly is printed on your chip?

Klaus
 

It says Atmel MEGA328P - there was some other text under it but I couldn't make it out even under bright light with my magnifiers. I'll check the ebay listing where I bought it.
--- Updated ---

I just checked the ebay listing and it says:
100% Brand New
- High quality board shipped from USA
- 14 Digital input and output ports (TX, RS ....)
- TTL level serial tranceiver port RX/TX
- 6 PWM ports, D3, D5, D6, D9, D10, D11
- Uses Atmel Atmega 168p microcontroller
- Supports serial download
- Support for external 5v-12v DC power supply
- Support 9V Battery Powered operation
- Clock frequency 16 Mhz
- Size: 33.3 x 18.0 (mm)
--- Updated ---

All I want to do is drive some DS1620's. I have some Pro Micro's. I may just see if there are any Arduino libs for the DS1620''s and use the Arduino IDE as much as I hate it.
 
Last edited:

Hi,

You can't rely on ebay informations.

I can't find about ID 0xC087E1 ... maybe you got a fake device.

Klaus
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…