Enabling dual-core in S32K344 after OS startup

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

Enabling dual-core in S32K344 after OS startup

ソリューションへジャンプ
1,174件の閲覧回数
Artur_S
Contributor II

Hello,

We are developing a system with custom bootloader and AUTOSAR application running on top, based on chip S32K344.
So far we learned from documentation how to enable 2nd core during boot, but this means we already have to handle it on bootloader stage (since we can have only one BOOT_HEADER structure under startup entry).

But... is there any way to start with single core (in boot loader) and enable second one later, when our application (MicrosarOS) starts?

Best regards,

Artur

タグ(3)
0 件の賞賛
1 解決策
1,161件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Artur,

yes, it's possible. Here's simple example:

MC_ME->PRTN0_CORE1_ADDR = (uint32_t)(vtor);

MC_ME->PRTN0_CORE1_PCONF = MC_ME_PRTN0_CORE1_PCONF_CCE_MASK;

MC_ME->PRTN0_CORE1_PUPD = MC_ME_PRTN0_CORE1_PUPD_CCUPD_MASK;

MC_ME->CTL_KEY = MC_ME_CTL_KEY_KEY( 0x5AF0);

MC_ME->CTL_KEY = MC_ME_CTL_KEY_KEY(~0x5AF0);

Regards

Lukas

元の投稿で解決策を見る

2 返答(返信)
1,162件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Artur,

yes, it's possible. Here's simple example:

MC_ME->PRTN0_CORE1_ADDR = (uint32_t)(vtor);

MC_ME->PRTN0_CORE1_PCONF = MC_ME_PRTN0_CORE1_PCONF_CCE_MASK;

MC_ME->PRTN0_CORE1_PUPD = MC_ME_PRTN0_CORE1_PUPD_CCUPD_MASK;

MC_ME->CTL_KEY = MC_ME_CTL_KEY_KEY( 0x5AF0);

MC_ME->CTL_KEY = MC_ME_CTL_KEY_KEY(~0x5AF0);

Regards

Lukas

1,090件の閲覧回数
Artur_S
Contributor II
Thank you for reply!
0 件の賞賛