You can check out HEXMATE from Hi-Tech. It can be downloaded from Hi-Tech Forum free of charge. Please refer to one of my previous post for the URL. Regards, Xiaofan -----Original Message----- From: Bob Axtell [mailto:engineer@cotse.net] Sent: Thursday, October 06, 2005 1:46 PM To: Microcontroller discussion list - Public. Subject: [PIC] Hex File Serial # Installer program ?? Anybody have a Win32 Program that will install a serial number into a Hex file directly (before being presented to the programmer) ? In years past I wrote a program to serialize Z180 serial numbers. It operated by overwriting several hex file bytes with the serial number, then corrected the checksum of that hex file packet. But the source for that one has been lost, and it was DOS5 pascal anyway... Anybody have anything? I could write it myself, but don't have the time...Its for PIC, installing 8 RETLW 0x?? values as a 16-digit serial#. --Bob -----Original Message----- From: Chen Xiao Fan Sent: Wednesday, August 24, 2005 1:53 PM To: 'Microcontroller discussion list - Public.' Subject: RE: [EE] Combined bootloader hex file and the application hex file I went to Hitech forum and downloaded version 1.76 of Hexmate. It is exactly what I want. By the way, the Hitech 09/2005 newsletter is just on my desk. I find out that it did mention the Hexmate. Thanks, Brent. The URL is here. You may need to register to get access to it. http://www.htsoft.com/forum/all/showflat.php/Cat/0/Number/12986/page//fpart/ 1/vc/1 Regards, Xiaofan >From the forum: Typical applications for Hexmate might include: 1) merging a bootloader or debug module into a main application at build time 2) calculating a checksum over a range of program memory and storing its value in program memory or EEPROM 3) Filling unused memory locations with an instruction to send the PC to a known location if it gets lost. 4) Storage of a serial number at a fixed address. 5) Storage of a string (eg. time stamp) at a fixed address. 6) Store initial values at a particular memory address (eg. initialise EEPROM) 7) Detect usage of a buggy instruction (eg. LFSR in PIC18C452). ----Original Message----- From: Brent Brown Sent: Wednesday, August 24, 2005 9:55 AM If you use Hi-Tech C, then you may be aware their recent customer newsletter mentions the Hexmate command line utility: It's free (to existing customers at least) and they aim to include it with all their future compilers. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist