i.MXRT1021 FlexSPI / XiP Mode

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MXRT1021 FlexSPI / XiP Mode

Jump to solution
92 Views
Contributor III

Hello, 

I have a custom i.MXRT1021 board based on the MIMXRT1020-EVK. Flash used on this board is same as the EVK (IS25LP064A-JBLE) and is connected to the controller using exactly the same set of FlexSPI pins. 

I can load and run programs in SRAM. However, i am not able to run programs in XiP mode. In MCUxpresso using JLink+, the code seems to be loading, but the break point is not set and i get an error - break point out of code space. In IAR, the log indicates a verification error, in both cases disassembly fails. 

Using JFlash i can load and verify the NOR flash. Boot CFG/Mode is set similar to EVK. At this point i am just attempting hello world examples with all standard template code generated by the IDE or examples from SDK. 

Any pointers on where i can start to root cause the issue? 

 

thanks

Labels (1)
0 Kudos
1 Solution
78 Views
Contributor III

Just required setting QE bit in the flash. 

View solution in original post

0 Kudos
2 Replies
24 Views
Contributor I

I am having a similar issue ... what is the QE bit?

0 Kudos
79 Views
Contributor III

Just required setting QE bit in the flash. 

View solution in original post

0 Kudos