将其放入休眠后无法连接到DA14531

学到更多FAQsTutorials

13个帖子/ 0新
Last post
创新的
Offline
Last seen:3 months 1 week ago
Joined:2020-09-07 17:16
将其放入休眠后无法连接到DA14531

Hello,

I tried to get the DA14531 module in hibernation with theda14531_configuring_da14531_hibernation_modeexample code. This example was not working properly, because I measured a current consumption of 10uA, both on the power profiler and a multimeter. After trying to flash a different example, I couldn't get the module to connect on the pro devkit. I've had similar problems before, but when I flashed the module via UART it worked fine again. Now, the module isn't responding to SWD, 1-wire UART, 2-wire UART, and SPI.

Is there a way to recover the module from its hibernation?

谢谢,
Martin

PM_Dialog
Offline
Last seen:4 hours 33 min ago
Staff
Joined:2018-02-08 11:03
Hi innovativepower,

Hi innovativepower,

Thanks for your question and for your interest in our DA14531 Module BLE solution.

请让我在详细检查它,我会尽快回复你。

谢谢,PM_Dialog

PM_Dialog
Offline
Last seen:4 hours 33 min ago
Staff
Joined:2018-02-08 11:03
嗨马丁,

嗨马丁,

Apologies for my delay response. Can I ask what is the SDK version that you are using?

Please try to boot with a different from 1-wire UART on P05 which a prior step than booting from the external SPI Slave in the booting sequence. Please see section 6 Booting from 1-wire UART from the following application note.

//www.wsdof.com/sites/default/files/an-b-072-da14531_booting_options_v1.4.pdf

Once the device booted, then try to connect to the SPI flash and erase it.

谢谢,PM_Dialog

创新的
Offline
Last seen:3 months 1 week ago
Joined:2020-09-07 17:16
Hi,

Hi,

我尝试从1线UART启动它,但模块没有响应重置。

I'm using SDK 6.0.14.1114

谢谢,
Martin

PM_Dialog
Offline
Last seen:4 hours 33 min ago
Staff
Joined:2018-02-08 11:03
嗨马丁,

嗨马丁,

Could you please indicate if you are using the Pro-DK or a custom board? In case of Pro-DKm please check if you are using the correct jumper configuration. See 5.9.1 Single wire UART, JTAG, RESET inUM-B-141: DA14531 SMARTBOND TINY™ MODULE Development Kit Pro Hardware User Manual.

谢谢,PM_Dialog

创新的
Offline
Last seen:3 months 1 week ago
Joined:2020-09-07 17:16
Hi,

Hi,

我正在使用Pro-DK,我用正确的跳线设置遵循了手册中的说明。

谢谢,
Martin

PM_Dialog
Offline
Last seen:4 hours 33 min ago
Staff
Joined:2018-02-08 11:03
嗨马丁,

嗨马丁,

I am able to boot form 1-wire UART in my side. Can you please check if the P0_5, P0_5, 115200 Bd is selected in the Board Setup?

请参阅图20单个UART通信。

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

谢谢,PM_Dialog

创新的
Offline
Last seen:3 months 1 week ago
Joined:2020-09-07 17:16
Hi,

Hi,

Yes, P05 is selected and it still doesn't connect. The problem seems to be that the module is not resetting, with the button on the mother board as well as the button on the daughter board.

谢谢,
Martin

PM_Dialog
Offline
Last seen:4 hours 33 min ago
Staff
Joined:2018-02-08 11:03
嗨马丁,

嗨马丁,

您能从SmartSnippets Toolbox中发送日志文件吗?此外,你能探讨p00吗?P00上的高信号将产生复位。

谢谢,PM_Dialog

创新的
Offline
Last seen:3 months 1 week ago
Joined:2020-09-07 17:16
Hi,

Hi,

I tried probing the pin with a logic analyser, and P00 stays low all the time. On P05 a message is sent prior to resetting the module: {0x00, 0x01, 0x49, 0x66, 0x2D, 0x3D, 0xC0}. The voltage on P00 is about 40mV when pressing the button, so it may be held low by a GPIO pin? When I forced the pin high for a very short time, it didn't have any effect.

尝试刷新时,这是日志文件:

[INFO SPI Flash @20-10-06 09:44:49] Firmware File /home/martin/DiaSemi/SmartSnippetsStudio2.0.14/Toolbox/common_resources/SupportPackages/DA1453x/tool box_resources/common/flash_programmer_531.bin has been selected for downloading. [INFO SPI Flash @20-10-06 09:44:49] Connection to /dev/ttyUSB0 port has successfully opened. [INFO SPI Flash @20-10-06 09:44:49] Started download procedure... [ACTION SPI Flash @20-10-06 09:44:50] Please press the hardware reset button on the board to start the download process. [ERROR SPI Flash @20-10-06 09:44:57] Timeout: Reset signal not detected for more than 8000 msecs. [INFO SPI Flash @20-10-06 09:44:57] Please try again. If problem persists refer to User Manual AN-B- 072 (//www.wsdof.com/an-072-booting-from-serial- interface) and check jumper settings. For booting from 2- wire UART (P0_0 and P0_1) see Figure 10. For booting from 1-wire UART P0_5 see Figure 6. [INFO Booter @20-10-06 09:44:57] Successfully disconnected from port /dev/ttyUSB0. [ERROR SPI Flash @20-10-06 09:44:57] Failed downloading firmware file to the board.

谢谢,
Martin

PM_Dialog
Offline
Last seen:4 hours 33 min ago
Staff
Joined:2018-02-08 11:03
嗨马丁,

嗨马丁,

Please probe the P05 using a logic analyzer. Once the reset button is pressed and the chip reboots, you should see the 0x02 on the P05. Can you verify this one?

谢谢,PM_Dialog

创新的
Offline
Last seen:3 months 1 week ago
Joined:2020-09-07 17:16
Hi,

Hi,

当我尝试用逻辑分析仪捕获序列时,我意外发现了一个修复程序。当芯片启动时,无法重置它,因为芯片保持销钉低电平。强制重置引脚高没有帮助。

I accidentally left the logic analyser running while power cycling the pro dk(re-plugging the USB). On the log I saw P00(reset) going high and P05 responded with the 0x02 you mentioned. So, the module does respond to a reset prior to booting.

I was able to flash the board again by power cycling the module while trying to connect to it via the smartsnippet toolbox. This can be done by unplugging the daughter board from the main board, and then plugging it back in when the log asks you to reset the module. Then the reset is detected, because the module hasn't booted yet, after which I flashed the module.

谢谢你的时间,
Martin

PM_Dialog
Offline
Last seen:4 hours 33 min ago
Staff
Joined:2018-02-08 11:03
嗨马丁,

嗨马丁,

高兴你找到你的问题。如果你有any follow-up question, please raise a new forum post.

谢谢,PM_Dialog