⚠️
嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程https://www.dialog-seminile.com/support.。我们将在未来几天修复错误/优化搜索和标记。
10个帖子/ 0新
最后一篇
lionel_Avnet
离线
最后一次露面:4个月6天前
加入:2016-11-14 10:22
使用eval套件编程外部设备

Hello

它们是否有一些限制使用eval套件到Programm外置DA14531设备(我们的原型板,连接到套件的SW接口)。

我们有连接SWDIO_Jtag SWLCK_Jtag,属下(reset pin) to the eval board, but we can't programm our DA14531-0000FX2 device.

bests regards

莱昂内尔

Device:
PM_DIALOG.
离线
最后一次露面:3 hours 29 min ago
职员
加入:2018-02-08 11:03
Hi lionel_Avnet,

Hi lionel_Avnet,

请尝试将您的自定义板连接如下:

J1.21(SWCLK) - >定制板的SW_CLK PIN。

J1.23(SWDIO)>定制板的SWDIO PIN。

当然,你需要有共同点

谢谢,PM_DIALOG.

lionel_Avnet
离线
最后一次露面:4个月6天前
加入:2016-11-14 10:22
Hello

Hello

是的,这些连接已被Ckecked;RST信号也连接(并且电路板提供3.3 V,使用对话框智能闪存程序员识别JTAG的ID,但我们仍然无法编程我们的自定义板的外部SPI闪光灯。

bests regards

PM_DIALOG.
离线
最后一次露面:3 hours 29 min ago
职员
加入:2018-02-08 11:03
Hi lionel_Avnet,

Hi lionel_Avnet,

你能试着把FW下载到系统里面的思想Keil IDE吗?那是工作吗?你能检测到JTAG SN吗?

Please try to program the flash using the Flash Programmer from the SmartSnippets Toolbox. Are you able to connect or you are getting errors?

谢谢,PM_DIALOG.

lionel_Avnet
离线
最后一次露面:4个月6天前
加入:2016-11-14 10:22
Hello

Hello

是的,我们成功地编制了RAM,这是工作。我们能够检测到JTAG。

我们做的是为了编程外部SPI闪光(相同的闪光,同样的Connexion作为eval套件)

bests regards

莱昂内尔

PM_DIALOG.
离线
最后一次露面:3 hours 29 min ago
职员
加入:2018-02-08 11:03
Hi lionel_Avnet,

Hi lionel_Avnet,

Please try to use the Flash Programmer from the SmartSnippets Toolbox - you should also check if you have selected the right SPI pins in the “Board Setup” . See section 9 and 15 from the user manual – link is provided below:

http://lpccs-docs.dialog-semiconductor.com/UM-B-083/index.html

您能连接到SPI Flash,还是您在日志窗口中获得错误?

谢谢,PM_DIALOG.

lionel_Avnet
离线
最后一次露面:4个月6天前
加入:2016-11-14 10:22
We have done a test with an

我们已经使用DA14531Mod(SO模块)进行了测试,在J1上连接:

bellow are the error message : you can note that the SPI flahs is recognised, but Operation like Erase return error, Even the content of the flash seem to be well erased.

so we can connect to the DA14531MOD, but can't programm it with reliability.:

提前非常感谢

莱昂内尔

[INFO General @20-08-28 09:57:09] Found SW-DP with ID 0x0BC11477
[INFO General @20-08-28 09:57:09] No AP preselected. Assuming that AP[0] is the AHB-AP
[INFO General @20-08-28 09:57:09] AP-IDR: 0x04770031, Type: AHB-AP
[信息概述@ 20-08-28 09:57:09] AHB-AP ROM:0xE00FF000(基本ADDR。第一rom表)
[INFO General @20-08-28 09:57:09] Found Cortex-M0 r0p1, Little endian.
[INFO General @20-08-28 09:57:09] FPUnit: 4 code (BP) slots and 0 literal slots
[信息常规@ 20-08-28 09:57:09] Coresight组件:
[信息概述@ 20-08-28 09:57:09] romtbl [0] @ E00FF000
[INFO General @20-08-28 09:57:09] ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
[INFO General @20-08-28 09:57:09] ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
[INFO General @20-08-28 09:57:09] ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
[信息概述@ 20-08-28 09:57:09]选择了BTLE设备。
(信息SPI Flash @20-08-28 09:57:35]发现SW-DP with ID 0x0BC11477
[信息SPI Flash @ 20-08-28 09:57:35]使用预配置的AP [0]作为AHB-AP与核心通信
[信息SPI Flash @ 20-08-28 09:57:35] AP-IDR:0x04770031,类型:AHB-AP
[信息SPI Flash @ 20-08-28 09:57:35] AHB-AP ROM:0xE00FF000(基本Addr。第一rom表)
[信息SPI Flash @ 20-08-28 09:57:35]找到了Cortex-M0 R0P1,Little Endian。
[INFO SPI Flash @20-08-28 09:57:35] FPUnit: 4 code (BP) slots and 0 literal slots
[INFO SPI Flash @20-08-28 09:57:35] CoreSight components:
[信息SPI Flash @ 20-08-28 09:57:35] Romtbl [0] @ E00FF000
[信息SPI Flash @ 20-08-28 09:57:35] romtbl [0] [0]:e000000,cid:b105e00d,pid:000bb008 scs
[INFO SPI Flash @20-08-28 09:57:35] ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
[信息SPI Flash @ 20-08-28 09:57:35] romtbl [0] [2]:e0002000,cid:b105e00d,pid:000bb00b fpb
[信息SPI Flash @ 20-08-28 09:57:35]固件文件c:\ program files(x86)\ smartsnippetstoolbox \ smartsnippetstoolbox5.0.10 \ common_resources \ supportpackages \ da1453x \ toolbox_resources / common / jtag_programmer.bin已被选中下载。
[信息SPI Flash @ 20-08-28 09:57:35]成功下载了固件文件到电路板。
[INFO SPI Flash @20-08-28 09:57:35] Successfully configured SPI Flash ports and pins.
[错误SPI Flash @ 20-08-28 09:57:43]地址0x7FC3C08中的读取内存失败。
[错误SPI Flash @ 20-08-28 09:57:43] SPI内存擦除失败。
[信息SPI Flash @ 20-08-28 09:58:04]开始从内存中读取32768个字节。
[信息SPI Flash @ 20-08-28 09:58:04]从偏移0x00中读取16384字节
[信息SPI Flash @ 20-08-28 09:58:04]从偏移0x4000读取16384字节
[INFO SPI Flash @20-08-28 09:58:05] Reading has finished. Read 32768 bytes.
[INFO SPI Flash @20-08-28 09:59:30] Copying file: C:\Users\g-keep\Downloads\DA14531\DA145xx_SDK\6.0.14.1114\projects\target_apps\ble_examples\ble_app_peripheral\Keil_5\out_DA14531\Objects\ble_app_peripheral_531.hex to C:\Users\g-keep\AppData\Local\Temp\\input1.hex.
[INFO SPI Flash @20-08-28 09:59:30] Converting file input1.hex to bin.
[信息SPI Flash @ 20-08-28 09:59:30]从文件input1.bin读取17268字节。
[INFO SPI Flash @20-08-28 09:59:42] Found SW-DP with ID 0x0BC11477
[INFO SPI Flash @20-08-28 09:59:42] Using pre-configured AP[0] as AHB-AP to communicate with core
[信息SPI Flash @ 20-08-28 09:59:42] AP-IDR:0x04770031,类型:AHB-AP
[INFO SPI Flash @20-08-28 09:59:42] AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
[INFO SPI Flash @20-08-28 09:59:42] Found Cortex-M0 r0p1, Little endian.
[信息SPI Flash @ 20-08-28 09:59:42] FpUnit:4代码(BP)插槽和0个字幕插槽
[INFO SPI Flash @20-08-28 09:59:42] CoreSight components:
[INFO SPI Flash @20-08-28 09:59:42] ROMTbl[0] @ E00FF000
[信息SPI Flash @ 20-08-28 09:59:42] romtbl [0] [0]:e000000,cid:b105e00d,pid:000bb008 scs
[信息SPI Flash @ 20-08-28 09:59:42] Romtbl [0] [1]:E0001000,CID:B105E00D,PID:000BB00A DWT
[信息SPI Flash @ 20-08-28 09:59:42] Romtbl [0] [2]:E0002000,CID:B105E00D,PID:000BB00B FPB
[INFO SPI Flash @20-08-28 09:59:42] Firmware File C:\Program Files (x86)\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.10\common_resources\SupportPackages\DA1453x\toolbox_resources/common/jtag_programmer.bin has been selected for downloading.
[WARNING SPI Flash @20-08-28 09:59:43] T-bit of XPSR is 0 but should be 1. Changed to 1.
[INFO SPI Flash @20-08-28 09:59:43] Successfully downloaded firmware file to the board.
[INFO SPI Flash @20-08-28 09:59:43] Successfully configured SPI Flash ports and pins.
[INFO SPI Flash @20-08-28 10:00:05] Started erasing from 0x00 to 0x4FFF (5 sectors)
[错误SPI Flash @ 20-08-28 10:00:05]地址0x7FC3C08中的读取内存失败。
[错误SPI Flash @ 20-08-28 10:00:05] SPI内存擦除失败。
[信息SPI Flash @ 20-08-28 10:00:05]检查内存是否为空...
[INFO SPI Flash @20-08-28 10:00:06] Read 16384 bytes from offset 0x00
[INFO SPI Flash @20-08-28 10:00:06] Read 884 bytes from offset 0x4000
[INFO SPI Flash @20-08-28 10:00:06] Memory empty. Procceed with burn.
[信息SPI Flash @ 20-08-28 10:00:06]在地址0x00时,使用17268个字节的数据刻录内存。
[错误SPI Flash @ 20-08-28 10:00:06]地址0x7FC3C08的读取内存失败。
[错误SPI Flash @ 20-08-28 10:00:06]失败写入16384字节偏移0x00
[信息SPI Flash @ 20-08-28 10:00:55]从内存开始读取32768个字节。
[INFO SPI Flash @20-08-28 10:00:55] Read 16384 bytes from offset 0x00
[信息SPI Flash @ 20-08-28 10:00:56]从偏移0x4000读取16384字节
[INFO SPI Flash @20-08-28 10:00:56] Reading has finished. Read 32768 bytes.

PM_DIALOG.
离线
最后一次露面:3 hours 29 min ago
职员
加入:2018-02-08 11:03
Hi lionel_Avnet

Hi lionel_Avnet

Could you please checkout the following forum ticket ?

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/programming-5

That user mentioned how he is able to program a DA14531MOD custom board using the JTAG of the Pro-DK. Would it be possible to try the same in you board?

谢谢,PM_DIALOG.

pege
离线
最后一次露面:2 months 1 hour ago
加入:2020-10-12 09:58
I have the same problem. Did

I have the same problem. Did you get any response to this? From what I suspect is that it is NOT possible to use only JTAG/SWD pins, but you must also use SPI-pin or UART no matter the tools. If I disconnect MOSI on the PRO DK, the FW-loading fails.

有没有解决方法使用swd?我目前的工作是在目标上使用单线串行。

Cheers

\P

PM_DIALOG.
离线
最后一次露面:3 hours 29 min ago
职员
加入:2018-02-08 11:03
Hi pege,

Hi pege,

Thanks for your comment. Could you please clarify what you are trying to accomplish ? Do you need to program you custom board via JTAG and using the Pro-DK? If I understood correctly, please check the following document :

http://lpccs-docs.dialog-seminiondiond.com/tutorial_sdk6/debug_probe.html.

If you have any follow up question, please raise a new forum threads as this one is old and closed.

谢谢,PM_DIALOG.