Part Number: TMS570LC4357
Have some questions I can't find the answer to here, in the reference manual or datasheet (which are both VERY light on details!)
So found the example here:
In there the code is run from RAM - I guess this because it seems the the OTP actually resides in flash (bank 0 or 1), and you can't write to the same bank you're reading from? Unlike FEE in bank7, where you can execute the writing code from bank 0 or 1.
I understand the first 16 bytes (0xF0000000-0xF000000F) are reserved for AJSM. So must avoid writing here.
One thing I'm most unclear on, is if you can write to the 4Kbyte OTP bank multiple times? So for instance write 8 bytes at 0xF0000010, then at a later time 8 bytes at 0xF0000020?
And can you overwrite something you alread wrote to, to 'clear it'? For example overwrite the 8 bytes written at 0xF0000010 with 0's (so change any 1's to 0's). I suspect though this would mess up the ECC?
Thanks!





