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以完成此操作?
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.
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.
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?
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
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) ?
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.
Yamazaki-san,
是的,你可以从JTAG OTP更新。在这种情况下,please enable JTAG flag in OTP header.
谢谢,
对话支持团队
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?
Yamazaki-san,
Currentr SmartSnippets不支持从JTAG中支持来自JTAG的UTP的功能。它将在未来的SmartSnippet中实施。
谢谢,
Dialog Support
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以完成此操作?
嗨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
What is "disable the UART/SPI and I2C interface" means? Can I still get data from an I2C accelerometer?
Hi daniel59,
当然,您可以使用I2C接口,即我的同事意味着,如果刻录OTP中的应用程序标志,将禁用主引导序列(检查有效图像的SPI / UART / I2C过程以启动)。
Thanks MT_dialog
Hi MT_dialog,
Thanks for your reply.
因此,如果我已经刻录了应用程序标志,我可以更改十六进制文件的唯一方法是使用JTAG并刻录OTP内存?
And why there is 2 application flags? Do they have different usage?
Daniel
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
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
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
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
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
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.
Hello Reza.yazdani67,
you may refer to the AN-B-020 or OTP header in Smartsnippet tool
BR, MH_Dialog