Additional programming to OTP after setting a Application flag

16 posts / 0 new
Last post
Yamazaki
Offline
Last seen:4年5个月前
Joined:2014-01-08 06:00
Additional programming to OTP after setting a Application flag

Can we program to OTP after setting a application flag in OTP header?
We would like to know application of the patch to aftermarket products.

TA_Dialog
Offline
Last seen:4 months 1 week ago
Joined:2013-12-06 15:11
Yamazaki-san,

Yamazaki-san,
是的,你可以从JTAG OTP更新。在这种情况下,please enable JTAG flag in OTP header.
谢谢,
对话支持团队

Yamazaki
Offline
Last seen:4年5个月前
Joined:2014-01-08 06:00
Thank you for your quickly

Thank you for your quickly coment.

However, although OTP programmer (in SmartSnippets rev2.1) is not supporting JTAG I/F, how should we use OTP programmer with JTAG?

TA_Dialog
Offline
Last seen:4 months 1 week ago
Joined:2013-12-06 15:11
Yamazaki-san,

Yamazaki-san,
Currentr SmartSnippets不支持从JTAG中支持来自JTAG的UTP的功能。它将在未来的SmartSnippet中实施。
谢谢,
Dialog Support

jojo
Offline
Last seen:2 months 1 week ago
Joined:2014-01-29 14:02
If I want to lock the OTP

If I want to lock the OTP memory after programming so it can't be modified anymore, how do I do that? I want to make sure it can't be modified after it has been programmed.
我是否启用应用程序标志并禁用OTP标题中的JTAG以完成此操作?

TN_Dialog
Offline
Last seen:21小时14分钟前
Staff
Joined:2013-12-05 15:49
嗨Jojo.

嗨Jojo.

You are correct, if you set the application flag in the OTP header you will disable the UART/SPI adn I2C interface. If you at the same time disable the JTAG there is no interface active on the DA14580.

Regards

TN_Dialog

daniel59
Offline
Last seen:1年3个月前
Joined:2016-01-08 04:34
What is "disable the UART/SPI

What is "disable the UART/SPI and I2C interface" means? Can I still get data from an I2C accelerometer?

MT_dialog
Offline
Last seen:1 week 5 days ago
Staff
Joined:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

当然,您可以使用I2C接口,即我的同事意味着,如果刻录OTP中的应用程序标志,将禁用主引导序列(检查有效图像的SPI / UART / I2C过程以启动)。

Thanks MT_dialog

daniel59
Offline
Last seen:1年3个月前
Joined:2016-01-08 04:34
Hi MT_dialog,

Hi MT_dialog,

Thanks for your reply.

因此,如果我已经刻录了应用程序标志,我可以更改十六进制文件的唯一方法是使用JTAG并刻录OTP内存?

And why there is 2 application flags? Do they have different usage?

Daniel

MT_dialog
Offline
Last seen:1 week 5 days ago
Staff
Joined:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

Yes if you burn the application flags and you didnt disable the JTAG enable field in the OTP, you are not going to be able to boot via uart in order to burn the OTP and the only way is through JTAG. About the application flags they dont serve a different purpose they just indicate to the boot rom code that there is an application in the OTP. Both of them are read by the Boot ROM software when start executing.

Thanks MT_dialog

daniel59
Offline
Last seen:1年3个月前
Joined:2016-01-08 04:34
Hi MT_dialog,

Hi MT_dialog,

I tested that if i connect my board via UART, all the SmartSnippets function cannot work. I connect my board via JTAG, all the SmartSnippets function can work, is it correct?

And one more question, if I use 2V power, which pin should I use? VBAT1V or VBAT3V? or both is ok because DA14580 have DC-DC converter?

According to Table 266 in DA14580 datasheet, is it means that DA14580 recommanded working power is 1.41V?

Daniel

MT_dialog
Offline
Last seen:1 week 5 days ago
Staff
Joined:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

智能片段的功能,即Power Profiler问题依赖于您所使用的Dev套件,仅适用于Pro和Expert Dev套件的Power Profiler。

About the UART, in order to operate from uart (for downloading code, connect/burn/read OTP) the corresponding UART ports should be connected in the proper baud rate (every uart pin pair has a fixed baud rate). You can set the UART ports from the board setup option in smart snippets, then the ss will require to reset your board in order to download the appropriate program from read/burn the OTP or download your code via UART.

Regarding operating the 580 with 2V please follow the following link

http://support.dialog-semiconductor.com/operation-da14580-regulated-2v-s...

Thanks MT_dialog

daniel59
Offline
Last seen:1年3个月前
Joined:2016-01-08 04:34
Hi MT_dialog,

Hi MT_dialog,

Yes I know about the function of SmartSnippets. My question is that after I burn application flags,it only inactive the UART port, I can still use JTAG to use all the function?

I read the text in the link, so if I want to use OTP, the best power for DA14580 is 2.5V (according to Figure 10 in DA14580 datasheet) ?

Daniel

MT_dialog
Offline
Last seen:1 week 5 days ago
Staff
Joined:2015-06-08 11:34
Hi daniel59

Hi daniel59

If you burn the application flags you wont be able to download code through UART (Smart Snippets UART booting) or any other serial interface (SPI/I2C) since the bootloader is going to be disabled and booting is done only through the OTP. You are able to use the peripherals after the booting from OTP is done. But you can use the JTAG connection to donwload code, burn your flash, burn additional flags in OTP.

Regarding the OTP, the lowest safe voltage in order for the OTP to be read when the system boots up is about 2.5V and also provides a bit better efficiency of the dcdc converter.

Thanks MT_dialog

reza.yazdani67 (not verified)
Dear TN_Dialog

Dear TN_Dialog
Hi,
Excuse me for asking such a silly question!
Can you tell me where I can find the OTP header?
Thanks a lot.

MH_Dialog (not verified)
Hello Reza.yazdani67,

Hello Reza.yazdani67,

you may refer to the AN-B-020 or OTP header in Smartsnippet tool

BR, MH_Dialog