LED_ASAP
Enlightened
I bought a CPF logger lite kit quite a while ago. When I finally got around and assembled the kit, I found out the PIC in the kit was not programmed /ubbthreads/images/graemlins/icon3.gif I have never done a PIC programming before. After a long reading on the internet and several nights in my work shop, I built my very first PIC programmer--- Feng's RCD Programmer. I connected the cable and launched WinPIC.
Things didn't look too bad at first---the red LED lit up and WinPIC recognized the chip as 12F675. But all the good signs ended up there---the data were all 3FFF's, including the very last OSCAL value /ubbthreads/images/graemlins/confused.gif
I tried to load and burn the cpf-logger-lite-pic.hex file but didn't succeed. Here is the message I got:
Loaded translation file "C:\PROGRAM FILES\PIC\WINPIC\translation_french.txt" .
Info: Loading definitions for "PIC12F675" from devices.ini .
Info: 12F675 ProgSpec does not mention a DEVICE ID at 0x2006 ?!
Initialising PIC-Programmer: Success.
Testing: delay(500ms) took 0.49 seconds, timer_freq=1.1932 MHz ... ok
Results from LoadHex: LastProgAdr=0x02E2 LastDataAdr=0x2170
PIC- SelectVddNorm failed
Applied edits in CODE-MEMORY-dump.
Programming...
Erasing ("bulk" or "chip") ...
Erase: Read osccal, result 0x3FFF
Oscillator calibration word looks bad (0x3FFF) !
Erase: Read cfg with bandgap ref, result 0x3FFF
Erasing chip using algorithm "12Fxx" .
Programming CODE
Warning: using default OSC CALIB word instead of 0x0C80 .
Programming 0x0000..0x03FF, algo="12Fxx", CanRead=0 .
Verifying 0x0000..0x03FF
Verify Error: 0000: read 3FFF, wanted 3000
Verify Error: 0001: read 3FFF, wanted 008A
Verify Error: 0002: read 3FFF, wanted 283C
Verify Error: 0003: read 3FFF, wanted 0000
More Verify Errors, unable to list all (total=740)
Programming DATA EEPROM
Programming 0x2100..0x2170, algo="DATA_EEPROM_16xxx", CanRead=0 .
Verifying 0x2100..0x2170
Verify Error: 2100: read 3FFF, wanted 0000
Verify Error: 2101: read 3FFF, wanted 0000
Verify Error: 2110: read 3FFF, wanted 0043
Verify Error: 2111: read 3FFF, wanted 0050
More Verify Errors, unable to list all (total=83)
Programming CONFIG-MEMORY
Programming 0x2000..0x2003, algo="CONFIG_MEM_16xxx", CanRead=0 .
Verifying 0x2000..0x2003
Programming CONFIG-WORD
Config word = 0x3984; Config mask = 0x31FF
Programming 0x2007..0x2007, algo="CONFIG_MEM_16xxx", CanRead=0 .
Verifying 0x2007..0x2007
Verify Error: 2007: read 3FFF, wanted 3984
ERROR: Programming FAILED !
Oscillator calibration word looks bad (0x3FFF) !
Reading PIC FAILED (maybe blank).
Could someone with more PIC programming experience give me some hint on what's going on and how to fix it?
Will I distory the PIC if something I have done is wrong?
Things didn't look too bad at first---the red LED lit up and WinPIC recognized the chip as 12F675. But all the good signs ended up there---the data were all 3FFF's, including the very last OSCAL value /ubbthreads/images/graemlins/confused.gif
I tried to load and burn the cpf-logger-lite-pic.hex file but didn't succeed. Here is the message I got:
Loaded translation file "C:\PROGRAM FILES\PIC\WINPIC\translation_french.txt" .
Info: Loading definitions for "PIC12F675" from devices.ini .
Info: 12F675 ProgSpec does not mention a DEVICE ID at 0x2006 ?!
Initialising PIC-Programmer: Success.
Testing: delay(500ms) took 0.49 seconds, timer_freq=1.1932 MHz ... ok
Results from LoadHex: LastProgAdr=0x02E2 LastDataAdr=0x2170
PIC- SelectVddNorm failed
Applied edits in CODE-MEMORY-dump.
Programming...
Erasing ("bulk" or "chip") ...
Erase: Read osccal, result 0x3FFF
Oscillator calibration word looks bad (0x3FFF) !
Erase: Read cfg with bandgap ref, result 0x3FFF
Erasing chip using algorithm "12Fxx" .
Programming CODE
Warning: using default OSC CALIB word instead of 0x0C80 .
Programming 0x0000..0x03FF, algo="12Fxx", CanRead=0 .
Verifying 0x0000..0x03FF
Verify Error: 0000: read 3FFF, wanted 3000
Verify Error: 0001: read 3FFF, wanted 008A
Verify Error: 0002: read 3FFF, wanted 283C
Verify Error: 0003: read 3FFF, wanted 0000
More Verify Errors, unable to list all (total=740)
Programming DATA EEPROM
Programming 0x2100..0x2170, algo="DATA_EEPROM_16xxx", CanRead=0 .
Verifying 0x2100..0x2170
Verify Error: 2100: read 3FFF, wanted 0000
Verify Error: 2101: read 3FFF, wanted 0000
Verify Error: 2110: read 3FFF, wanted 0043
Verify Error: 2111: read 3FFF, wanted 0050
More Verify Errors, unable to list all (total=83)
Programming CONFIG-MEMORY
Programming 0x2000..0x2003, algo="CONFIG_MEM_16xxx", CanRead=0 .
Verifying 0x2000..0x2003
Programming CONFIG-WORD
Config word = 0x3984; Config mask = 0x31FF
Programming 0x2007..0x2007, algo="CONFIG_MEM_16xxx", CanRead=0 .
Verifying 0x2007..0x2007
Verify Error: 2007: read 3FFF, wanted 3984
ERROR: Programming FAILED !
Oscillator calibration word looks bad (0x3FFF) !
Reading PIC FAILED (maybe blank).
Could someone with more PIC programming experience give me some hint on what's going on and how to fix it?
Will I distory the PIC if something I have done is wrong?