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

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

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

ソリューションへジャンプ
1,614件の閲覧回数
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 解決策
1,564件の閲覧回数
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 返答(返信)
1,602件の閲覧回数
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 件の賞賛
1,581件の閲覧回数
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 件の賞賛
1,565件の閲覧回数
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 件の賞賛
1,554件の閲覧回数
sf_en
Contributor I

Hi, Daniel

It works follow the steps.

Thanks for your support.

0 件の賞賛