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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
2,443 Views
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

 

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
2,393 Views
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

 

 

 

View solution in original post

0 Kudos
Reply
4 Replies
2,431 Views
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 Kudos
Reply
2,410 Views
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 Kudos
Reply
2,394 Views
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 Kudos
Reply
2,383 Views
sf_en
Contributor I

Hi, Daniel

It works follow the steps.

Thanks for your support.

0 Kudos
Reply