跳到主要内容

DA14585_COPY保护

DA14585.

2个月前

DA14585_COPY保护

张贴了dder16190分 4回复
0旋转

你好。

我有一个项目使用DA14585 + 2M闪光灯

如何复制保护

1.如果我otp是空的,我可以保护我的代码吗?

2.如果我在OTP中使用的东西,有简单的方式保护我的代码?

// =============================.

你好,

我有一个产品展示DA14585,我想要询问问题

外出使用SPI闪光灯2M,代码放闪光

1.如果我otp不少,而且是不是是没法防止别人拷贝我的产品了?

2.如果有OTP烧录,是有简单的方便,可口防止人拷贝我的产品

谢谢?

接受答案!

2个月前

PM_DIALOG.

嗨dder161,

谢谢你的问题,但你能澄清声明#1吗?

在OTP的情况下,您可以在OTP中刻录应用程序代码。请参阅本教程:

http://lpccs-docs.dialog-semicondiond.com/tutorial_sdk6/otp_prog.html.

应用图像应刻录到“OTP图像”中。您应该将两个应用程序标志字段设置为“是”。Keep in mind that 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. When the OTP is burned and the application flags on the OTP header are also burned, the primary bootloader is disabled so the scanning procedure doesn't take place, thus you will not be able to boot from the SPI or UART or I2C. You will be able to directly burn your SystemRAM though JTAG as long as the OTP header field called JTAG enable flag stays Enabled. If the application flags are burned and the JTAG enable flag is Disabled then the device becomes inaccessible.

谢谢,PM_DIALOG.

2个月前

dder161 90分

你好,

我的所有代码都放在SPI Flash./ OTP刚刚在“客户特定领域”中放入16个单词,

当电源电源时,我将检查16个单词作为授权副本,

我找到了,如果我只是写0x7f8fe20。“客户特定领域”作为用户存储

如果有人使用JTAG / UART / SMARTSNIPPER工具,它易于复制它。

1.我在OTP =>中禁用JTAG,但我也可以通过UART读取OTP

2.如果我只写OTP标题/其他OTP图像是空=>我无法在“客户特定字段”中锁定我的OTP数据

我该怎么办,保护我的项目被盗版和幻想副本?

让Secand_BootoLoad在OTP中作为可引导是一个好主意?

谢谢。

最佳reguard ddlai 20210323

2个月前

dder161 90分

你好,

谢谢。

我把secand_bootolader放在OTP中,并设置是,是,禁用JTAG,

它可以工作,

Ddlai 2021030.

2个月前

PM_DIALOG.

嗨dder161

很高兴正在工作。如上所述,我以前的回复:

当OTP被编程并且OTP标题上的应用程序标志也被刻录时,禁用主引导加载程序,以便扫描过程未发生,因此您将无法从SPI或UART或I2C引导。只要称为JTAG Enable标志保持的OTP标题字段,您就可以直接刻录SystemRam。如果刻录应用程序标志并且禁用JTAG启用标志,则设备将无法访问。

谢谢,PM_DIALOG.