How do I translate a fuse address into bank and word so I can read it with fuse read <bank> <word> [<cnt>] command from uboot? Is there a document explaining the conversion?
Hello Eugene Ivanov,
Here you can find a readme of the API:
You do not mention which processor you are using, but you may find the OTP memory map on the Reference Manual of the processor. In there you can see which bank and world are tied to each configuration.
There is not a guide per se, but I hope this helps!
it also confuse me， the link you give above is describe how to use fuse cmd in u-boot， but do not parse how do I translate a fuse address into bank and word.
eg. in Table 5-9. Fusemap Descriptions
and i don't know which bank and word is relate to Fuse Address 0x430？
Hi changbao ma,
Offset 0x430 or Fuse Address 0x430 is mapped to OCOTP_CFG2 register which is OTP Bank 0, word 3. You can check in section 35.5.14 of i.MX6UL Reference manual attached herewith.
This you can verify with the offset 0x400 or fuse address 0x400 which relates to OCOTP_LOCK register OTP Bank 0, word 0.
Hope this will clear the confusion.
Thank you very much, Shivani
I get it now. Fuse Address is the Offset address.
So Fuse Address 430h equl to Address: 21B_C000h base + 430h offset = 21B_C430h
Glad to know that your confusion is cleared.
So, if my post answers your question then please mark it as a Correct Answer to help other users accessing it easily.
Retrieving data ...