Hello,
I have three questions regarding the OTP header of the device. For background, we have devices that have already been OTP programmed (both the OTP Image section and the OTP header section).
1. It is my understanding that devices that have been OTP'd can change bits from nonzero to zero. Is this in fact possible, and if so, how does one connect to a device that has already been one-time-programmed?
2. In the OTP header section, when memory addresses 0x47FD4 and 0x47FD8 (BD address) are set to 0x00000000 and 0x00000000 respectively, the device advertises with BD address 80:EA:CA:00:00:01. Where does this number come from?
To summarize, we programmed several devices with the default 0x00000000 in memory addresses 0x47FD4 and 0x47FD8, which resulted in every device advertising with BD address 80:EA:CA:00:00:01. This results in conflicts during advertising. Is there any way for us to change the BD address of our devices now that they have been OTP'd?
Best,
Ian
Hi ian.adam,
1)如果你有烧品ation flags that means that you have disabled the booting sequence, in order to boot from directly from OTP. So the uart programming through smart snippets is out. Also if you have burned the OTP field "JTAG enable flag" you have also cut the access to the OTP through the JTAG. So if you burned those two OTP fields there is no way to access the OTP and reburn your image or the OTP header, this is a safety measure the 580 implements.
2) This bd address is from the NVDS structure, the NVDS structure is populated either via the OTP or the firmware, so the fw checks if the device unique id field of the OTP zero it chooses to populate the bd address via the NVDS structure, and 80:EA:CA:00:00:01 is the default bd address used in our firmware (this value can be found in the CFG_NVDS_TAG_BD_ADDRESS in the da1458x_config_advanced).
A solution to your problem would be to burn the Device unique id in the OTP header, but that suggests that your JTAG enable flag is still enabled, i dont think that you left the application flags unburned since you are booting from OTP.
Thanks MT_dialog