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 week 19 hours ago
加入:2020-06-03 14:15
Programming issues with DA14531

I acquired 5 DA14531 BLE modules, I have an issue with 3 off them not programming at all. They seem to be "bricked" as the JLink interface doesn't seem to be able to connect with them.

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:1 day 21 hours ago
工作人员
加入:2018-02-08 11:03
Hi Hdhdh Ddjek,

Hi Hdhdh Ddjek,

谢谢你的问题。

为了确保我已经理解这个问题: You have brought five(5) 531 modules (part number : DA14531MOD-00F01002) and you have installed them in a custom board.

To do so, you are trying to program your board via Pro Motherboard DK using 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 week 19 hours ago
加入:2020-06-03 14:15
I received 5 off modules,

I received 5 off modules, DA14531MOD from a supplier. I made 5 custom PCBs with them as I had previously tested my code on the development kit, DA14531MOD-00DEVKT-P which worked.

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:1 day 21 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 week 19 hours ago
加入: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:1 day 21 hours ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

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:1 month 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:1 day 21 hours ago
工作人员
加入:2018-02-08 11:03
Hi Hdhdh Ddjek and me2a3ldm

Hi Hdhdh Ddjek and 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

Additionally, can you please share the board configuration (jumpers, fly wires etc. ) ?

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 week 19 hours ago
加入:2020-06-03 14:15
Apologies, Hdhdh Ddjek and

Apologies, Hdhdh Ddjek and me2a3ldm are both my accounts, sorry for the confusion.

I lowered the JTAG clock speed as directed in the tutorials to 2MHz but still cannot detect an IDCODE in Keil.

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

丙氨酸ached is my setup using single wire UART configuration.

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:1 day 21 hours ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

No problem for the confusion!

Another hint : Could you please try to download FW over UART instead of using JTAG? Are you able to program the module over UART?

Thanks, PM_Dialog

Hdhdh Ddjek
Offline
Last seen:1 week 19 hours ago
加入: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:1 day 21 hours ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

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:1 month 4 days ago
加入:2020-09-01 20:12
How i can bypass MAC written

How i can bypass MAC written in OTP with my MAC written into firmware.

KalpeshB
Offline
Last seen:1 month 4 days ago
加入:2020-09-01 20:12
How i can bypass MAC written

How i can bypass MAC written in OTP with my MAC written into firmware.

PM_Dialog
Offline
Last seen:1 day 21 hours ago
工作人员
加入:2018-02-08 11:03
Hi KalpeshB,

Hi 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