3 posts / 0 new
Last post
intretech_XM
Offline
Last seen:11 hours 47 min ago
加入:2016-02-26 23:11
DA14580用命令行烧OTP无法烧录

hello dialog:

我使用jlink去使用命令行的方式去烧写OTP,可以无法烧写成功,我6.8V有接。。

我的命令是:SmartSnippets.exe -type otp -chip DA14580-01 -jtag 123456 -cmd write_custom_code -file "C:\5920_0300.hex" -offset 0x0000 -y

但是烧写最后提示 otp memory burning failed。

请问下这问题会出在哪里,是我的命令错了,还是还需要先烧写什么步骤?

Device:
intretech_XM
Offline
Last seen:11 hours 47 min ago
加入:2016-02-26 23:11
我刚才尝试了

我刚才尝试了,先用SmartSnippets软件点击connect,然后再用这个命令行烧写才可以。可是找不到任何与SmartSnippets软件这个connect的命令行。请问下这个connect要怎么去发送命令行来实现?

Qinjiny_Dialog
Offline
Last seen:3 weeks 6 days ago
工作人员
加入:2016-11-01 05:47
烧写OTP需要事先在板子上下载一个用来配置和实现烧写的pr

烧写OTP需要事先在板子上下载一个用来配置和实现烧写的programmer firmware,这个在UI界面是通过connect按钮来实现的,在你点击connect的时候会在底下Log看到相关的信息。

命令行的话你可以参考一下

SmartSnippets.exe -type booter -chip chip_version [-jtag jtag_serialNumber | -com_port portNumber]

[-sys_ctrl_reg b1] [-gp_ctrl_reg b2] [-close] [-gpio pinId] [-uart TxId] -file filename [-y] [-nomessages messageFilter]

Downloads file to DA14580 using UART Booter tool. If a ‘CRC does not match’ shows up, please

run the command again and then press the hardware reset button on the board to restart the download process.

这一条命令用于下载指定的firmware到板子RAM上,需要更多信息的话也可以在Smartsnippets的帮助文档末尾部分查看,这个是第二条。

你需要选择适合的firmware来执行后续的烧录,例如如果你打算使用JTAG烧录的话,应当下载jtag_programmer.bin

这些firmware都存放在C:/Users/YourUserName/SmartSnippets/resources目录下,SDK的Utilities目录下面应该也有