7 posts / 0 new
Last post
Bean
Offline
Last seen:3 years 6 months ago
加入:2014-07-24 08:51
About the OTP Header

Hi, Dialog!

I have a product, it has a DA14580 and a SPI Flash.
Now I want to do that:
第一步,把MAC地址和the XTAL16Mhz trim value into the OTP header but not enable the application flag 1 and 2.

The second step, burn my firmware into the SPI Flash.

Is there any problem with me doing this?

Thank you!

Device:
MT_dialog
Offline
Last seen:2 months 2 days ago
Staff
加入:2015-06-08 11:34
Hi Bean,

Hi Bean,

The application flags are serving a booting sequence purpose, the primary bootloader will check those flags in order to boot either from the OTP or to start the scanning sequence. If you want just to use the fields from the OTP header you dont have to burn the Application flags.

Thanks MT_dialog

Bean
Offline
Last seen:3 years 6 months ago
加入:2014-07-24 08:51
Hi, MT_dialog!

Hi, MT_dialog!
Thanks for your reply!

Yes. I am not going to burn the Application flags.

Your mean is that my above plan is feasible ? I will scan the device by the android App or the IOS App, right ?

Thank you!

MT_dialog
Offline
Last seen:2 months 2 days ago
Staff
加入:2015-06-08 11:34
Hi Bean,

Hi Bean,

Yes, you can burn the OTP Header fields without burning the OTP image holder area, and you should be able to boot from your SPI and use those values in the OTP fields.

Thanks MT_dialog

Bean
Offline
Last seen:3 years 6 months ago
加入:2014-07-24 08:51
Hi, MT_dialog!

Hi, MT_dialog!
Ok, thank you!
but I have one questions about header, as the attachment:

if I use the DA14580_Production_Line_Tool_v_3.170.2.36, is my setting right for header ?

Although I have read the document, but I still do not know how to use the tool to burn only the otp header.

Attachment:
Bean
Offline
Last seen:3 years 6 months ago
加入:2014-07-24 08:51
Hi, MT_dialog!

Hi, MT_dialog!
I have successfully burn a MAC address into the otp header:
|11:18:30:545 | DUT_FW_DOWNLOAD_STARTED | STARTED | Firmware [G:\Sulong_BurnTool\DA14580_Production_Line_Tool_v_3.170.2.36
\DA14580_Production_Line_Tool_v_3.170.2.36\executables\binaries\flash_programmer.bin] download
started.
|11:18:32:197 | DUT_FW_DOWNLOAD_OK | PASS | Firmware [G:\Sulong_BurnTool\DA14580_Production_Line_Tool_v_3.170.2.36\DA14580_Production_Line_Tool_v_3.170.2.
36\executables\binaries\flash_programmer.bin] downloaded OK.
|11:18:32:258 | DUT_OTP_HEAD_BURN_STARTED | STARTED |OTP header programming started.
|11:18:32:299 | DUT_MEM_BURN_SUCCESS | PASS |Memory programming ended OK.

Now my next question is to burn the flash firmware. I have read the UM-B-041 document, do not find a very detailed description about it.
Can you help me ?

Thank you!

MT_dialog
Offline
Last seen:2 months 2 days ago
Staff
加入:2015-06-08 11:34
Hi Bean,

Hi Bean,

You should go to the MEMORY FUNCTIONS on the PLT software and choose the SPI tab, from there you can erase, select your binary, and different kinds of settings regarding the SPI burning procedure, by hitting the save you can save the configuration and then go back to execute, select the program checkbox and then hit the start button in order for the program to burn your flash.

Thanks MT_dialog

Topic locked