⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
8个帖子/ 0新
Last post
point85
Offline
Last seen:11 months 2 weeks ago
加入:2018-06-29 15:31
无法擦除qspi?

Hi,

When trying to erase the QSPI on a DA14682 I get the following output after running the erase_qspi_jtag_win command.

.......................................................................................................................
..
.. ERASE QSPI
..
.......................................................................................................................

Are you sure you want to completely erase QSPI (y/n or [ENTER] for n) ?
- > Y.

JlinkGDBServer path used: "C:\Program Files (x86)\SEGGER\JLink_V612i"
cli_programmer 1.25
版权所有(c)2015-2017对话半导体雷竞技电竞平台

Configuration saved to C:\Users\James Brown\AppData\Local\Temp\cfg_11153.ini file.

C:\wkspaces\Dialog_Test\DA1468x_DA15xxx_SDK_1.0.14.1081\utilities\scripts\qspi>"..\..\..\binaries\cli_programmer.exe" --cfg "C:\Users\James Brown\AppData\Local\Temp\cfg_11153.ini" gdbserver chip_erase_qspi
cli_programmer 1.25
版权所有(c)2015-2017对话半导体雷竞技电竞平台

使用Internal UartBoot.bin未指定引导加载程序文件

done.
该系统找不到指定的路径。

.......................................................................................................................
..
.. FINISHED
..
.......................................................................................................................

如果我重置电路板,我的固件仍然存在于设备上。

I get a similar error when programming and the firmware does not change.

This had all been working for months. I have re-visited the project and now have this problem.

谢谢。

Device:
PM_Dialog
Offline
Last seen:3 days 21 hours ago
工作人员
加入:2018-02-08 11:03
Hi point85,

Hi point85,

您是否可以说明您是否使用我们的开发板或您有定制董事会吗?如果您有自定义设计,您正在使用哪种QSPI闪存?您是否能够通过UART删除(erase_qspi_serial_win)。

Thanks, PM_Dialog

point85
Offline
Last seen:11 months 2 weeks ago
加入:2018-06-29 15:31
Hi,

Hi,

I have been working on this all day. Still not solved it.

I have a development board, and a custom board. Both have the same problem.

I used another computer to do a fresh install of smart snippets and jLink and the dev board erases and programs fine.

Again I uninstalled smartsnippets, all segger software and drivers on the main machine. Re-installed as I did on the other machine... and again get the same problem. Dev board will not erase or program.

If I try to erase the command line finshes with done. but is then followed with "该系统找不到指定的路径。”As above on my previous post.

I feel like this is a jLink driver issue.

If I review the jLink driver log I can see the following difference

...目标停止(PC = 0x07F01E8A)
Downloading 2 bytes @ address 0x50000012
Expected an decimal digit (0-9)

There are then a multitude of errors and things. The "Expected an decimal digit (0-9)" does not show in the log on the machine that works.

Any ideas? This is a big big problem......

谢谢。

PM_Dialog
Offline
Last seen:3 days 21 hours ago
工作人员
加入:2018-02-08 11:03
Hi point85

Hi point85

Could you please go to the Windows -> preferences -> Run/Debug tab of the SmartSnippets and check from the SEGGER path folder? The path folder should point into the installation folder of the JLink. What is the version of SS Studio? Additionally, can you please indicate if you are able to erase the flash via UART?

Thanks, PM_Dialog

point85
Offline
Last seen:11 months 2 weeks ago
加入:2018-06-29 15:31
Jlink path is correct : C:

Jlink path is correct : C:\Program Files (x86)\SEGGER\JLink_V612i

SS Studio V 1.6.3.918 downloaded today from the website (also tried with 2.0.12 as this was what I was previously using before todays re-install trying to fix this)

I have also re downloaded SDK and am using a fresh workspace with fresh ble_peripheral example and fresh scripts folder.

Like I say, I think something is stopping the jLink working properly on this machine.

I have tried cli_programmer from the command line with gdb server running and I see the same error "Expected an decimal digit (0-9)" where on the other machine it starts to load the .ini file.

I have attatched the jLink log files.

point85
Offline
Last seen:11 months 2 weeks ago
加入:2018-06-29 15:31
好的错误“系统

好的,所以错误“系统找不到指定的路径”是由行“如果不是”%tmpcfg%“==”“del%tmpcfg%”之前“goto:完成”

At the end of the erase_qspi_jtag.bat and program_qspi_jtag.bat.

我可以看到临时folder that it is not creating a config file on the macine which will not work. The machine that does work has a temp file which is created and deleted while erasing/programming.

任何想法为什么jlink无法创建临时文件?

point85
Offline
Last seen:11 months 2 weeks ago
加入:2018-06-29 15:31
Ok,

Ok,

Fixed it... for now. I think we will see this problem again so I came back to post what I found.

通过通过所有脚本进行编辑和读取我设法将问题定位为文件名。其中有两个问题。

1;)jlink无法创建它需要的临时文件。

2) SS Studio couldn't delete the temp file it had created with the programmer settings.

最后。它归结为在我的Windows机器上有一个空格。SS工作室以前工作过。我唯一可以思考的是我在我的D:驱动器和Windows更新必须将其移回我的默认c:路径,其中包含空格。

我现在已经将我的Windows Temp文件夹移回D:没有空间的驱动器,似乎都很好。

Dialog, maybe you would be so kind as to review the Jlink scripts used and allow them to handle spaces with the use of "" where appropriate. I fixed the .bat file and the temp deletion using this method, but cannot find the scripts for the Jlink command calls. Maybe you guys could patch these for future.

PM_Dialog
Offline
Last seen:3 days 21 hours ago
工作人员
加入:2018-02-08 11:03
Hi point85,

Hi point85,

Thanks for your indication and for you feedback. I’ll try to replicate it in my side and escalate it internally.

Thanks, PM_Dialog