> The config bytes are stored at address outside the flash > address range, are these stored in the hex file... Yes, if the development tool put them there, which is kind of "normal"... > and if so does MPLAB do this for you... Yes, if you ask kindly :-) > or do you have to > add the config bytes to your assembler code and then > it gets added to the hex that way. You specify the config bits using the "__CONFIG" assembler directive. MPASM (which is called from MPLAB of course) will then put the config data at the correct address in the HEX file. The actual address used is depending on which PIC you are targeting (as you specified in the source code). Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist