Page 1 of 6

Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 5:25 pm
by ignotus
Hi

I went to try out the new firmware, and now I've got a fragmented display and random behaviour. Right after flashing it -write successful -, it kind of works for a short while, but then goes haywire and stops working at all.
The thing is, I had the iscp cable plugged in for a short time before plugging in the usb - could this have fried the atmega?

I feel pretty dumb at the moment.

Any ideas are appreciated.

Cheers!

Re: Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 5:39 pm
by dmitri
Can you verify the firmware?
Can you re-flash it?

Re: Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 5:40 pm
by ignotus
Yep, verify in ponyprog says 'OK' and I can reflash it... everything seems alright...

Re: Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 5:44 pm
by dmitri
Can you re-flash it with a firmware you had in it before?

Re: Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 5:48 pm
by ignotus
That's one of myreasons for feeling dumb - I formatted my PC recently and the old .HEX file got erased... you wouldn't happen to have a previous release yourself, or anyone else?

Re: Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 5:51 pm
by dmitri
Is this the version you had before?

Re: Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 5:57 pm
by ignotus
Yes, it's the one, but I get the same results... I think the atmega is damaged.

Re: Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 6:03 pm
by dmitri
I see three ways to find the problem.

1. Test you Atmega chip in another board.
2. Test another Atmega chip in your board.
3. Check all connections, wires. Test for short circuits. This one is a hard way.

Re: Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 6:05 pm
by dmitri
For the future - bootloader is a safest way (electrically) to update firmware.

Re: Could I have fried the atmega?

PostPosted: Fri Apr 04, 2008 6:22 pm
by ignotus
Just tested with an atmega16 you once wrote firmware for me to try out, and the same... aarrrgghh! looks like I'll have to go the hard way... I'd better go get a magnifying glass...

Thanks for the help!