program crash

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

program crash

656 Views
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 Kudos
Reply
1 Reply

638 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@wutengyouxi555

Can you try disabling interrupts before initializing flash?

0 Kudos
Reply