雷竞技电竞平台Dialog半导体客户支持-命令行接口 https://support.dialog-semiconductor.com/resource-keywords/command-line-interface 智能代码片段命令行安装 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-tools/smart-snippets-command-line-installation < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -工具”“=“sioc:容器sioc:论坛”属性= " rdfs: labelskos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——工具< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好,< / p > < p >有命令行开关使沉默的意想不到的安装聪明的片段?< / p > < p >谢谢你< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / smart-snippets”“=“skos:概念”属性=“rdfs: label skos: prefLabel”智能片段数据类型= " " > < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /命令行界面”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >命令行界面< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < divclass="field-label">Device:  . Tue, 15 Aug 2017 09:43:51 +0000 Clonimus74 80495年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-tools/smart-snippets-command-line-installation#comments 智能代码片段命令行 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%C2%A0%E2%80%93-tools/smart-snippets-command-line < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -工具”“=“sioc:容器sioc:论坛”属性= " rdfs: labelskos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——工具< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >嗨对话框中,< br / >我想使用命令行接口读取otp所以我聪明的片断
smartsnipts .exe -type otp -chip DA14583 -jtag -1 -cmd read_custom_code -file header. sh命令如下:hex -offset 0x2000 -length 32
当我直接使用它时,我得到一个错误“OTP内存读失败”。如果我打开智能代码片段GUI,选择jtag端口并按' connect',然后如果我运行以上命令,它运行成功。所以我得出一个结论,我们需要在阅读之前连接,但我没有找到任何特定的命令连接到设备的SmartSnippets的用户指南。需要你的帮助!< br / >问候,< br / > dhiraj < / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords /命令行界面”“=”skos:概念”属性= " rdfs: labelskos: prefLabel”数据类型= " " >命令行界面< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14583 typeof =“skos:概念”属性= " rdfs: labelskos: prefLabel”数据类型= " " > DA14583 < / > < / div > < / div > < / div >
星期三,2017年3月1日12:17:46 +0000 dhirajp15 5513年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%C2%A0%E2%80%93-tools/smart-snippets-command-line#comments
SmartSnippets命令行OTP烧录失败 https://support.dialog-semiconductor.com/smartsnippets-command-line-otp-burning-fails < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -工具”“=“sioc:容器sioc:论坛”属性= " rdfs: labelskos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——工具< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >在生产线设置我们试图使用SmartSnippets命令行接口刻录OTP头和OTP自定义代码。两者都可以在Windows GUI中工作,但在命令行中失败。

下载程序工作:

C:\Program Files\SmartSnippets\bin> SmartSnippets .exe -type bootter -chip DA14580-
01 -jtag 518110536 -file "C:\Users\a1t4czz\SmartSnippets\resources\jtag_program
er.bin"
Could not measure total IR len.
er.bin"TDO是恒定的高。不能测量总IR len。TDO是恒定的高。
Found Cortex-M0 r0p0, Little end - dian.
Found Cortex-M0 r0p0, Little end - dian。
FPUnit: 4个代码(BP)槽和0个文字槽
使用默认的GPIO管脚Id: P1_2。
XPSR的t位为0但应该为1。 Changed to 1.
Firmware File c:\users\a1t4czz\smartsnippets\resources\jtag_programmer.bin has b
een selected for downloading.
Cortex-M: Debugger tries to set PC to odd value. Corrected register value from 0
x000800B5 to 0x000800B4
Successfully downloaded firmware file to the board.

But trying to burn anything fails:

C:\Program Files\SmartSnippets\bin>smartsnippets.exe -type otp -chip DA14580-01
-jtag 518110536 -cmd write_field -offset 0x7F00 -data 1234A5A5
Could not measure total IR len. TDO is constant high.
Could not measure total IR len. TDO is constant high.
Found SWD-DP with ID 0x0BB11477
Found Cortex-M0 r0p0, Little endian.
FPUnit: 4 code (BP) slots and 0 literal slots
BTLE device selected.
Using default baudrate: 57600 Bd.
Failed burning OTP field at address 0x47F00.

C:\Program Files\SmartSnippets\bin>smartsnippets.exe -type otp -chip DA14580-01
-jtag 518110536 -cmd write_custom_code -file "C:\svn\BLEtooth\FW\DA14580_DSPS_3.
150.2 device\dk_apps\keil_projects\sps\sps_device\out\sps_device.hex" -offset 0x
0
Could not measure total IR len. TDO is constant high.
Could not measure total IR len. TDO is constant high.
Found SWD-DP with ID 0x0BB11477
Found Cortex-M0 r0p0, Little endian.
FPUnit: 4 code (BP) slots and 0 literal slots
BTLE device selected.
Using default baudrate: 57600 Bd.
Read 14208 bytes from file c:\svn\bletooth\fw\da14580_dsps_3.150.2 device\dk_app
s\keil_projects\sps\sps_device\out\sps_device.hex.
Reading OTP memory contents. Needed to check addresses that have already been bu
rned.
Started burning memory with 14520 bytes of data at address 0x40000.
Failed writing bytes at address 20000000.
OTP Memory burning failed.

Note that I do only have the SWD interface connected to a JTAG programmer. I do NOT have a UART connection. But since the SmartSnippets GUI works I am thinking that the hardware connections are ok. I have also checked the supply voltage and the programming voltage, both look ok.

Am I missing some step?

Device: 
星期三,2016年4月6日08:56:08 +0000 rkpu 3172年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/smartsnippets-command-line-otp-burning-fails#comments