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.

[AVR] Can't program atmega328p and device signature always chanching

Status
Not open for further replies.

Ricardo_Electropepper

Member level 3
Member level 3
Joined
Mar 18, 2014
Messages
59
Helped
4
Reputation
8
Reaction score
4
Trophy points
8
www.electropepper.org
Activity points
407
Hello guys,

I was here medling with a just bought new atmega328p chip,

and all was going well, then i read the High fuse = 0x07, and in my infinite wisdown i decided to turn off the WDTON,

so i send the command : avrdude -p atmega328p -c buspirate -P /dev/ttyUSB0 -U hfuse:w:0x17:m

So now i can't program it at all, and when i try to put back the fuse like it was before with the -F flag i get :

Attempting to initiate BusPirate binary mode...
avrdude: initialization failed, rc=-2
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x58b463
avrdude: Expected signature for ATmega328P is 1E 95 0F

avrdude done. Thank you.



Furthermore when i insist several times i notice that the Device signature is always changing to similar values,

My question now is, did i damaged the chip just by disabling the WDTON fuse ?

If i did how can i recover it ?
 

You might try using different baud rates using the -b option. The device signature changing may show that there is a serial baud rate mismatch corruptin data.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top