S32K344 runs automatically in core 1 during dual-core debugging

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

S32K344 runs automatically in core 1 during dual-core debugging

1,068件の閲覧回数
1134325419
Contributor I

When I unlocked the S32K344 into a dual core, I debugged the project and found that core 1 was running automatically.

1134325419_0-1666937424126.png

When I double-click the core 1 project to try to pause core 1, the core 1 application runs away.The project tried to run normally on the S32K324 chip, but not on this processor.

1134325419_1-1666937721788.png

 It is known that the date when the chip downloaded AB Swap firmware and its screen printing is 2029A, whether this has an impact on debugging dual-core, or is there any way to solve this problem.

 

0 件の賞賛
返信
4 返答(返信)

1,047件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

when using "Launch Group", both cores run the code up to main function by default. If you can see described behavior of core 1, something wrong obviously happened in startup files.

You can try to do this configuration before launching the group:

lukaszadrapa_0-1667288258494.png

In this case, the code on core 1 is not executed, it's stopped on reset handler, so you can step the code to find out what's wrong.

Regards,

Lukas

0 件の賞賛
返信

1,040件の閲覧回数
1134325419
Contributor I

I cancel the run on reset of the core 1 project according to your operation, but it will still run automatically when debugging. 

企业微信截图_1667354944931.png

企业微信截图_16673550294987.png

I first run the core 0 project, and then double-click the core 1 project to try to stop it, but it is still unsuccessful, showing "Interrupt failed". 

企业微信截图_16673551003046.png

企业微信截图_16673551153678.png

I tried to debug S32K324 with this project, and it can be debugged normally. Is there any configuration that needs to be operated after S32K344 is unlocked to dual core, or is it because the chip is an early sample and the its screen printing is "2029A", so there will be this problem?

0 件の賞賛
返信

1,034件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

There are two silicon revisions - initial 0P55A and then 1P55A. But new revision has only some minor design enhacements, nothing important from user's point of view. So, I don't think this can be caused by older sample.
Let me ask you some questions - is AB swap firmware installed also on S32K324 where your project works? Do you know if there's the same version of the firmware on both devices? If you create new empty multicore project in S32DS for S32K324, does it work on S32K344 switched to dual core?
Regards
Lukas

0 件の賞賛
返信

1,028件の閲覧回数
1134325419
Contributor I

S32K324 does not have HSE firmware installed, only S32K344 has AB swap firmware installed.

I create new empty multicore project in S32DS for S32K324, but it  doesnot work on S32K344 switched to dual core and core 1 still runs automatically.

0 件の賞賛
返信