2015-06-12 12:48 AM
Hej
can anyone tell me how to read from OTP. If possible put some sample code.Thank you ..2015-06-12 12:53 AM
It's plainly memory-mapped, as the vast majority of other resources in these chips, due to the huge address space... So either you learn how to map variables (linker script stuff), or you resort to the low-level *(type_you_want *)(address_you_want).
JW2015-06-12 01:07 AM
hej JW,
i can follow the second step. i would like to programming steps that i need to follow. can u put some sample code for that. i have written the program that write uint32_t(word)at a time . now i want to read word at a time ....can anyone help me ?2015-06-12 01:21 AM
printf(''%u'', *(uint32_t*)(0x1fff7810))
2015-06-12 06:24 AM
Cast a pointer to the structure at the address of the OTP, and access the structure via that point. Some basic C
2015-06-15 12:33 AM
thank you for both of you :)