I am using the PAN1740-USB evaluation system and trying to get the latest SPS code to work. I have been able to successfully build and debug my system after configuring the right SWD flash tools. When running the latest code I had to comment out all the forced assembly instruction breakpoints. Finally I was able to get the device to advertise, however this is only once per debug session. If I start a new debug session and am scanning for BLE devices I see the DA1458x appear, however it only does this once. Even a reset cannot get the device to re-advertise. I followed through the maze of code and the advertising function [ app_adv_func? ] does appear to only get called once per debug session. I am curious what in this code could be stopping the advertising events?
Hello Christopher, Panasonic are looking into the DSPS on their PAN1740. I'll forward them this thread and let them respond - it is our intention to fully support the DSPS working on PAN1740. BR JE_Dialog
BR JE_Dialog
I think I figured out the problem, it looks like there area few problems with bringing up the PAN1740 with Keil and the SPS example code ( I assume any code using the standard template too).
1.) Load function on Keil does not work with this built in Segger device, I havnt been able to figure out what algorithm it needs to work (so forced to use debug function)
2.) Debug function doesn't work without modification
a. Comment out all the forced assembly breakpoints and the loops associated
b. Comment out the infinite loop that prevents debugging "while ((GetWord16(SYS_STAT_REG) & DBG_IS_UP) == DBG_IS_UP) {}; "
c. Comment out the line below the closes the debugger "SetBits16(SYS_CTRL_REG, DEBUGGER_ENABLE, 0);"
d. From other comments in the forum, supposedly the debugger/jlink and sleep mode do not work together. Thus, you need to comment out the EXT sleep mode in da14580_config.h
/*Sleep modes*/
//#define CFG_EXT_SLEEP
Hopefully this helps a few others
Thanks for letting us know Christopher. Ingo @ Panasonic is currently checking out the DSPS support on the USB dongle - we had a problem also wth our BASIC kit and have fixed that (jumper configuration is wrong - the document will be updated later Friday UK time). On our EXPERT kit it is working like a dream , including extended sleep support (as it has the HW flow control supported which BASIC and USB dongle of PAN1740 doesn't ) and now we've identified the issue on the BASIC kit, we just have to check out the PAN1740 dongle... Stay tuned . BR JE_Dialog
Hi JE_Dialog ,
I have already rosolved advertising issues but when i try to enable security procedures by define CFG_APP_SEC . But after i reloaded , there is nothing happen! I mean my android device still connect to DA14580 basic kit nomarlly. I do not know how to implement securiry procedures. Could you help me!
Thanks
Hi Chungtran,
I guess you are asking OOK feature. The OOK feature will be included in next version SDK.
Regards!
PY
Dear PY_Dialog,
Oh really? If so , thanks for your help!
best regards!
Chung
We have updated the application note to describe the changes needed to run the DSPS on the PAN1740 dongle:
http://pideu.panasonic.de/files/Documents/WM%20Documents/PAN1740/PAN1740...
Hello,
Even I am facing the same issue.
I have a customized board using DA14580-01,
我使用的是DSPS配置文件,每当用户使用DSPS向DA14580发送数据时,我都需要执行某些操作,比如在SPI接口上向我的一个从机写入数据(整个过程大约需要50秒,这段时间之间不能中断),整个任务都正常工作,使用DSPS Android应用程序向DA14580传输7-8个数据,但后来我发现我的BLE设备正在断开连接。我必须重置设备,使我的DA14580重新开始工作。
Kindly let me know if there is any possible solution available.
Thanks,
asmaitha
你好Asmaitha,请参考to the reply on this issue as below : its not possible to service a task that takes about 50 seconds and maintain a connection. BR JE_Dialog
http://support.dialog-semiconductor.com/dsps-gets-disconnected