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.
Device:
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
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.
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
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.
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
Yes that is what I have tried, it still cannot be programmed unfortunately
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
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.
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
I tried that and it failed to recognise the device again
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
How i can bypass MAC written in OTP with my MAC written into firmware.
How i can bypass MAC written in OTP with my MAC written into firmware.
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