Programming PIC

Discussions related to MegaDrum Hardware

Programming PIC

Postby moraes » Sat Feb 05, 2011 2:12 pm

Hello

I've just finished soldering everything on my megadrum, but i'm having some trouble to do the programming. I built it with PIC18F2450, instead of 18F2550. When i use WinPic to program it, it says the "Programming Fail". I used the firmware which i can find on the forum. Also, the crystals I have are for 12MHz and 16MHz. The version I built is 32 inputs.

This was the programming error:
"Info: Loading definitions for "PIC18F2450" from C:\Arquivos de programas\WinPic\devices.ini .
Info: PIC18F2450, added and tested by Nam Nguyen-Quang, 2006-06-03
Couldn't find "devices\PIC18F2450.dev", please borrow/copy from MPLAB !
PIC18F: family='20'=4580, WriteLatch=16 bytes, EraseLatch=64 bytes .
Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x001692
Verifying CODE, 0x000000..0x001692
Verifying 0x000000..0x001692
Verify Error: 000000: read 000000, wanted 00EF30, mask 00FFFF ==> diff=00EF30
Verify Error: 000002: read 000000, wanted 00F00B, mask 00FFFF ==> diff=00F00B
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=2875)
Programming CONFIG, 0x300000..0x30000C
Verifying CONFIG, 0x300000..0x30000C
Verifying 0x300000..0x30000C
Verify Error: 300000: read 000000, wanted 000E23, mask 00FFFF ==> diff=000E23
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 003F85, mask 00FFFF ==> diff=003F85
More Verify Errors, unable to list all (total=7)
ERROR: Programming FAILED !"

Can somebody help me out please? thanks
moraes
 
Posts: 2
Joined: Wed Oct 06, 2010 7:39 pm

Re: Programming PIC

Postby moraes » Sat Feb 05, 2011 3:24 pm

I've found the firmware for 2450, but now it shows this error:
"Info: Loading definitions for "PIC18F2450" from C:\Arquivos de programas\WinPic\devices.ini .
Info: PIC18F2450, added and tested by Nam Nguyen-Quang, 2006-06-03
Couldn't find "devices\PIC18F2450.dev", please borrow/copy from MPLAB !
PIC18F: family='20'=4580, WriteLatch=16 bytes, EraseLatch=64 bytes .
Failed read back of DATA line (HIGH) !
WARNING: Could not initialize programmer !
Testing: delay(500ms) took 0.50 seconds, timer_freq=2399.9900 MHz ... ok
PIC- SelectVddNorm failed"
moraes
 
Posts: 2
Joined: Wed Oct 06, 2010 7:39 pm

Re: Programming PIC

Postby dmitri » Sun Feb 06, 2011 1:10 am

I hope this will help: http://www.google.co.uk/#sclient=psy&hl ... &oq=&pbx=1
I should note that I myself have not managed to program PIC18F2450 using the ICSP programming cable and WinPic otherwise I would be suggesting using it instead of PIC18F2550 since it is cheaper.
dmitri
Site Admin
 
Posts: 8718
Joined: Fri Aug 03, 2007 8:05 pm


Return to MegaDrum Hardware

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 538 guests