failed to power up dap after program s32k312 with pll0 equal 240M

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

failed to power up dap after program s32k312 with pll0 equal 240M

跳至解决方案
3,691 次查看
sf_en
Contributor I

set pll0 as 240M and programbinary to s32k312 mcu as follow config:

sf_en_0-1677829152985.png

 

after that it can not be connect by jlink, show error as below:

sf_en_1-1677829182472.png

 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
3,641 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sf_en,

The idea is to keep the MCU in reset after POR, so that the clocks are not reconfigured at the time the debugger is establishing the connection.

Can you connect in the JTAG mode?

If so, instead of connecting the reset pin to the ground, you can use these commands:

r0
erase

It will ask you to establish the connection while the MCU is in reset (r0).

Once connected, it should erase the flash so that the clocks will not be reconfigured anymore.

 

I have tried to reproduce the issue by flashing and running a project with the same clock configuration, but I don't get the same results. I can simply reprogram the MCU with another project.

 

Anyway, the clock configuration is restricted to the 7 use cases listed in the RM.

23.7.2 Clocking use case examples

23.7.1 System clock frequency limitations

We can't guarantee functionality if the MCU if the requirements are not met.

 

Regards,

Daniel

 

 

 

在原帖中查看解决方案

0 项奖励
回复
4 回复数
3,679 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sf_en,

Can you connect the J-link probe using J-link commander while the reset_b (PTA5) pin of the MCU is connected to the ground?

 

Thanks,

BR, Daniel

 

0 项奖励
回复
3,658 次查看
sf_en
Contributor I

Hi, Daniel

Thanks for your rapid support!

I try to connect using jlink commander while hold reset_b to ground, it connect fail.

BTW, what the MCU will behavior when  hold reset_b to ground? (MCU will stop execution?)

0 项奖励
回复
3,642 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sf_en,

The idea is to keep the MCU in reset after POR, so that the clocks are not reconfigured at the time the debugger is establishing the connection.

Can you connect in the JTAG mode?

If so, instead of connecting the reset pin to the ground, you can use these commands:

r0
erase

It will ask you to establish the connection while the MCU is in reset (r0).

Once connected, it should erase the flash so that the clocks will not be reconfigured anymore.

 

I have tried to reproduce the issue by flashing and running a project with the same clock configuration, but I don't get the same results. I can simply reprogram the MCU with another project.

 

Anyway, the clock configuration is restricted to the 7 use cases listed in the RM.

23.7.2 Clocking use case examples

23.7.1 System clock frequency limitations

We can't guarantee functionality if the MCU if the requirements are not met.

 

Regards,

Daniel

 

 

 

0 项奖励
回复
3,631 次查看
sf_en
Contributor I

Hi, Daniel

It works follow the steps.

Thanks for your support.

0 项奖励
回复