Hello all, I have built a 'Tate Classic' parallel port programmer and I am trying to programe a PIC16F84A under linux using Pikdev. The hex file is generated ok but when I try to load the code into the chip I get Warning: [Prog memory] (addr = 0x0) .... Warning: [Prog memory] (addr = 0xf) If I further try to modify the fuses (either through the hex file or through the ide) I further get a fuses message Warning: [Config fuses] (addr = 0x2007) I have confirmed that the correct voltage is going through the circuit using a voltmeter. The code (I have included it at the end of the message) is straight forward and I do not think the problem is there. I strongly suspect that either: (1) I have damaged the pic (2) The programmer is not working correctly Are there any further steps that I could take to verify that the programmer and/or pic is operating correctly, before I fry another pic! Thank you for your help Spyridon ------------------------- The following is the code that I am trying to load into the pic (modified from the pic tutorial by Mike Stracey - http://www.mstracey.btinternet.co.uk/pictutorial/picmain.htm) include p16f84a.inc ;*****Set up the Constants**** COUNT1 equ 08h ;First counter for our delay loops COUNT2 equ 09h ;Second counter for our delay loops org 0 ;****Set up the port**** bsf STATUS,5 ;Switch to Bank 1 movlw 00h ;Set the Port A pins movwf TRISA ;to output. bcf STATUS,5 ;Switch back to Bank 0 movlw 02h ; set w register with 02h value ;****Turn the LED on**** Start call PulseLed call Delay ;****Now go back to the start of the program goto Start ;go back to Start and turn LED on again ;************************** PulseLed xorwf PORTA,1 ;Toggle the LED call Delay ;Add a delay return ;************************** ;****Delay Subroutine Delay Loop1 decfsz COUNT1,1 ;This second loop keeps the LED goto Loop1 ;turned off long enough for us to decfsz COUNT2,1 ;see it turned off goto Loop1 ; return end ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads