Hi All,
我使用DA14531开发套件 - USB。我使用Keil开发工具和SmartSnippets Toolbox。
我无法将图像文件下载到闪存。我尝试使用Booter,SPI Flash程序员和EEPROM程序员。我总是得到相同的结果:
[信息概述@ 20-07-19 20:23:04]无法衡量总IR LEN。TDO是恒定的。
[信息概述@ 20-07-19 20:23:04]无法衡量总IR LEN。TDO是恒定的。
[信息概述@ 20-07-19 20:23:04]无法衡量总IR LEN。TDO是恒定的。
[信息概述@ 20-07-19 20:23:04]无法衡量总IR LEN。TDO是恒定的。
[ERROR General @20-07-19 20:23:04] No known chip found while opening JLink connection. Terminating proccess...
[ERROR SPI Flash @20-07-19 20:23:04] Failed downloading firmware file to the board.
In Keil, I got this: "No Cortex-m SW Device found".
Before according to this problem I download the Firmware in SPI flash which set the device in deep sleep mode immediately after system initialization. I saw that the downloaded firmware works. The device wakes up from sleep mode every 10 seconds and goes to sleep again.
我的问题是图像下载失败的原因,我如何解决这个问题?
谢谢。
Hi Margo Safaryan,
谢谢在线发布!请查看ARCH_SET_DEEP_SLEEP()API - 当系统进入深度睡眠模式时,调试器已禁用。我怀疑您正在尝试在固件禁用时使用调试。
Could you please set the DIP-switch properly in order to de-attach the flash and then try to program the board via Keil IDE? Additionally, you can try to program it through UART.
另一个可能的解决方案可能是重置板,然后它不会处于10秒的深度睡眠模式,然后快速尝试通过JTAG连接。
Thanks, PM_Dialog
Thanks for your quick reply. I change the DIP Switch configuration for using UART and it works ))))
Hi Margo Safaryan,
Glad that you got it working and thanks for the indication. If you have any other issue with the DA14531, please raise a new forum thread.
Thanks, PM_Dialog
Hi PM_Dialog,
如果需要,我会提出一个新的论坛线程。感谢您的支持 ))
Regards, Margo Safaryan
Hi PM_Dialog,
I have one more question according to this subject.
I have the same problem. I can't download an image file to the flash.
我在OTP内存中下载了一些蓝牙软件而不是efferic_bootloader。
我更改了OTP标题并将“应用程序编程标记#1 - 以及”应用程序编程标记#2 -YES“。现在,在OTP内存中下载的软件始终运行。
After all this, I have a problem with image downloading. I get errors in both cases UART and JTAG.
In JTAG case:
[INFO General @20-07-27 19:27:54] Could not measure total IR len. TDO is constant high.
[ERROR General @20-07-27 19:27:54] No known chip found while opening JLink connection. Terminating proccess...
[ERROR OTP Header @20-07-27 19:27:54] Failed downloading firmware file to the board.
在UART的例子:
[INFO OTP Header @20-07-27 19:30:59] Connection to COM16 port has successfully opened.
[INFO OTP Header @20-07-27 19:30:59] Started download procedure...
[ACTION OTP Header @20-07-27 19:31:00] Please press the hardware reset button on the board to start the download process.
[ERROR OTP Header @20-07-27 19:31:07] Timeout: Reset signal not detected for more than 8000 msecs.
[INFO OTP Header @20-07-27 19:31:07] Please try again. If problem persists refer to User Manual AN-B-072 (//www.wsdof.com/an-072-booting-from-serial-interface) and check jumper settings. For booting from 2-wire UART (P0_0 and P0_1) see Figure 10. For booting from 1-wire UART P0_5 see Figure 6.
[INFO Booter @20-07-27 19:31:07] Successfully disconnected from port COM16.
[ERROR OTP Header @20-07-27 19:31:07] Failed downloading firmware file to the board.
How can I fix the firmware file downloading problem?
Thanks, Margo Safaryan
Hi Margo,
So, if I understood correctly, the OTP is programmed, and you cannot burnt the SPI flash? Could you please try to explain better the steps you have done, so that I can understand the root cause of this issue?
Thanks, PM_Dialog
Hi PM_Dialog,
是的,OTP被编程,and I cannot burn the SPI flash and SysRAM. In Keil, I got this: "No Cortex-m SW Device found".
I burn the OTP. I change the OTP header, put "Application Programmed Flag #1 -Yes" and "Application Programmed Flag #2 -Yes" and burn it too. After all this, I have a problem with image downloading. I started to get the mentioned errors.
Thanks, Margo Safaryan
Hi Margo Safaryan,
为延迟道歉。您是否尝试通过JTAG或UART通过SmartSnippets Toolbox连接?由于您无法编程SYS-RAM认为keil,我会建议首先检查该工具是否可以检测JTAG SN编号(从目标窗口的选项),此外,您是否禁用了OTP标题的JTAG?
Thanks, PM_Dialog
Hi PM_Dialog,
我试图通过JTAG和UART连接,两种情况下都会失败。
In Keil JTAG SN number detected but I got "No Cortex-m SW Device found" error when tried to debug.
I didn't disable JTAG from the OTP Header.
Thanks, Margo Safaryan
Hi Margo,
一次啊TP is programmed and the Application flags (1&2) set the booter by passes the ROM boot sequence that checks SPI/UART etc for applicaion images.
Further details can be found in this app note//www.wsdof.com/sites/default/files/an-b-072-da1453...
布罗尔,
kb_dialog.