I am trying to use the example file "Reading I2C Accelerometer BLE" with a DA14531 TINY Module.
//www.xmece.com/sites/default/files/da14531-da14585...
I am following the instructions on running the Python script here:
When I run the script I get the following:
D:\DiaSemi\DA14531-DA14585-586_Reading_I2C_Accelerometer_BLE\project_environment
>python dlg_make_keil5_env_v1.006.py -sdkpath "D:\DiaSemi\SDK_6.0.14.1114\DA145xx_SDK\6.0.14.1114"
KEIL PROJECT NAME :: D:\DiaSemi\DA14531-DA14585-586_Reading_I2C_Accelerometer_BLE\project_environment\ADXL345.uvprojx IS A VALID PROJECT DIRECTORY...
SDK LOCATION :: D:\DiaSemi\SDK_6.0.14.1114\DA145xx_SDK\6.0.14.1114 IS FOUND ...
Traceback (most recent call last):
File "dlg_make_keil5_env_v1.006.py", line 792, in
run_application(args["sdkpath"])
File "dlg_make_keil5_env_v1.006.py", line 780, in run_application
setup_keil5_project_environment()
File "dlg_make_keil5_env_v1.006.py", line 607, in setup_keil5_project_environment
update_scatter_file(XML_PATTERN_LDADS_SCATTERFILE)
File "dlg_make_keil5_env_v1.006.py", line 574, in update_scatter_file
with open(cur_scatter_file_path) as my_file:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\DiaSemi\\SDK_6.0.14
.1114\\DA145xx_SDK\\6.0.14.1114\\sdk\\common_project_files\\scatterfiles\\scatte
rfile_common.sct'
的Python script is looking for scatterfile_common.sct but this file is not included in SDK6.0.14. The link for SDK 6.0.12 downloads 6.0.14.
我在哪里得到scatterfile_common.sct ?
Thank you.
Hi Jim,
Thanks for your question and pointing this out. I will ask the Team internally to update the pythons script, as this one was for SDK6.0.12. In order to figure this out, please try the steps below as a work around:
For instance:
Please let me know if you can link the SW example with the SDK6.0.12 and run it correctly.
Thanks, PM_Dialog
That worked. Thank you!
-Jim
Hi Jim,
Glad that you got it working and thanks for accepting my answer.
Thanks, PM_Dialog
Is there any description of the software archecture used in this example? How does it work? What does the Kernel do? etc.
Thanks
Hi OTLABS,
I would recommend first checking the Readme file which is within the SW Example. All our SW Example contain a Readme file. Regarding the SDK architecture, please refer to theUM-B-119: DA14585-DA14531 SW Platform Referenceuser manual.
Thanks, PM_Dialog