Bare metal dual-core code that can boot and reach the main function in GHS using the MCAL package

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

Bare metal dual-core code that can boot and reach the main function in GHS using the MCAL package

954件の閲覧回数
VivekArivazhagan
Contributor II

Hi @nxp 

 

We have currently working on Multicore booting S32k322 MCU in following packages in GHS  SW32K3_S32M27x_RTD_4.4_4.0.0_P24.

 

Failure Case:

When attempting dual-core execution in GHS, we are facing issues with both cores running properly. The summary is as follows:

  1. We took “SW32K3_S32M27x_RTD_4.4_4.0.0_P24” base for GHS initialization and proved out for single core, The same base was working for dual core like how we did for GCC.
  2. We removed all the components and try to run, But the system was not even entering main function,
  1.       Observation:
    1. 1. Sometimes core1 was entering main function and core0 was stuck in a loop.
    2. 2. The alternate core will enter hard fault we try to run any core
  1. The only change between GHS and GCC was only the startup file(assembly) and we haven’t touch anything in the startup since it was shared as MCAL package.

Please help us on this, since the startup file is part of the MCAL package and we are not authorized to modify or touch anything inside the MCAL SIP.

 

We requested SW32K3_S32M27x_RTD_4.4_4.0.0_P24 - Bare metal dual-core code that can boot and reach the main function in GHS using the MCAL package.

 

Thank you!

Vivek Arivazhagan

タグ(1)
0 件の賞賛
返信
5 返答(返信)

895件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @VivekArivazhagan,

Can you share the project so that we can test it?

If you don't want to share it here, please create a support ticket.

 

Regards,

Daniel

0 件の賞賛
返信

876件の閲覧回数
VivekArivazhagan
Contributor II

Hi @danielmartynek 

 

Please find the project 

タグ(1)
0 件の賞賛
返信

710件の閲覧回数
VivekArivazhagan
Contributor II

Hi @danielmartynek ,

 

Do we have any update on this above discussion?

 

Thanks,

Vivek Arivazhagan

0 件の賞賛
返信

697件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi Vivek, 

I'm in touch probably with your colleague Karthik. In attachment is test project build with GHS 2019.14. 

0 件の賞賛
返信

673件の閲覧回数
VivekArivazhagan
Contributor II

Hi @jiri_kral ,

Thanks for sharing. Based on our observation, the project currently has a dual setup with two projects, two ELF files, and two startup files. However, our expectation is to have a single project with one startup file and a single ELF file, with all source files managed within GHS.

Kindly help us with this. You may either make the necessary changes to the project we shared for your reference or provide a version that meets these expectations.

Note: we are stuck with how to wait core 1 until core 0 initialized. kindly support on this also

Thanks,

Vivek Arivazhagan

.

タグ(1)
0 件の賞賛
返信