error compiling Multiperipheral_Example project

Learn MoreFAQsTutorials

10 posts / 0 new
Last post
koukou
Offline
Last seen:1 week 6 days ago
加入:2019-10-14 10:42
error compiling Multiperipheral_Example project
I am trying to compile the SW example: DA14531- DA14585-586_Multiperipheral_Example. but it shows an error.

I am trying to run the python script in order to link them to the SDK. but it also displays an error.

Device:
PM_Dialog
Offline
Last seen:1 hour 8 min ago
工作人员
加入:2018-02-08 11:03
Hi koukou,

Hi koukou,

Can you please indicate the SDK version that you are using in order to link the SW Example with the SDK?

Thanks, PM_Dialog

koukou
Offline
Last seen:1 week 6 days ago
加入:2019-10-14 10:42

I used the sdk 6.0.14.1114 and the sdk 6.0.10.511 but there is an error during the execution of the python script in both cases

PM_Dialog
Offline
Last seen:1 hour 8 min ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

Please try to download again theDA14585/DA14586 - DA14531 Multiperipheral Exampleand theSDK6.0.14.1114 for DA14531 and DA14585/6. I would recommend using a clean SDK directory in order to execute the python script.

After that extract the zip file, open a terminal and run:

> cd /project_environment

> python dlg_make_keil5_env_v2.000.py -sdkpath “

For instance:

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

I tried in my side and I am able to link the SW example with the SDK.

If toy still have problems with the linking, please share a screenshot from the terminal.

Thanks, PM_Dialog

koukou
Offline
Last seen:1 week 6 days ago
加入:2019-10-14 10:42
here is a screenshot of the
here is a screenshot of the terminal.
Attachment:
PM_Dialog
Offline
Last seen:1 hour 8 min ago
工作人员
加入:2018-02-08 11:03
Hi koukou,

Hi koukou,

What is the version of the Python that you have installed in your PC?

Thanks, PM_Dialog

koukou
Offline
Last seen:1 week 6 days ago
加入:2019-10-14 10:42
python 3.5(64 bit)

python 3.5(64 bit)

PM_Dialog
Offline
Last seen:1 hour 8 min ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

In my side I am using Python version 3.7.1. Can you please give a try with that version? Additionally, are you able to link any oyther SW Example with the SDL6.0.14?

Thanks, PM_Dialog

koukou
Offline
Last seen:1 week 6 days ago
加入:2019-10-14 10:42

when i used python 3.7.1 i managed to link the SW example to the SDK. now when i launched the project i get this error

Attachment:
PM_Dialog
Offline
Last seen:1 hour 8 min ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

Please take a look at the attached screenshots and make sure that you have the same configurations. The initialization file located under ..\..\..\6.0.14.1114\sdk\common_project_files\misc\sysram_case23.ini.

Thanks, PM_Dialog