I try found how to use bits 15-31 from program code but only in datasheet say user usage.
How many times may be reprogram this bits?
How code i need?
Use security register bits 15-31 as EEPROM
-
- Experienced Member
- Posts: 123
- Joined: Fri Jul 05, 2013 5:55 pm
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
You can program it once only as far as I know.
-
- Experienced Member
- Posts: 123
- Joined: Fri Jul 05, 2013 5:55 pm
Xburn provides two writes when OTP enabled with XTAG for debug, then i mean multiple writes is possible from code in any time.
But how ?
But how ?
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
With OTP memory you can only write one state of a bit (blowing fuses).
Say the unwritten state is 1 and we can only write zeros then we have for example
Initial: 1111
Write1: 1110
Write2: 0110
Write3: 0000
write4: 1111
Say the unwritten state is 1 and we can only write zeros then we have for example
Initial: 1111
Write1: 1110
Write2: 0110
Write3: 0000
-
- Experienced Member
- Posts: 123
- Joined: Fri Jul 05, 2013 5:55 pm
Is security register part of OTP???
I mean NO.
I mean NO.
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
Yes, the security register is loaded from the OTP array.