SDK ${ATTACHED_SDK_VERSION} is not found in workspace

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SDK ${ATTACHED_SDK_VERSION} is not found in workspace

跳至解决方案
3,872 次查看
bjs
Contributor III

Hi,

I installed S32DS and tried the hello world example for s32k144 but failed with this information. 

Not sure if there is something wrong with the example code or with the S32DS settings.

Does anyone have a clue of this issue?

Thanks.

S32DS versionS32DS version

Installation detailsInstallation details

bjs_0-1616772214121.png

 

 

0 项奖励
回复
1 解答
3,858 次查看
mikedoidge
NXP Employee
NXP Employee

Hello @bjs ,

After you create the project using the New Project from Example wizard, the tools should detect that the code should be generated from Processor Expert and perform the code generation into the 'Generated_Code' folder. The following should appear in the Console view:

Mar 26, 2021 11:19:57 AM Starting Processor Expert service
System directory = C:\NXP\S32DS_ARM_v2.2\eclipse\ProcessorExpert
Internal cache directory = C:\ProgramData\Processor Expert\PECache\d0181e27
Processor Expert license file = not used (no license file)
Mar 26, 2021 11:19:59 AM Successfully started Processor Expert service
Cannot create new item, could not load item: symbol = SdkSpecificMethods item = Beans\interrupt_manager\Items\"CompVersion"\interrupt_manager_methods.item
Cannot create new item, could not load item: symbol = ClocksSettings item = CPUs\"CpuName"\CPU_ClockSettings.item
Cannot create new item, could not load item: symbol = SdkSpecificPinSettings item = Beans\PinSettings\Items\"CompVersion"\PinSettings.item
Cannot create new item, could not load item: symbol = SdkSpecificMethods item = Beans\interrupt_manager\Items\"CompVersion"\interrupt_manager_methods.item
hello_world_s32k144: Code Generation before Build command
{{DEVELOPMENT}} Duplicated symbol found during saving component state - invalid component: PinSettings, symbol: NVIC
{{DEVELOPMENT}} Duplicated symbol found during saving component state - invalid component: PinSettings, symbol: NVIC_UserName
{{DEVELOPMENT}} Duplicated symbol found during saving component state - invalid component: PinSettings, symbol: SCB
hello_world_s32k144: Mar 26, 2021 11:20:44 AM Code generation started.
hello_world_s32k144: Code generation time was 5633 ms.
hello_world_s32k144: project was successfully generated.

 

Since I did not see the 'Generated_Code' folder listed in the Project Explorer view, this was not done so some of the needed files are not existing in your project, causing the build failure.

To resolve this, select Show Views from the Processor Expert menu in the toolbar.

mikedoidge_0-1616775919242.png

 

Next, select 'Generate Processor Expert Code' from the Components view.

mikedoidge_2-1616776052888.png

The code should then be generated into the Generated_Code folder and then you should be able to try the build again.

Best Regards,

Mike

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,369 次查看
FengDuoLi
Contributor I

FengDuoLi_0-1735194279811.png

image.png

how to deal with it?

0 项奖励
回复
3,839 次查看
bjs
Contributor III

Hi Mike,

Thanks for your help. I can build the project now.

Regards,

Bruce

 

 

0 项奖励
回复
3,859 次查看
mikedoidge
NXP Employee
NXP Employee

Hello @bjs ,

After you create the project using the New Project from Example wizard, the tools should detect that the code should be generated from Processor Expert and perform the code generation into the 'Generated_Code' folder. The following should appear in the Console view:

Mar 26, 2021 11:19:57 AM Starting Processor Expert service
System directory = C:\NXP\S32DS_ARM_v2.2\eclipse\ProcessorExpert
Internal cache directory = C:\ProgramData\Processor Expert\PECache\d0181e27
Processor Expert license file = not used (no license file)
Mar 26, 2021 11:19:59 AM Successfully started Processor Expert service
Cannot create new item, could not load item: symbol = SdkSpecificMethods item = Beans\interrupt_manager\Items\"CompVersion"\interrupt_manager_methods.item
Cannot create new item, could not load item: symbol = ClocksSettings item = CPUs\"CpuName"\CPU_ClockSettings.item
Cannot create new item, could not load item: symbol = SdkSpecificPinSettings item = Beans\PinSettings\Items\"CompVersion"\PinSettings.item
Cannot create new item, could not load item: symbol = SdkSpecificMethods item = Beans\interrupt_manager\Items\"CompVersion"\interrupt_manager_methods.item
hello_world_s32k144: Code Generation before Build command
{{DEVELOPMENT}} Duplicated symbol found during saving component state - invalid component: PinSettings, symbol: NVIC
{{DEVELOPMENT}} Duplicated symbol found during saving component state - invalid component: PinSettings, symbol: NVIC_UserName
{{DEVELOPMENT}} Duplicated symbol found during saving component state - invalid component: PinSettings, symbol: SCB
hello_world_s32k144: Mar 26, 2021 11:20:44 AM Code generation started.
hello_world_s32k144: Code generation time was 5633 ms.
hello_world_s32k144: project was successfully generated.

 

Since I did not see the 'Generated_Code' folder listed in the Project Explorer view, this was not done so some of the needed files are not existing in your project, causing the build failure.

To resolve this, select Show Views from the Processor Expert menu in the toolbar.

mikedoidge_0-1616775919242.png

 

Next, select 'Generate Processor Expert Code' from the Components view.

mikedoidge_2-1616776052888.png

The code should then be generated into the Generated_Code folder and then you should be able to try the build again.

Best Regards,

Mike

0 项奖励
回复