2013年12月6日 星期五

OTP

OTP(manual P.97)


  • 總共528 bytes
    • The OTP area contains 16 additional bytes used to lock the corresponding OTP
      data block.
    • 512 OTP (one-time programmable) bytes for user data
    • 16個block,每個block有32bytes(總共512bytes)
    • 1個OTP lock block(16bytes)
  • OTP lock block
    • 有16 bytes LOCKBi (0 ≤ i ≤ 15)分別控制相對應的16個block
  • OTP data和lock block都不可被erase
  • Memory Mapping
    • datasheet 69頁 System memory + OTP
  • Mass Erase does not affect the OTP sector or the configuration sector.
  • wiki3.3的部分Perform the data write operation(s) to the desired memory address (inside main memory block or OTP area):
  • The OTP area is not affected by mass erase and remains unchanged. Mass erase is performed only when Level 1 is active and Level 0 requested. When the protection level is increased (0->1, 1->2, 0->2) there is no mass erase.(p.93)
  • Each OTP data block can be programmed until the value 0x00 is programmed in the corresponding OTP lock byte. The lock bytes must only contain 0x00 and 0xFF values, otherwise the OTP bytes might not be taken into account correctly.

沒有留言:

張貼留言