simple_beacon_example does not work with SDK 6.0.14.1114

⚠️
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//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
andrewl
Offline
Last seen:5 days 13 hours ago
加入:2020-11-05 02:45
simple_beacon_example does not work with SDK 6.0.14.1114

When I run the

python dlg_make_keil5_env_v1.006.py -sdkpath "c:\\sdk\\dialog\\6.0.14.1114\\"

I get:

"FileNotFoundError: [Errno 2] No such file or directory: 'c:\\\\sdk\\\\dialog\\\\6.0.14.1114\\sdk\\common_project_files\\scatterfiles\\scatterfile_common.sct'"

This doesn't happen with 6.0.12.

Thanks.

Device:
PM_Dialog
Offline
Last seen:4小时33分钟前
Staff
加入:2018-02-08 11:03
Hi andrewl,

Hi andrewl,

The Simple Beacon SW Example, as all the DA14531 SW Examples, does not include the SDK – if you check the download package, you will see that only the application layer is included. So, before using the example, first you will need to link it with the SDK.

Please check the following document :

http://lpccs-docs.dialog-semiconductor.com/Software_Example_Setup/index.html

If you are using the SDK6.0.14, please follow the below procedure too, as the dlg_make_keil5_env_v1.006.py was for SDK6.0.12:

  1. Download the DA14585/DA14586 - DA14531 Multiperipheral Example
  2. Copy the DA14531- DA14585-586_Multiperipheral_Example\project_environment\dlg_make_keil5_env_v2.000.py and past it into da14531-da14585-586_reading_i2c_accelerometer_ble\project_environment
  3. 执行新的python script :

> python dlg_make_keil5_env_v2.000.py -sdkpath “

For instance:

> python dlg_make_keil5_env_v2.000.py -sdkpath “C:\dev\6.0.12”

We are working to update the python script on this example, so that can be ran with SDK6.0.14. Thanks for point this out!

Thanks, PM_Dialog