Learn MoreFAQsTutorials

8 posts / 0 new
Last post
balaji
Offline
Last seen:1 day 5 hours ago
加入:2019-12-06 06:48
SPI Flash error

Hi Dialog,

I'm using DA1431 Basic Dev kit. I made two custom boards with DA14531 module. I debug and did SPI flash for both modules with Smart Snippet Toolbox using JTAG interface.

pin configurations

P0_2 - SWCLK

P0_10 - SWDIO

VBAT - 3.3 V

GND - GND

For past two days both modules working fine. Now I'm have a issue with one of the custom board module. which shows following error.

[ERROR General @20-09-29 10:15:46]

No known chip found while opening JLink connection. Terminating proccess...

I tried to get deviced ID through Keil , It says noJ Link device found. I tried other custom board it works well and good with Basic Dev Kit.

注意:每次我定制板连接,I switch DIP Pin of SWCLK and SWDIO to OFF condition.

Thanks & Regards,

BALAJI K S

PM_Dialog
Offline
Last seen:23 min 41 sec ago
Staff
加入:2018-02-08 11:03
Hi Balaji,

Hi Balaji,

Thanks for your question online. When trying to program DA14531 SMARTBOND TINY™ MODULE using Keil IDE, an error may occur when you are trying to open the debugger session. To solve this, you should lower the JTAG clock speed to 2MHz.

In case of this error occurs, please follow the steps described in Section 6.1 Keil JTAG default Clock Speed in UM-B-141 user manual to solve it.

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

Could you please check this with JTAG clock at 2MHz and let me know?

Thanks, PM_Dialog

balaji
Offline
Last seen:1 day 5 hours ago
加入:2019-12-06 06:48
Hi Dialog,

Hi Dialog,

I tried with 2 MHz , still same J link not detected while debug and so i tried to flash, i opened Toolbox with JTAG interface it throws following error.

[INFO General @20-09-29 15:42:39] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:40] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:41] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:41] Could not measure total IR len. TDO is constant high.
[INFO General @20-09-29 15:42:41] Could not measure total IR len. TDO is constant high.
[ERROR General @20-09-29 15:42:41] No known chip found while opening JLink connection. Terminating proccess...
[ERROR SPI Flash @20-09-29 15:42:41] Failed downloading firmware file to the board.
[ERROR SPI Flash @20-09-29 15:42:41] Failed configuring SPI Flash ports and pins.

Note : I checked power supply for module its 3.3 V between Vbat & GND and no short circuit in between.

I was not able to connect and use this module from yesterday. How to resove above errors. let me know at earliest.

If i reset the module how to do it ?

Regards,

BALAJI

PM_Dialog
Offline
Last seen:23 min 41 sec ago
Staff
加入:2018-02-08 11:03
Hi Balaji,

Hi Balaji,

Could you please indicate if the on-module flash is programmed with a firmware that disables the debugger? For instance, a hibernation-based firmware. Additionally, is is possible to connect via 1-wire UART on P05?

Thanks, PM_Dialog

balaji
Offline
Last seen:1 day 5 hours ago
加入:2019-12-06 06:48
Hi Dialog,

Hi Dialog,

No i have programmed it with BLE peripheral example with a custom sensor interfaced. so no sleep modes are enabled in that. I have Basic USB dev kit and if i try to connect . over 1-wire UART , jumper settings are not avaialble as in pro board so I'm getting following issue.

Error while sending SOH to FTDI cable

Could you suggest me a circuit for flashing the custom board with 1-wire UART.

Note : I connected P0_5 of DA14531 module with FTDI and is resistor mandatory for flash ?

PM_Dialog
Offline
Last seen:23 min 41 sec ago
Staff
加入:2018-02-08 11:03
Hi Balaji,

Hi Balaji,

You mentioned that you are using the 531 Basic DK. Could you please share an image of the DK?

For the DA14531, there is the Pro-DK and the USB Kit.

//www.xmece.com/products/da14530-da14531-development-kit-pro

//www.xmece.com/products/da14531-development-kit-usb

Thanks, PM_Dialog

balaji
Offline
Last seen:1 day 5 hours ago
加入:2019-12-06 06:48
Hi Dialog,

Hi Dialog,

we use this following part for development

//www.xmece.com/products/da14531-development-kit-usb

regards,

BALAJI

PM_Dialog
Offline
Last seen:23 min 41 sec ago
Staff
加入:2018-02-08 11:03
Hi Balaji,

Hi Balaji,

This not the Basic DK - this is our DA14531 USB Kit.

If I am not mistaken, you are using the USB Kit to program your own board. Could you please check if you are using the proper setup?

http://lpccs-docs.dialog-semiconductor.com/Tutorial_SDK6/debug_probe.html

Thanks, PM_Dialog