Hi, actually you could flash the bootloader, then bootload your program. Subsequently use your ICD2 to read off the whole program memory. However the downside is that the file will be quite large so you could hand edit out the empty portions once production is confirmed. --- Richard Prosser wrote: > Can't you just copy & paste with Notepad etc. ? > You may hve to delete the first line of one hex file > & the last of the > other. I've done it with Atmel & M16 hexfiles so > don't think PICs > would be different - unless the programmer requires > a contiguous > address map. > > RP > > On 24/08/05, Chen Xiao Fan > wrote: > > 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 > Send instant messages to your online friends http://asia.messenger.yahoo.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist