我尝试了两种配置:
SPI_CLK: P2_0
SPI_EN: P2_3
SPI_DI: P2_4
SPI_DO: P2_9
and
SPI_CLK: P2_0
SPI_EN: P2_3
SPI_DI: P2_9
SPI_DO:P2_4 < / 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 / da14586”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > Da14586 < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / burn-flash-jtag”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >燃烧flash jtag < / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords / smartsnippets”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > SmartSnippets < / > < / 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 = " /分类/ / 1492”一词typeof =“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14586 < / > < / div > < / div > < / div >
Hello!
我想保存SmartSnippets电源分析器数据到一个文件,我可以看到有一个选项指定一个csv文件路径下的'config'。我猜这是为了保存原始数据?但是,为要写入的csv文件选择路径并不会在运行分析会话之后创建一个文件。我是不是漏掉了什么?是否有可能将数据保存到文件中?< / 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 / smartsnippets”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > SmartSnippets < / > < / 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 / da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14580 < / > < / div > < / div > < / div >
但是消息显示我做得很成功。当我读取内存内容时,它的内容与数据文件内容相同。此外,我使用IDE Keli5刻录相同的程序,结果是我可以扫描我的设备。所以,我认为我的程序是正确的。
如何在SmartSnippers上解决这个问题?
以下是我的设置。< / p > < p >模式:Jtag, SPI Flash程序员< br / > SDK: 5.0.3 < br / >计划:prox_reporter < br / >应用:LightBlue < / 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甚至“>
如何导入我的c和h文件到项目?< / 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 / smartsnippets typeof =“skos:概念”属性= " rdfs: labelskos: prefLabel”数据类型= " " > SmartSnippets < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /导入“typeof =“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”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14580 < / > < / div > < / div > < / div >
下载程序工作:
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?
有人能帮我如何闪光代码吗?< br / > VCC_FLASH(销5)在VCC < / 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 / flash”“=”skos:概念”属性= " rdfs: label skos: prefLabel”数据类型FLASH = " " > < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / smartsnippets”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > smartsnippets < / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < divclass="field-label">Device:
.我们在使用DA14580模块时遇到了问题。有一台电脑和一个曾经工作得很好的程序员。
我们怀疑问题与某些windows-7更新或某些损坏的dll有关。我们没有改变系统中的其他东西。
我们正在运行一个从命令行执行智能代码片段的脚本,因此我们确定没有更改任何标志。
我们尝试重新安装Smart Snippets 3.4, 3.6和3.8版本,但没有成功。
我们没有尝试Smart Snippets 3.9(该程序是用SDK3.0.8编写的)。
在调用步骤中:
smartsnipts .exe -type otp -cmd write_custom_code -chip DA14580-01 -com_port 11 -baud_rate 57600 -gpio P1_2 -uart P0_4 -file…
We keep getting the message:
Received error message while checking whether burning was successful: FFFFFFFE
< / 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 / smartsnippets”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > SmartSnippets < / > < / 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 / da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel” datatype="">DA14580