grazie mille per l'esempio di programma!
Modificando qualche impostazione nel programma WinPic penso di essere riuscito a cancellare il contenuto del Pic, quando cerco di leggerlo mi dice:
Reading PIC FAILED (maybe blank).
Ho messo il programma in un file .asm in MPLAB che ho compilato e mi ha creato il file.HEX, tale file l'ho caricato nel WinPic ma quando cerco di programmare il pic mi dice:
Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x00001B
Verify Error: 000000: read 003FFF, wanted 002808
Verify Error: 000008: read 003FFF, wanted 001683
Verify Error: 000009: read 003FFF, wanted 003000
Verify Error: 00000A: read 003FFF, wanted 000086
Verify Error: 00000B: read 003FFF, wanted 000085
Verify Error: 00000C: read 003FFF, wanted 001283
Verify Error: 00000D: read 003FFF, wanted 003000
Verify Error: 00000E: read 003FFF, wanted 000086
Verify Error: 00000F: read 003FFF, wanted 002013
Verify Error: 000010: read 003FFF, wanted 000A86
Verify Error: 000011: read 003FFF, wanted 000A86
Verify Error: 000012: read 003FFF, wanted 00280F
Verify Error: 000013: read 003FFF, wanted 0030FF
Verify Error: 000014: read 003FFF, wanted 00008D
Verify Error: 000015: read 003FFF, wanted 0030FF
Verify Error: 000016: read 003FFF, wanted 00008C
Verify Error: 000017: read 003FFF, wanted 000B8C
Programming aborted after 17 errors.
Suspicious: Buffer contains no data for the CONFIGURATION BITS.
Programming CONFIG-WORD
ERROR: Programming FAILED !
Ho caricato i file .DEV nella cartella devices di WinPic, i bit sono configurati così:OSC=RC , WDT=On , PUT = Off , CP = Off. Ho impostato il programmatore su JDM programmer for serial port su COM1 e alimentato esternamente.
Da che cosa può dipendere l'errore?
ciao e grazie per la disponibilità che state dimostrando![]()