Go Down

Topic: error burning 328 bootloader with NKC MaxSerial (Read 1 time) previous topic - next topic

JustinHoMi

Mar 22, 2009, 11:43 pm Last Edit: Mar 22, 2009, 11:45 pm by JustinHoMi Reason: 1
I have a MaxSerial 2.0 from NKC, which originally had a 168 in it. I just bought a 328 from Sparkfun, and am trying to burn the bootloader. In the past I've had no trouble burning the 168 bootloader with my parallel programmer, but for whatever reason it's not working with the 328. I'm getting the following error:

Code: [Select]
avrdude: verification error, first mismatch at byte 0x7800
0x0c != 0xff

avrdude: verification error; content mismatch


I've tried v13 and 14 of the IDE.

The process I go through to burn is:

1. Connect parallel programmer between PC and arduino
2. Plug power into arduino
3. Select the 328 board in Tools:Board
4. Select Burn Bootloader w/ Parallel Programmer

It pauses for several seconds, then displays the error.

Any ideas?

bHogan

#1
Mar 23, 2009, 03:49 am Last Edit: Mar 23, 2009, 03:50 am by BroHogan Reason: 1
Humm, it should work. Just so you know it's doable, I used a BoArduino + parallel + PC + IDE REL0013 + Sparkfun 328 and burnt 3 bootloaders with no problem.

So what's different?
Re your process - I always power the chip before I connect to the port - FWIW.
Did you try re-burning a 168 as a test? Good chance your known good setup isn't for some reason. Is the PC (?) your using now the same one that burned the 168s?
I'm not an expert, but that error looks like your just not talking to the chip. Chip plugged in OK?
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

bohne

avrdude verifies the content after the upload process. And there was an error.
There are a few possibilities:
1. your atmega is damaged, or at least the flash memory. Reading or Writing failed. Try another chip.
2. your programmer produced the error. Try another ISP programmer
3. problems with your parallel port? Try another PC.
4. wrong hex file? Which version did you use?

JustinHoMi

Well... I took BroHogan's advice and plugged in power before I plugged in the programmer, and it worked! I did this with IDE 13.

bHogan

Interesting! I'm glad I noted that seemingly small difference.
So at this point it appears that success with a parallel programmer is dependent upon when power is applied to the target board.  :o
I'll have to try and confirm this. Thanks for getting back.
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

Go Up