I can't program pic18f2550

Discussions related to MegaDrum Hardware

I can't program pic18f2550

Postby lshutt » Wed Jul 02, 2008 6:14 pm

In winpic says that could not initialize programmer. what should i do?

Info: Loading definitions for "PIC18F2550" from C:\Arquivos de programas\WinPic\devices.ini .
Info: Support for some newer PIC18F devices added by Martin v.d. Werff 2005
Couldn't find "devices\PIC18F2550.dev", please borrow/copy from MPLAB !
PIC18F: family='21'=4550, WriteLatch=32 bytes, EraseLatch=64 bytes .
Failed read back of DATA line (LOW) !
WARNING: Could not initialize programmer !
Testing: delay(500ms) took 0.50 seconds, timer_freq=3.5795 MHz ... ok
Info: Loading definitions for "PIC18F2550" from C:\Arquivos de programas\WinPic\devices.ini .
Info: Support for some newer PIC18F devices added by Martin v.d. Werff 2005
Couldn't find "devices\PIC18F2550.dev", please borrow/copy from MPLAB !
PIC18F: family='21'=4550, WriteLatch=32 bytes, EraseLatch=64 bytes .
Failed read back of DATA line (LOW) !
WARNING: Could not initialize programmer !
Failed read back of DATA line (LOW) !
WARNING: Could not initialize programmer !
Failed read back of DATA line (LOW) !
WARNING: Could not initialize programmer !
Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x001862
Verifying CODE, 0x000000..0x001862
Verifying 0x000000..0x001862
Programming CONFIG, 0x300000..0x30000C
Verifying CONFIG, 0x300000..0x30000C
Verifying 0x300000..0x30000C
Verify Error: 300004: read 008000, wanted 0080FF, mask 00FFFF ==> diff=0000FF
Verify Error: 300006: read 000085, wanted 00FF85, mask 00FFFF ==> diff=00FF00
ERROR: Programming FAILED !
lshutt
 
Posts: 22
Joined: Mon May 12, 2008 8:20 pm

Re: I can't program pic18f2550

Postby dmitri » Wed Jul 02, 2008 8:32 pm

Was PIC18F2550 powered up from USB when you tried to program it?
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: I can't program pic18f2550

Postby lshutt » Thu Jul 03, 2008 4:16 am

Yes i connected the usb cable
lshutt
 
Posts: 22
Joined: Mon May 12, 2008 8:20 pm

Re: I can't program pic18f2550

Postby dmitri » Thu Jul 03, 2008 9:06 am

Than double (triple) check your ICSP cable, correct pinouts, short circuits, and your board - again short circuits, continuity, correct resistors and capacitors values.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm


Return to MegaDrum Hardware

Who is online

Users browsing this forum: Bing [Bot] and 83 guests