你好,
在尝试擦除DA14682上的QSPI时,在运行erase\u QSPI\u jtag\u win命令后,我得到以下输出。
.......................................................................................................................
..
.. 擦除QSPI
..
.......................................................................................................................
是否确实要完全删除QSPI(y/n或[ENTER]表示n)?
->y
使用的JlinkGDBServer路径:“C:\Program Files(x86)\SEGGER\JLink_V612i”
cli\ U编程器1.25
Copyright (c) 2015-2017 Dialog Semiconductor
配置保存到C:\Users\James Brown\AppData\Local\Temp\cfg\u 11153.ini文件。
C:\wkspace\Dialog\u Test\DA1468x\u DA15xxx\u SDK\u 1.0.14.1081\utilities\scripts\qspi>“..\..\..\binaries\cli\u programmer.exe”--cfg“C:\Users\James Brown\AppData\Local\Temp\cfg\u 11153.ini”gdbserver chip\u erase\u qspi
cli\ U编程器1.25
Copyright (c) 2015-2017 Dialog Semiconductor
bootloader file not specified, using internal uartboot.bin
完成。
The system cannot find the path specified.
.......................................................................................................................
..
.. 完成
..
.......................................................................................................................
If I reset the board my firmware still exists on the device.
我得到一个类似的错误时,编程和固件没有改变。
这一切已经运作了好几个月。我重新访问了这个项目,现在有这个问题。
Thanks.

嗨,85分,
Can you please indicate if you are using any of our Development Boards or you have a custom board? In case you have a custom design, which QSPI flash are you using? Are you able to erase via UART (erase_qspi_serial_win).
谢谢,下午好
你好,
我一整天都在做这个。还是没有解决。
我有一个开发板和一个定制板。两者都有相同的问题。
我用另一台计算机重新安装了智能代码段和jLink,开发板上的擦除和程序也很好。
我再次卸载了smartsnippets,主机上的所有segger软件和驱动程序。像我在另一台机器上那样重新安装。。。同样的问题。开发板不会擦除或编程。
如果我尝试删除命令行,则以done结束。但随后是The system cannot find the path specified."正如我上一篇文章所说。
我觉得这是一个jLink驱动程序问题。
如果我查看jLink驱动程序日志,我可以看到以下区别
...Target halted (PC = 0x07F01E8A)
下载2字节@地址0x50000012
应为十进制数字(0-9)
然后有许多错误和事情。“这个”应为十进制数字(0-9)“不显示在工作机器的日志中。
有什么想法吗?这是个大问题。。。。。。
Thanks.
Hi point85高
请转到SmartSnippets的Windows->preferences->Run/Debug选项卡并从SEGGER path文件夹中进行检查,好吗?路径文件夹应该指向JLink的安装文件夹。SS Studio的版本是什么?另外,您能否说明您是否能够通过UART擦除闪存?
谢谢,下午好
Jlink路径正确:C:\Program Files(x86)\SEGGER\Jlink\u V612i
SS Studio V 1.6.3.918今天从网站下载(也尝试了2.0.12,因为这是我以前在今天重新安装尝试修复此问题之前使用的)
我还重新下载了SDK,并使用一个新的工作区与新鲜的ble\u外围示例和新鲜的脚本文件夹。
就像我说的,我想有什么东西阻止了jLink在这台机器上正常工作。
我在gdb server运行的命令行中尝试了cli\u programmer,我看到了相同的错误“应为十进制数字(0-9)“在另一台机器上,它开始加载.ini文件。
我已经附加了jLink日志文件。
OK so the error "The system cannot find the path specified" is caused by the line "if not "%TMPCFG%"=="" del %TMPCFG%" before the "goto :Finished"
在擦除\u qspi \u jtag.bat和程序\u qspi \u jtag.bat的末尾。
我可以在temp文件夹中看到,它没有在macine上创建一个无法工作的配置文件。工作的机器有一个临时文件,该文件在擦除/编程时被创建和删除。
Any ideas why jLink would not be able to create the temp file?
好 啊,
修好了。。。现在。我想我们会再次看到这个问题,所以我回来张贴我的发现。
By editing and reading through all of the scripts I managed to locate the problem down to filenames. Of which there were two problems.
1;) Jlink couldn't create the temp file it needs.
2) SS Studio无法删除用程序员设置创建的临时文件。
Finally. It came down to having a space in my user name on my windows machine. SS Studio had worked before. The only thing I can think is that I had my temp folder on my D: drive and windows update must have moved it back to my default C: path which contains a space.
我已经搬到窗户temp folder back to the D: drive without a space and all seems well.
对话框中,您可以查看使用的Jlink脚本,并允许它们在适当的情况下使用“”来处理空格。我用这个方法修复了.bat文件和临时删除,但是找不到Jlink命令调用的脚本。也许你们可以为将来修补一下。
嗨,85分,
感谢您的指示和反馈。我会尝试在我这边复制它并在内部升级。
谢谢,下午好