Page 1 of 1

Genereal Programming Failure

PostPosted: Wed Apr 13, 2011 1:19 pm
by blume
I have 2 problems with each µC. With the ATMEGA 32 I can't write the .hex file with the command line via the MIDI (-->USB) interface onto it. Nearly the same problem with the PIC 18F2550.

WinPic error:
[size]
Code: Select all
Programming...
Erasing ("bulk" or "chip") ...
Erasing chip using algorithm "PIC18F" .
Programming CODE, 0x000000..0x001BE4
Verifying CODE, 0x000000..0x001BE4
Verifying 0x000000..0x001BE4
Verify Error: 000000: read 000000, wanted 00EFE0, mask 00FFFF  ==> diff=00EFE0
Verify Error: 000002: read 000000, wanted 00F00D, mask 00FFFF  ==> diff=00F00D
Verify Error: 000004: read 000000, wanted 000012, mask 00FFFF  ==> diff=000012
Verify Error: 000006: read 000000, wanted 000012, mask 00FFFF  ==> diff=000012
More Verify Errors, unable to list all (total=3556)
Programming CONFIG, 0x300000..0x30000C
Verifying CONFIG, 0x300000..0x30000C
Verifying 0x300000..0x30000C
Verify Error: 300000: read 000000, wanted 000E22, mask 00FFFF  ==> diff=000E22
Verify Error: 300002: read 000000, wanted 001E3F, mask 00FFFF  ==> diff=001E3F
Verify Error: 300004: read 000000, wanted 0081FF, mask 00FFFF  ==> diff=0081FF
Verify Error: 300006: read 000000, wanted 00FF85, mask 00FFFF  ==> diff=00FF85
More Verify Errors, unable to list all (total=7)
ERROR: Programming FAILED !
[/size]
And the command line if I program the ATMEGA says everytime 0% for transmitting and at the very end CRC error... -.-

I would be glad if you can help me!!

Re: Genereal Programming Failure

PostPosted: Wed Apr 13, 2011 2:01 pm
by kupooglop
First of all, you can't program atmega until you program pic first. Second, you need to give more details about your setup. Any number of problems would cause the data that you provided in your screen shot. I will assume you have a diy digital/analog board setup. What are you using to program pic, which pic firmware, which pic program, do you have correct device files for your pic? etc...

Re: Genereal Programming Failure

PostPosted: Thu Apr 14, 2011 7:28 am
by blume
news:
yesterday i managed to programm the PIC 18F2550...
Now my ATMEGA 32 will be ready to programmed. But any mdfupdate software which is provided seems that it doesn't work. In the command line version I always get the CRC error which normally means that this file is damaged.
My ATMEGA 32 has a frequency about 16 MHz. The PIC 12 MHz.
The .bin file which I use is the "megadrum32_16_20110330.bin".

Re: Genereal Programming Failure

PostPosted: Thu Apr 14, 2011 9:11 am
by dmitri
You need an Atmega with the protected bootloader to be able to load MegaDrum firmware.