cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel NOR flash for extra code memory

AShel.1
Associate III

Hello,

I'm using STM32H753-Eval2 board wherein MT28EW128ABA1LPC-0SIT NOR flash is connected over parallel interface(FMC mode). I want to keep some part of application code into this parallel flash, I've referred one application note from Keil which works ok for QSPI flash, I've tested it on same board. same process I followed for NOR flash too but to execute code it is mentioned to enable flash in memory map mode but I could not find similar function in FMC drivers.

CSP_QSPI_EnableMemoryMappedMode();

https://www.keil.com/appnotes/files/apnt_333.pdf

I'm able to erase, program NOR flash using STM32H7B3I_EVAL_FMC-NOR.FLM algorithm, have checked programming it from one project and read back flash from other project.

if I run the code in debug mode, I see its not going to hard fault but it stops executing after some time, may be when the code from external flash comes into picture, from that instance it stops execution.

then I try to keep only one array into this external flash memory in this case code runs but in watch window I see "cannot evaluate" state for this array.

project configurations are attached for reference.

if someone have already used NOR flash on parallel interface(FMC) please guide0693W00000Ho04QQAR.png0693W00000Ho04GQAR.png0693W00000Ho04BQAR.png

0 REPLIES 0