Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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:
promin cheat sheet.JPG

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
spacebar01.jpg
- High quality board shipped from USA
spacebar01.jpg
- 14 Digital input and output ports (TX, RS ....)
spacebar01.jpg
- TTL level serial tranceiver port RX/TX
spacebar01.jpg
- 6 PWM ports, D3, D5, D6, D9, D10, D11
spacebar01.jpg
- Uses Atmel Atmega 168p microcontroller
spacebar01.jpg
- Supports serial download
spacebar01.jpg
- Support for external 5v-12v DC power supply
spacebar01.jpg
- Support 9V Battery Powered operation
spacebar01.jpg
- Clock frequency 16 Mhz
spacebar01.jpg
- 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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top