Learn MoreFAQsTutorials

4 posts / 0 new
Last post
imaizumi.k
Offline
Last seen:1 week 3 hours ago
加入:2018-06-22 01:18
About OTP Header

Hello Dialog support team,

我可以写OTP头两次吗?
For example, first time I write Application flag 1&2 to enable(OTP). Other setting values are not changed.
And second time I write JTAG enable flag to Disable.

Is it possible?
I want to try it, but I am afraid that one device will be unusable.

Best Regards,
Katsutoshi Imaizumi

Device:
PM_Dialog
Offline
Last seen:1 day 13 hours ago
Staff
加入:2018-02-08 11:03
Hi imaizumi.k,

Hi imaizumi.k,

OTP stands for One Time Programmable, thus you can’t erase and re-write the OTP multiple times, but you can only flip the bits that are still set to 0 and turn them to 1. So you can change the JTAG enable flag as you described in you thread, but since you configure it as 1, you will NOT be able to change it again.

Thanks, PM_Dialog

imaizumi.k
Offline
Last seen:1 week 3 hours ago
加入:2018-06-22 01:18
Hello PM_Dialog,

Hello PM_Dialog,

Thank you for quick response.
I have one DA14580 daughter board only, but I have some DA14585 board.
So I used DA14580 board for test.

I tried to write Application flag to 'YES' in DA14585 chip in OTP header tab, and I pressed 'burn' button.
After that, I closed application , and I pressed reset button on eva-board.
I tried to restart application and press 'connect' button in OTP header tab.
But I could not connect 585 board.
I attach an error log below.
=========================================================
[INFO General @18-09-12 10:53:00] Could not measure total IR len. TDO is constant high.
[INFO General @18-09-12 10:53:00] Found SWD-DP with ID 0x0BB11477
[ERROR General @18-09-12 10:53:00] Could not power up debug port: Control/Status register reads 0BB11477
[INFO General @18-09-12 10:53:00] Found SWD-DP with ID 0x0BB11477
[ERROR General @18-09-12 10:53:00] Could not power up debug port: Control/Status register reads FFFFFFFF
[INFO General @18-09-12 10:53:00] Could not measure total IR len. TDO is constant high.
[ERROR General @18-09-12 10:53:00] Could not read memory address 0x50003200 with function JLINKARM_ReadMemHW
[ERROR General @18-09-12 10:53:00] No known chip found while opening JLink connection. Terminating proccess...
[ERROR OTP Header @18-09-12 10:53:00] Failed downloading firmware file to the board.
=========================================================

I have some question.
1) Why can not I connect with the 585 board?
JTAG enable bit is no changed (=Enable) in OTP header.
2) If I change anything other than Application flag, can not I connect to the board?
3) Does the 580 board have the same result as 585 board?

Best Regards,
Katsutoshi Imaizumi

PM_Dialog
Offline
Last seen:1 day 13 hours ago
Staff
加入:2018-02-08 11:03
Hi imaizumi.k,

Hi imaizumi.k,

Sorry but I am a little bit confused, so could you please clarify in which chip did you burn the Application flag into the OTP header? But if you didn’t disable the JTAG flag, you should get connected with you board. Since you burnt the Application flag, you are not able to connect to the OTP header? Could you explain what you are trying to accomplish? Is this an end product? Also, could you please clarify your third question? As I am able to understand, you want to burn the OTP and boot from their? Did I understand correctly? Be aware that DA14585 and DA14580 have different booting procedure.

Thanks, PM_Dialog