Minimum Power Off Time Before OTP Reloading

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
zheshen
Offline
Last seen:1 year 7 months ago
Joined:2015-08-11 20:01
Minimum Power Off Time Before OTP Reloading

Hi Dialog,

Suppose a 14581 is running and then is cycle powered. What is the minimum duration of power down so that when power up the firmware will be reloaded from OTP rather than the previously loaded code already in RAM ?

Thanks

Device:
MT_dialog
Offline
Last seen:1 month 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi zheshen,

Hi zheshen,

You will be able to find that particular booting time in the UM-B-012 in paragraph 9.4.2 on figure 7, the figure is measuring from power up to the first advertising event using the proximity reporter fw burned in the OTP. Is that what you are looking for ? In case you are asking how long the device should be out of power in order for the device to be forced to boot from OTP, there is a value for that, as soon as the device loses power the booting procedure will take place upon power up and it wil go through the entire procedure and re-mirror the OTP into the sysram, which is the safe thing to do, its not about the memory retaining the data for a specific amount of time, its about powering down and up the entire system.

Thanks MT_dialog

zheshen
Offline
Last seen:1 year 7 months ago
Joined:2015-08-11 20:01
I am asking for the latter

I am asking for the latter case - how long the device should be out of power to ensure a forced boot from OTP and would like to know the minimum time duration if there is one.

Thanks,

zheshen
Offline
Last seen:1 year 7 months ago
Joined:2015-08-11 20:01
I have couple of more

I have couple of more questions along the same line:

(1) If I cycle power Dialog for the minimum time as above and then hold reset line high for 20 us as suggested, this would force a boot from OTP right ?

(2) If yes, would I expect the retention RAM to be scrambled after boot-up ?

(3) If I force a boot from OTP without cycle power (either due to reset or hold the reset line high), would I expect the retention RAM content be saved ?

Thanks,

MT_dialog
Offline
Last seen:1 month 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi zheshen,

Hi zheshen,

  • Yes, if you reset the board, this will force the device to boot from OTP.
  • 是的,在功率自行车,内容啊f the retram are undefined.
  • Regarding the retram after reset, you can't be certain about the contents of the retram after a reset, they will most probably retain the data with no corruption, but the SDK will zero out the data upon starting up, via code running in the SystemInit() function (there is a loop that zero's out the data), if you would like those data to be retained, you can reserve an amount of data from the scatterfile and mark it as uninit and also exclude that portion from the loop that zero's out the data (and also add somekind of magic number or crc in order to be sure that the data have'nt been corrupted).

Thanks MT_dialog