core transition problem

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

core transition problem

960件の閲覧回数
underdangerous
Contributor II

Dear communities:

I am a newcomer to the MPC5777M development board. I want to use the peripheral core to boot the main core 0, but we have been unable to succeed. The following are the development board models and software development environments I am using:
Motherboard: MPC57XX MOTHERBOARD
Daughter board: MPC5777M_ 512DS
IDE: S32DS for PA
Debugger: MULTILINK UNIVERSAL

The attachment is the project we are using. Every time I download the code to flash, the development board will fall into a reset state. After powering on and restarting, the LED will light up, but then the MCU RESET indicator will also light up and not go out. Here are my questions:
1. I don't know if two independent projects need to be created or only one Z4_0 priject needs to be created to boot main core0?
2. Do you need to configure a boot for each core that requires a boot when configuring the boot header
ID? If not required, does it mean that the enable bit of the core in the boot header can only be activated after the corresponding core is set?
3. Is there any way to disable the peripheral core through software configuration after executing the code in BAF?
4.Are there any relevant examples that can help me understand core switching?

0 件の賞賛
返信
1 返信

950件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

1. I don't know if two independent projects need to be created or only one Z4_0 priject needs to be created to boot main core0?

You can do it both ways. Easier is to have 2 independent project with 2 linkers.

2. Do you need to configure a boot for each core that requires a boot when configuring the boot header
ID? If not required, does it mean that the enable bit of the core in the boot header can only be activated after the corresponding core is set?

Boot header is just for boot core. In your case it is IO core. This one is booted by default.

You can however boot all cores right out of reset, by modifying the boot header.

petervlna_0-1686721912947.pngpetervlna_1-1686722000228.png

But customers do not use direct boot. The better scheme is to boot up with IO core (default) and then when all the safety tasks are prepared start the main core for execution from SW.

See my example SW:

https://community.nxp.com/docs/DOC-329858

3. Is there any way to disable the peripheral core through software configuration after executing the code in BAF?

No. Once core is enabled only reset sequence will put it back into reset.

4.Are there any relevant examples that can help me understand core switching?

the one I have posted + reference manual Chapter 8 Reset and Boot.

Best regards,

Peter

 

0 件の賞賛
返信