S32K358

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
2,123 Views
nxpuser007
Contributor I

hi sir:

S32K358: How to do core 0 after the initialization clock is complete, then start core 2. I find that "MC_ME" has no kernel 2 related register.

0 Kudos
Reply
1 Solution
2,085 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @nxpuser007 

take a look at this thread, there's an example how to start second core by software:

https://community.nxp.com/t5/S32K/S32K324-seperate-core-code/td-p/1789569

Regards,

Lukas

View solution in original post

0 Kudos
Reply
4 Replies
2,086 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @nxpuser007 

take a look at this thread, there's an example how to start second core by software:

https://community.nxp.com/t5/S32K/S32K324-seperate-core-code/td-p/1789569

Regards,

Lukas

0 Kudos
Reply
2,031 Views
nxpuser007
Contributor I

微信图片_20240709142023.png微信图片_20240709163031.png

Why does starting kernel 2 and then initializing IPCF go to hardfault?

0 Kudos
Reply
898 Views
BillWen
Contributor II
Hi nxpuser007:

I already can debug core0 and core2 in the same time by s32ds, debug mode is OK.
When I power off and power on the system, only core0 bootup and run, core2 don't do anything, do you have any experience about this problem?

Thanks
Br, BillWen
0 Kudos
Reply
2,015 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

When you step the code, where does it fail exactly?

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1896251%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K358%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1896251%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%20sir%EF%BC%9A%3C%2FP%3E%3CP%3ES32K358%3A%20How%20to%20do%20core%200%20after%20the%20initialization%20clock%20is%20complete%2C%20then%20start%20core%202.%20I%20find%20that%20%22MC_ME%22%20has%20no%20kernel%202%20related%20register.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2087908%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K358%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2087908%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20nxpuser007%3A%3CBR%20%2F%3E%3CBR%20%2F%3EI%20already%20can%20debug%20core0%20and%20core2%20in%20the%20same%20time%20by%20s32ds%2C%20debug%20mode%20is%20OK.%3CBR%20%2F%3EWhen%20I%20power%20off%20and%20power%20on%20the%20system%2C%20only%20core0%20bootup%20and%20run%2C%20core2%20don't%20do%20anything%2C%20do%20you%20have%20any%20experience%20about%20this%20problem%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3CBR%20%2F%3EBr%2C%20BillWen%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1905097%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K358%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1905097%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhen%20you%20step%20the%20code%2C%20where%20does%20it%20fail%20exactly%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1903887%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K358%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1903887%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240709142023.png%22%20style%3D%22width%3A%20688px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240709142023.png%22%20style%3D%22width%3A%20688px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F287719i89EDA3CA9DCB68AF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240709142023.png%22%20alt%3D%22%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240709142023.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240709163031.png%22%20style%3D%22width%3A%20931px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240709163031.png%22%20style%3D%22width%3A%20931px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F287733iB4D3F8AD7FA5A31B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240709163031.png%22%20alt%3D%22%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240709163031.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhy%20does%20starting%20kernel%202%20and%20then%20initializing%20IPCF%20go%20to%20hardfault%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1898356%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K358%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1898356%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F235406%22%20target%3D%22_blank%22%3E%40nxpuser007%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Etake%20a%20look%20at%20this%20thread%2C%20there's%20an%20example%20how%20to%20start%20second%20core%20by%20software%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K324-seperate-core-code%2Ftd-p%2F1789569%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K324-seperate-core-code%2Ftd-p%2F1789569%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E