program crash

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

program crash

657 次查看
wutengyouxi555
Contributor II

wutengyouxi555_0-1688626853392.png

If  i initialize the EEprom and flash after i initialize the clock,the program will run successfully,

when i initialize the EEprom and flash after initialize Uart module ,the program will crash when the program runs to initialize the flash and EEprom.

 

Why the  program crash ?   

Do initialization must be done in order?

 

 

0 项奖励
回复
1 回复

639 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@wutengyouxi555

Can you try disabling interrupts before initializing flash?

0 项奖励
回复