dmitri wrote:If PIC is not driving this pin when connected over a cable to a PC the voltage there can be anything between 0 and ~5V.
Info: Loading definitions for "PIC18F2550" from C:\Program Files\WinPic\devices.ini .
Info: Support for some newer PIC18F devices added by Martin v.d. Werff 2005
Parsed "C:\Program Files\MPLAB\MPLAB IDE\Device\PIC18F2550.dev" : found 113 bit combinations in 39 configuration bit groups .
PIC18F: family='21'=4550, WriteLatch=32 bytes, EraseLatch=64 bytes .
Initialising PIC-Programmer: Success.
Testing: delay(500ms) took 0.50 seconds, timer_freq=2994.9600 MHz ... ok
Results from LoadHex: LastProgAdr=0x001692 LastDataAdr=0xEFFFFF (C:\Downloads\PIC18F2550_USB_4_8_12_16_20MHz\pic18f2550usb_12MHz.hex)
Programming...
Erasing ("bulk" or "chip") ...
Erasing chip using algorithm "PIC18F" .
Programming CODE, 0x000000..0x001692
Verifying CODE, 0x000000..0x001692
Verifying 0x000000..0x001692
Verify Error: 000000: read 00FFFF, wanted 00EF30, mask 00FFFF ==> diff=0010CF
Verify Error: 000002: read 00FFFF, wanted 00F00B, mask 00FFFF ==> diff=000FF4
Verify Error: 000004: read 00FFFF, wanted 000012, mask 00FFFF ==> diff=00FFED
Verify Error: 000006: read 00FFFF, wanted 000012, mask 00FFFF ==> diff=00FFED
More Verify Errors, unable to list all (total=2890)
Programming CONFIG, 0x300000..0x30000C
Verifying CONFIG, 0x300000..0x30000C
Verifying 0x300000..0x30000C
Verify Error: 300000: read 00FFFF, wanted 000E22, mask 00CF3F ==> diff=00C11D
Verify Error: 300002: read 00FFFF, wanted 001E3F, mask 001F3F ==> diff=000100
Verify Error: 300004: read 00FFFF, wanted 0081FF, mask 008700 ==> diff=000600
Verify Error: 300006: read 00FFFF, wanted 00FF85, mask 0000E5 ==> diff=000060
ERROR: Programming FAILED !
Users browsing this forum: No registered users and 77 guests