We are looking to add a serial number to flash memory of each MKL03Z32xxx4 device on the manufacturing line and to read out the unique 80-bit ID so that we can create our own lookup table between the two pieces of information.
To do so, I _think_ I need to use the redlinkserv command line utility and a custom connecting script. But I don't know for sure and I'm not familiar with the script language. Could someone suggest what I would need to do to:
1) Read out the 80-bit UID and print it out to the console
2) Take a command line parameter and write that 32-bit value to address 0x77FC (where the flash variable has been put in memory)?
Or maybe I'm way off. What I'm trying to do is programatically do those two things so I can integrate into our manufacturing line and automate this process. If there is a better way to do it then I'd love to hear it. I am trying to stay away from having custom software running to support this, though that isn't out of the question (just seems like it shouldn't be necessary).
Thank you very much, I appreciate any help...