Content originally posted in LPCWare by giusloq on Fri Dec 11 02:56:08 MST 2015
Quote:
We do not consider speed to be an issue (no measurements were made) as this is a one-off operation.
If your market is low-volume high-profit, this is right. When you work with high-volume and low-profit devices, a fast programming procedure means money.
Quote:
'Patch in' simply means the a defiined address of the download image (set to all FF's in the source code)
is overwritten with a 'value' before the download process begins.
Now I understand, you use Flash to store serial number, not EEPROM. It is a good solution.
Do you use any tool to 'patch' the download image file (I think you use output .bin)?
Quote:
I had a small assembler module to define the value (as 0xFFFFFFFF) and used the linker script
to place it at a defined location.
Read the docs if that is unclear.
I understand the method you use, but I don't know how to make it. Please, could you share your assembler and linker script? Thank you.