I encountered a similar problem with the Peatman (18F452) board. Apparently the ICD2 has the ability to load registers as well as program storage. This is essential to the Peatman code. Since I don't have an ICD2, it was necessary for me to order another preloaded chip. This may be the problem you are experiencing. BTW, I got into the jam by inadvertently trying to write to a string constant with Microchip C. The Peatman board/book/info is documented at picbook.com. John Ferrell http://DixieNC.US ----- Original Message ----- From: "Chen Xiao Fan" To: "Microcontroller Discussion List - Public. (E-mail)" Sent: Tuesday, August 23, 2005 8:08 PM Subject: [EE] Combined bootloader hex file and the application hex file > Hi all, > > During playing with PICDEM FS USB and PICkit 2, sometimes I > will mess up the bootloader. Therefore I need to re-flash > the bootloader (using an ICD2 normally). And then I can > use the bootloader application to download the application > hex. > > I want to combine the bootloader hex and the application > hex just like what Microchip does in PICDEM FS USB > (C:\MCHPFSUSB\fw\_factory_hex) and PICKit 2 > (PICkit2_Ver_101_Combined.hex in the CD). It is easy for them > to produce the demo board. > > Are there any utilities out there which can do this? Thanks > in advance for any suggestions. > > Regards, > Xiaofan > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist