Device is not visiable in BLEScanner after I disconnect and connect the power supply to DA14531 MOD

⚠️
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 https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
ravikiran4
Offline
Last seen: 1 year 5 months ago
Joined: 2020-08-05 09:45
Device is not visiable in BLEScanner after I disconnect and connect the power supply to DA14531 MOD

I am using DA14531 MOD with SDK 6.0.14.

I have modified the example Measuring Temperature provided on your web page https://www.dialog-semiconductor.com/sites/default/files/da14531-da14585... based on my requirement. 

When I first download the firmware .hex file into the board using SmartSnippets ToolBox v5.0.14 then the device is visible in my BLE scanner application I am able to get data by requesting it.

But when I disconnect the power supply and connect other power supply to that BLE module then the device is not visible in my BLE scanner application. (Simply, Device is not advertising when there is a failure in power supply, So I am not able to view device information to connect to the device).

How can I set the device to available whenever the power is ON, Will I need to disable or enable any MACRO to solve this issue. Can anyone of you please help me with this problem.?

 

ThankYou

D.RaviKiran

PM_Dialog
Offline
Last seen: 2 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi ravikiran4,

Hi ravikiran4,

Thanks for your question. Would it be possible to share more details for your HW setup, so that I can understand what is getting wrong? How the DK is powered? Are you able to program it?

Thanks, PM_Dialog

ravikiran4
Offline
Last seen: 1 year 5 months ago
Joined: 2020-08-05 09:45
Thanks for your quick

Thanks for your quick response.

DK is powered from PC, Yes I am able to program Daughterboard.

I am programming DA14531MOD-00F1DB-P (Daughterboard) with DA14531 Pro DevKit. With J1 jumper settings on Pro DevKit as (SWCLK, SWDIO, RST).

For the first time after downloading the .hex code file, it is working fine. When I remove the USB from the PC and connecting it again, I am not able to see the device on my BLE Scanner application. Same case with when I reset the pin (P0_0/RESET).

I am thinking that the program is getting erased after a power failure or resetting the DA14531MOD-00F1DB-P.

I am not having any idea in which memory I am downloading the program in DA14531MOD-00F1DB-P. Can you help me with this issue?

ThankYou

D.Ravikiran

PM_Dialog
Offline
Last seen: 2 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi ravikiran4,

Hi ravikiran4,

Thanks for your explanation.

One more question : Which tool are you using? Keil IDE, Flash Programmer or SmartSnippets Toolbox?

If you are using Keil IDE to program the module, then the application code is downloaded to the System-RAM, so it will be lost after a reset or a cycle off and you will have to re-program it.

You can use Dialog Smartbond Flash Programmer for Windows OS or SmartSnippets Toolbox V5.0.14 for Windows OS to program the SPI flash, so that the code will be kept after the reset or power-off.

Please see the following user manuals :

UM-B-138: Programming flash User Manual (HTML)

UM-B-083 SmartSnippets Toolbox User Manual (HTML)

Thanks, PM_Dialog

ravikiran4
Offline
Last seen: 1 year 5 months ago
Joined: 2020-08-05 09:45
I am using SmartSnippets

I am using SmartSnippets ToolBox v5.0.14. even though I am facing the issue.

Now I am using your Dialog SmartBond Flash Programmer v1.0.4. It is working fine after reset the board also. Good.

But with SmartBond Flash Programmer I am only able to program using JTAG pins.

I want to use Single Wire UART programming to my external DA14531 SmartBond TINY Module with my DA14531 ProDev Kit Motherboard. How can I do that?

 

Can you please explain to me about this.

Thank You

D.RAVIKIRAN

PM_Dialog
Offline
Last seen: 2 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi D.RAVIKIRAN,

Hi D.RAVIKIRAN,

In the Board Setup, ensure that you have selected the 1-wire UART on P05 and the correct GPIOs for the SPI flash.

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

It is also described in the following document :

http://lpccs-docs.dialog-semiconductor.com/UM-B-139-Getting-Started-with-DA14531-TINY-Module/05_Software_Development_Tools/Software_Development_Tools.html

Thanks, PM_Dialog