garfieldpiclist@HEINS.XS4ALL.NL wrote: > When using a hexfile with the configuration bits in it all works great but > when I am using my own build > hex file (mplab 6.3 and cc5c) the configuration bits are not in there and > it will... not work. Sounds to me that you 'forgot' something in you program. I'm using the CC5X compiler (assuming what you mean). When you don't specify the proper #pragma config -statements, the compiler doesn't generate config bits in the hex file. If you want you could check some of the PIC programs on my homepage. Regards, Rob. -- Rob Hamerling, Vianen, NL phone +31-347-322822 homepage: http://www.robh.nl/ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.