Batch unique ID programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-14 4:19 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-14 4:26 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-14 5:33 AM
Thanks, I will look into J-flash and ST-link CLI.
I need to write several parameters into flash not only SN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-14 5:52 AM
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.
Up vote any posts that you find helpful, it shows what's working..
