MK60FX512VLQ12 Failure at boot - Constantly reset

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

MK60FX512VLQ12 Failure at boot - Constantly reset

跳至解决方案
1,350 次查看
carloso
Contributor II

Hi,

We're using MK60FX512VLQ12 on our board, in 8 boards we have a problem that cause a constantly reset after unlock the watchdog, we're using the same code of the BSP.

I'm attaching the waveform of the reset signal.

In 6 boards everything is working well, we have exactly the same hardware and firmware.

What could be the cause of this failure?

标记 (3)
1 解答
1,103 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Carlos,

Since you are using your custom board and the problem you are facing is not in all your boards, it's not possible for me to reproduce the behavior you mentioned. 

Based on the information you provided, I suspect that you might have an out of spec clock configuration. Probably not very far out of spec, which is why it works on some parts and in some code configurations. I've seen similar behavior before when the flash clock is slightly higher than the rated frequency. Some devices can handle the higher frequency and might not show a problem at all, and other parts might only show an issue in specific cases depending on when/where code is being fetched from the flash.

Regards,

Victor.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,103 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Carlos,

Please refer the following community post: https://community.nxp.com/message/632716 

Also depending on the mask of your MCU I highly recommend you to check the corresponding errata to see if any of the known issues is causing this behavior. 

Hope it helps!

Victor.

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 项奖励
回复
1,103 次查看
carloso
Contributor II

Hi Victor,

I check the RCM_SRS register, indicates a core lockup.

The IPSR indicates a Hard Fault Mem Manage.

What could cause this hard fault?

We check the pull-up on reset_b and NMI pins ans everything is ok and we use the same clock configuration on all the boards.

0 项奖励
回复
1,104 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Carlos,

Since you are using your custom board and the problem you are facing is not in all your boards, it's not possible for me to reproduce the behavior you mentioned. 

Based on the information you provided, I suspect that you might have an out of spec clock configuration. Probably not very far out of spec, which is why it works on some parts and in some code configurations. I've seen similar behavior before when the flash clock is slightly higher than the rated frequency. Some devices can handle the higher frequency and might not show a problem at all, and other parts might only show an issue in specific cases depending on when/where code is being fetched from the flash.

Regards,

Victor.

0 项奖励
回复
1,103 次查看
carloso
Contributor II

Hi Victor,

Yes, the clock configuration was incorrect.

We have a 120MHz on core clock and a divisor of 4 on flash clock = 30MHz. When th max clock frequency for the flash is 25Mhz.

We change to 20HMhz and works now.

Thanks.