AnsweredAssumed Answered

Update FlexSPI LUT before XIP from FlexSPI A?

Question asked by Brad Wiedlocher on Nov 29, 2018
Latest reply on Nov 30, 2018 by Artur Petukhov

Background:
We have a custom target using the RT1062 - We are eXecuting In Place from QSPI NOR on FlexSPIA and would like to use FlexSPIB for data storage. Trying to update the LUT from code does not work (running out of FlexSPIA), generates Bus Faults. That is expected right?
I thought that the LUT we load into FlexSPIA (0x6000_0080) for boot would be copied by the BootROM into the micro's internal LUT (0x402A_8200), but that does not appear to be the case. 

 

Questions:
1) If possible, what is the best method to get the micro's internal LUT updated at boot, before XIP from FlexSPIA?
2) The Flexspi NOR Polling Transfer example in the SDK creates a custom LUT, but does not use custom sequence enable or custom LUT sequences in the config - Is this not necessary since it is not used at boot?
3) Is there some other option to update LUT while XIP from FlexSPI A, besides executing out of RAM?

Outcomes