I'm trying to run some demo code before custom programming my DA1496 PRO board. I haven't edited the ble_adv code at all but when I build the code I get the following 3 errors:
1) fatal error: ad_pmu_h: No such file or directory
2): * * * (sdk / sys_main / sys_power_mgr_da1496x.o] Error 1
3) Symbol 'ATT_PERM_READ' could not be resolved
I assume the second and third errors stem from the first, "fatal error". This error lists the resource as "sys_power_mgr_da1469.c" and the path as "/ble_adv/sdk/sys_main". However when I navigate through the project explorer using the path "/ble_adv/sdk/sys_main/sys_power_mgr" the file ad_pmu.h appears in the project explorer tab.
I've attached a picture of the project explorer (which shows ad_pmu.h). Why am I getting this error and what can I do to resovle it?
Hi taylora20,
I would suggest you to unzip the SDK into a short folder path. For example, put the new SDK in this path : C:\SDK\SDK_10.0.6.90. All the SDK example should run without any modifications. Then, launch the SmartSnippets studio (latest version is the recommended) and select your new workspace directory (C:\SDK\SDK_10.0.6.90). After that, import and build the ble_adv project. Please let me know if you are able to build it successfully.
Thanks, PM_Dialog
Hi PM_Dialog,
我已经have the sdk into a short folder path. I made that correction based off a response I got to a different help forum post (linked below). The sdk is currently in: C:\Dialog\SDK_10.0.6.90. I also re-downloaded the latest version of SmartSnippets studio and re-downloaded the SDK 10.0.6.90 (to wipe the meta data). All of these actions still result in errors mentioned in my above post. Do you have any other advice?
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/demo-code-bleadv-does-not-build
Hello taylora20 . I see tha you used DA1469x device. Could you please send me your mail to ask you some questions about it , because i am a new user of this device ?
Thanks in advance.
Hi Jimkalou,
I dont know how helpful I will be I bought the device a couple weeks ago and have had nothing but issues with it so far. I haven't been able to run any of the demo codes much less program it as I orginially intended.
Hi taylora20 and jimkalou,
All the SDK examples should be run as they are provided by the SDK without any modification. Please do the steps below:
Thanks, PM_Dialog
我跟着你的额外的instructions and still cannot build the code ble_adv. When I tried to build (using the Debug_QSPI build option) I still generate the following errors:
1) fatal error: ad_pmu.h: No such file or directory
2) make: *** [sdk/sys_man/sys_power_mgr_da1469x.o] Error 1
I've attached an image of the settings configuration for ble_adv I found by following your instructions. As you can see the checkbox "Generate errors instead of warnings" is unchecked. I've spent the last month trying to debug Dialog's demo code and have made no progress on developing my personal project. Is there anything else I can try to get SmartSnippets Studio working properly? I assume that if the pre-made demo code doesn't work I can't move on to developing my own project. Should I continue to assume the problem has something to do with my version of the SDK and/or SmartSnippets and has nothing to do with the actual code in Ble_Adv?
Thanks,
taylora20
Hi taylora,
Please try to download from the support webasite and unzip the SDK again in the your C:/ . I am not able to replicate this error, so something you did was wring. Also, can you please try it with another example of the SDK?
Thanks, PM_Dialog