I would like to be able to program the one time programmable (OTP) bytes of the stm32f401 in addition to its flash memory using Jlink commander or jflash by supplying a single hex image. The OTP bytes of the stm32f401 are in the 0x1fff7800-0x1fff7a10 range. Is this possible? I have tried multiple times with Jlink commander but when I read back the OTP memory it is untouched. We have some serial numbers stored in this range and for production purposes it would be nice to give the factory a single hex image containing both code and the serial data.
Thanks for your help!
Tom
Thanks for your help!
Tom