This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Generating multiple versions of the same firmware?

Hi,

i have a rather daunting problem. We want to deploy our firmware in over 300 devices. All devices use the same firmware except for one variable DeviceID. The id has to be different for every device we use.

So device 1 would get id 1, device 2 id 2 and so on.

I am sure that some of you have already tackled such problems. What would be the best solution?

Maybe set the variable to a specific location (DeviceID _at_ Location) and patch the hexfile? or something more elegant?

regards

Christian

Parents
  • Hi

    I am Assuming that you are going to program the chips with a programmer or Boot loader.

    You should be able to add a record to the Hex file. It is very easy to create a record in Intel Hex. Just make sure you mark that location reseved in the compiler. The write a seperate program to add the proper record to each file. Make sure it is before the "Last Record" Record in the hex file.

Reply
  • Hi

    I am Assuming that you are going to program the chips with a programmer or Boot loader.

    You should be able to add a record to the Hex file. It is very easy to create a record in Intel Hex. Just make sure you mark that location reseved in the compiler. The write a seperate program to add the proper record to each file. Make sure it is before the "Last Record" Record in the hex file.

Children
No data