Genereal Programming Failure

Discussions of any related software

Moderator: Related software moderators

Genereal Programming Failure

Postby blume » Wed Apr 13, 2011 1:19 pm

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!!
blume
 
Posts: 2
Joined: Mon Apr 11, 2011 8:55 am

Re: Genereal Programming Failure

Postby kupooglop » Wed Apr 13, 2011 2:01 pm

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...
kupooglop
 
Posts: 116
Joined: Wed Aug 25, 2010 10:33 pm

Re: Genereal Programming Failure

Postby blume » Thu Apr 14, 2011 7:28 am

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".
blume
 
Posts: 2
Joined: Mon Apr 11, 2011 8:55 am

Re: Genereal Programming Failure

Postby dmitri » Thu Apr 14, 2011 9:11 am

You need an Atmega with the protected bootloader to be able to load MegaDrum firmware.
dmitri
Site Admin
 
Posts: 8710
Joined: Fri Aug 03, 2007 8:05 pm


Return to Related Software

Who is online

Users browsing this forum: Google [Bot] and 71 guests