Thanks again Gerhard finally got it to work for me. _______________________________________ Roy Tauranga New Zealand _______________________________________ > - You need an MPLAB compatible programmer, like an ICD2. > - You activate the programmer in MPLAB (Programmer | Select Programmer | > ICD2) and make sure MPLAB talks to it (check the tabs in Programmer | > Settings). > - Set the chip type (Configure | Select Device). This is stored in a > workspace file, and you can create a workspace file with your chip already > pre-configured when you re-load it. > - Make sure the chip is connected to the programmer and that MPLAB can > talk > to the chip, like read the memory contents (Programmer | Read) or erase > it. > - Import your program into MPLAB (File | Import). > - If your hex file does not set the configuration bits (that depends on > the > compiler and whether you instructed the compiler to add configuration data > to its output), you need to do that manually in MPLAB (Configure | > Configuration Bits). I'm not sure where this gets stored (could be in the > workspace file, too, then you can save that also in a workspace file like > the chip type). > - Program the chip (Programmer | Program). > > Gerhard -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 28/07/2005 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist