hi , dialog
We want to store some data into OTP region of DA14681.
1. Can we write data to the OTP specific address , and erase the same specific address and then write it again for many times? If we can , how many erase/program cycles they have?
2. How to operate the OTP ? with SDK or some external program tools?
3.According to the datasheet , there is 64KB OTP in da14681. Is that mean we can erase/write any address between 0x7F80000~0x7F90000? And is there any specific region in OTP which stored some system important data that we can't erase?
Device:
Hi guxiang,
1. OTP stands for one time programmable, that means you can only program it one time and not multiple times. After the OTP is burned you can only turn the 0's to 1's
2. You can burn the OTP via the Smart Snippets tools, there is an OTP burner tool, but there is no implementation from the SDK side to read custom data from the OTP, the SDK uses only flash in order to read custom data.
3. As mentioned above the OTP stands for one time programmable, you can only burn it once, you can not erase it or re-write it. There is the OTP header where it is designed to hold important data for the system, trim values, configurations etc, but not customer specific data. And in general for code and data storage the flash is being used and not the OTP.
Thanks MT_dialog