How do you program the OTP_KEY and OTP_BMODE memory locations in the OTP Memory Space? Can I do it through Flash Programming API or can I do it with a pointer. I am trying to program this region to configure the bootloader for a CAN Boot.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How do you program the OTP_KEY and OTP_BMODE memory locations in the OTP Memory Space? Can I do it through Flash Programming API or can I do it with a pointer. I am trying to program this region to configure the bootloader for a CAN Boot.
Jack,
You will need to call the Flash Programming API; the operation will be the same as if you were programming a traditional flash address in terms of what you provide into the function call. No distinction between the main array and the OTP is needed for this or the verify operation.
The only difference here with OTP is that you will not be able to invoke the erase function in the API on that address range since it is OTP.
Both the flash and the OTP come in an erased state from TI, so only the program is needed in this case.
Best,
Matthew