SDK ${ATTACHED_SDK_VERSION} is not found in workspace

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SDK ${ATTACHED_SDK_VERSION} is not found in workspace

ソリューションへジャンプ
1,655件の閲覧回数
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 解決策
1,641件の閲覧回数
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 件の賞賛
2 返答(返信)
1,622件の閲覧回数
bjs
Contributor III

Hi Mike,

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

Regards,

Bruce

 

 

0 件の賞賛
1,642件の閲覧回数
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 件の賞賛