Skip to main content
Associate III
November 14, 2017
Question

Batch unique ID programming

  • November 14, 2017
  • 3 replies
  • 747 views
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

    This topic has been closed for replies.

    3 replies

    Senior III
    November 14, 2017
    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.

    privenAuthor
    Associate III
    November 14, 2017
    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

    Tesla DeLorean
    Guru
    November 14, 2017
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..