cancel
Showing results for 
Search instead for 
Did you mean: 

Batch unique ID programming

priven
Associate II
Posted on November 14, 2017 at 13:19

Hi,

I have 100 units that I need to program with unique ID, SN... somewhere in the FLASH memory

What is the easiest way to do it?

Thx,

Michael

3 REPLIES 3
Kraal
Senior III
Posted on November 14, 2017 at 13:26

Hi,

Segger's J-Flash can do that automatically, you need to specify the Flash address and the ID start and range, and then it is incremented after each successful programming sequence.

I believe this could also be done with a ST-Link pod but with a bit of scripting to:

- insert an ID at a fix location inside the binary file then prog that file

- or prog the binary first, then write the ID at the wanted location in flash

I have never done something like this,but I believe that it could be done with a .bat file and the ST-Link CLI.

Posted on November 14, 2017 at 13:33

Thanks, I will look into J-flash and ST-link CLI.

I need to write several parameters into flash not only SN

Posted on November 14, 2017 at 14:52

The firmware itself can handle programming serial and calibration data into FLASH or OTP. We typically add test/configuration functionality into the devices, and a factory console mode.

You can integrate the writing into the production or final test stages, using/extending the methods you already use.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..