雷竞技电竞平台对话半导体客户支持- #DA14531 #spi flash #jtag #SmartSnippets https://support.dialog-semiconductor.com/resource-keywords/da14531-spi-flash-jtag-smartsnippets SmartSnippets cli编程SPI flash失败 https://support.dialog-semicondiondiondiondum/forums/post/dialog-smartbond-bluetooth-low-energy-%2%80%93-tools/smartsnippets-cli-programment-spi-flash. < 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 Gui程序SPI Flash界面。

我尝试使用SmartSnippets cli为生产设备编程,但它失败了。我的命令是:

SmartSnippetsToolbox.exe -type spi -chip DA14531 -jtag <mySerialNumber>-cmd write -file <myfile>-max 0x400000 -firmware "C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.14\common_resources\SupportPackages\DA1453x\toolbox_resources\common\flash_programmer_531.bin" -bootable

and output is:

Found SW-DP with ID 0x0BC11477
扫描AP map找到所有可用的AP
AP[1]:
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID寄存器:0x410CC601通过迭代AP map找到AHB-AP使用
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID寄存器:0x410CC601实现者代码:0x41 (ARM)
Found Cortex-M0 r0p1, Little end。
FPUnit: 4个代码(BP)槽和0个文字槽
CoreSight components:
ROMTbl[0] @ E00FF000
ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
BTLE device selected。
发现ID为0x0BC11477的SW-DP
AP映射检测跳过。发现手动配置的AP地图。
AP[0]: AHB-AP (IDR: Not set)
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410CC601 Implementer code: 0x41 (ARM)
Found Cortex-M0 r0p1, Little endian.
FPUnit: 4 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.14\common_resources\SupportPackages\DA1453x\toolbox_resources\common\flash_programmer_531.bin has been selected for downloading.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Successfully downloaded firmware file to the board.
Using default baudrate: 115200 Bd.
Failed setting the following values to SPI Flash gpios: CLK=P0_4, CS=P0_1, MISO=P0_3, MOSI=P0_0.
Read 28232 bytes from file <myFile>.
Added bootable header to image.
Started burning memory with 28344 bytes of data at address 0x00000.
Failed configuring SPI ports and pins.
Fail write 16384 bytes at offset 0x00
Memory burning failed.

The default SPI port configuration matches my hardware so I didn't explicitly specify them.

And I didn't hear the beep when downloading frimware.

Device: 
2021年1月7日星期四03:31:25 +0000 女警官 394059年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-tools/smartsnippets-cli-programming-spi-flash#comments