UK_Sonics
Newbie level 3
I have written an encrypted boot loader for the PIC that relies on a hardcoded serial number stored on the bootloader as the decryption key.
I need to program many PIC devices with the bootloader and increment the hardcoded serial number every time (by modifying certain locations in the hex file and recalculating the CRC).
I would like to make the programming as automated as possible, i.e. one program that increments the serial number, calculates the crc and programs the device. To do this I need a programmer that has either a facility to increment certain flash location, a public API to the programmer or a programmer that has the software in source format so I can modify.
I am currently using Olimex ICD2 debugger/programmer and would prefer to carry on using this for production however I am open to suggestions.
Many thanks
John
I need to program many PIC devices with the bootloader and increment the hardcoded serial number every time (by modifying certain locations in the hex file and recalculating the CRC).
I would like to make the programming as automated as possible, i.e. one program that increments the serial number, calculates the crc and programs the device. To do this I need a programmer that has either a facility to increment certain flash location, a public API to the programmer or a programmer that has the software in source format so I can modify.
I am currently using Olimex ICD2 debugger/programmer and would prefer to carry on using this for production however I am open to suggestions.
Many thanks
John