Programming issues with DA14531

⚠️
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.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
15 posts / 0 new
Last post
HDHDH DDJEK.
Offline
Last seen:1个月6天前
加入:2020-06-03 14:15
Programming issues with DA14531

我收购了5 DA14531 BLE模块,我有一个问题,其中3个关闭它们根本没有编程。当JLINK接口似乎无法与它们连接时,它们似乎是“Bricked”。

When flashing with the Dialog SmartBond Flash programmer (v1.0.4.2972), I get the error "No known chip found while opening JLink connection. Terminating process..."

The other 2 BLE modules work fine as is. All the modules are installed on custom PCBs within the same batch. I am at a loss with what to do next, do you have any recommendations to try?

丙氨酸ached are the programming errors I experience via both SW and UART.

丙氨酸achment:
Device:
PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
Hi Hdhdh Ddjek,

Hi Hdhdh Ddjek,

谢谢你的问题。

只是为了确保我已经了解了这个问题:你带来了五(5)个531个模块(零件号:DA14531Mod-00f01002),您已在自定义板中安装它们。

为此,您正在尝试通过Pro主板DK使用JTAG进行编程。

With the same HW configuration (as shown in the attached pdf) 3 of the 5 modules cannot be programmed. Is my understanding correct?

Are you using 5 different boards to test it?

Thanks, PM_Dialog

HDHDH DDJEK.
Offline
Last seen:1个月6天前
加入:2020-06-03 14:15
我收到了5个off模块,

我收到5个OFF模块,从供应商那里获得DA14531Mod。我以前用过的COMORED在开发套件上测试了我的代码,我制作了5个自定义PCB,这是一个工作的DA14531Mod-00devkt-p。

I have been only able to program via SW and/or Single wire UART as the other pins for JTAG or SPI are not available on my PCBs.

2 of the PCBs programmed with no major issues. The other 3 seem to be bricked.

PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
Hi Hdhdh Ddjek,

Hi Hdhdh Ddjek,

Thanks for your explanation. Would it be possible to put the modules that cannot be programmed to a custom different board? If yes, are you able to program them?

Thanks, PM_Dialog

HDHDH DDJEK.
Offline
Last seen:1个月6天前
加入:2020-06-03 14:15
Okay I tried with a different

Okay I tried with a different board (reflowed and lifted the original Module off the d2632_DA14531MOD_devkit_vC that came with my dev kit and replaced it with one of the faulty modules). It did not work and still shows all the same errors and issues.

I believe I got a bad batch perhaps. I dont believe there is anything more I could try.

PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
你好呀,

你好呀,

Do you have the DA14531MOD DK (part number : DA14531MOD-00F1DB-P ) ?

If yes, you could do another quick test : place the modules in our DK and check if it can be programmed.

Thanks, PM_Dialog

me2a3ld
Offline
Last seen:2 months 2 weeks ago
加入:2020-06-24 11:37
Yes that is what I have tried

Yes that is what I have tried, it still cannot be programmed unfortunately

PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
嗨HDHDH DDJEK和ME2A3LDM

嗨HDHDH DDJEK和ME2A3LDM

In case of our DK, did you lower down the JTAG clock speed to 2MHz? Same as your attached screenshot. Are you now able to detect the IDCODE?

Please follow the steps described in Section 6.1 Keil JTAG default Clock Speed in UM-B-141 user guide.

//www.xmece.com/sites/default/files/um-b-141_da14531_smartbond_tinytm_module_development_kit_hardware_user_manual_1.1.pdf

此外,您能否分享电路板配置(跳线,飞线等)?

So, 3 modules cannot be programmed at any board (neither your custom board nor Dialog DK), but 2 others can be programmed at any board. Is that correct?

Thanks, PM_Dialog

HDHDH DDJEK.
Offline
Last seen:1个月6天前
加入:2020-06-03 14:15
道歉,HDHDH DDJEK和

道歉,HDHDH DDJEK和me2a3ldm are both my accounts, sorry for the confusion.

我按照教程指示降低了JTAG时钟速度,以2MHz,但仍无法检测到Keil中的IDcode。

I followed the instructions you linked to, as I was able to program 2 off the modules.

附加是我使用单线UART配置的设置。

Yes, 3 of the modules cannot be programmed on any board but the other 2 can. They were all ordered at the same time/batch.

丙氨酸achment:
PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
你好呀,

你好呀,

No problem for the confusion!

另一个提示:请您尝试下载UART的FW而不是使用JTAG?您是否能够以UART编程模块?

Thanks, PM_Dialog

HDHDH DDJEK.
Offline
Last seen:1个月6天前
加入:2020-06-03 14:15
I tried that and it failed to

I tried that and it failed to recognise the device again

PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
你好呀,

你好呀,

In my previous comment I meant to program the module through 1-wire UART on P0_5. In order to program the Module using the 1-wire UART, the programmer needs to be able to reset the DA14531. This can be achieved by cycling power to the module or by using the RST input.

Can you program it through SmartSnippets Toolbox using UART?

Thanks, PM_Dialog

KalpeshB
Offline
Last seen:2 months 3 days ago
加入:2020-09-01 20:12
我如何绕过Mac写

我如何绕过Mac写in OTP with my MAC written into firmware.

KalpeshB
Offline
Last seen:2 months 3 days ago
加入:2020-09-01 20:12
我如何绕过Mac写

我如何绕过Mac写in OTP with my MAC written into firmware.

PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
嗨Kalpeshb,

嗨Kalpeshb,

Thanks for your comment. What is the device that you are using? The DA14531 SoC, or the DA14531 TINY module?

If you are using the DA14531 SoC (as per the initial post), the BD address filed in the OTP head in not programmed, so you can store you own BD address.

Thanks, PM_Dialog