I am using DA14531 MOD with SDK 6.0.14.
I have modified the exampleMeasuring Temperatureprovided on your web page//www.xmece.com/sites/default/files/da14531-da14585...based on my requirement.
When I first download the firmware .hex file into the board usingSmartSnippets ToolBox v5.0.14then the device is visible in my BLE scanner application I am able to get data by requesting it.
但是当我断开电源并连接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
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
Thanks for your quick response.
DK is powered from PC, Yes I am able to programDaughterboard.
I am programming DA14531MOD-00F1DB-P (Daughterboard) with DA14531 Pro DevKit. WithJ1jumper 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
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 useDialog Smartbond Flash Programmer for Windows OSorSmartSnippets Toolbox V5.0.14 for Windows OSto 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
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 externalDA14531 SmartBond TINY Modulewith my DA14531 ProDev Kit Motherboard. How can I do that?
Can you please explain to me about this.
Thank You
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