Just to follow up on Tjarrt's note: >get the fuses right. I think you have to start the programmer up before >you compile the software. Yes, if you have a __CONFIG Line in the assembler code, this information will be loaded into the PSP from MPLAB IFF the PSP is enabled BEFORE assembly. Enabling the PSP before assembly will ensure that the various configuration fuses will be set according to __CONFIG. If you enable the PSP AFTER assembly, the fuses will stay at a default value. myke "My ancestors didn't spend millions of years clawing their way to the top of the food chain, just so I could become a vegetarian"