Hi,
Has anyone got any 'standard' NOR flash code they can share?
I am reading through AN3854 to work out how to do it all, but this app note does not cover flash, only SRAM/MRAM. I am not really sure how best to handle the page erase for flash, or the general methods of implementation.
Thanks,
Carl
Solved! Go to Solution.
Hi,
The can MQX handle various external NOR flash devices using FLASHX driver - see the "c:\Program Files\Freescale\Freescale MQX 3.6\mqx\source\io\flashx\" directory for routines for supported NOR flash types.
You have to initialize FLASHX driver correctly using FLASHX_INIT_STRUCT config structure to support ext. flash memory - use "c:\Program Files\Freescale\Freescale MQX 3.6\mqx\source\bsp\m52277evb\init_flash.c" in M52277EVB BSP as example.
Regards,
PetrL
Hi,
The can MQX handle various external NOR flash devices using FLASHX driver - see the "c:\Program Files\Freescale\Freescale MQX 3.6\mqx\source\io\flashx\" directory for routines for supported NOR flash types.
You have to initialize FLASHX driver correctly using FLASHX_INIT_STRUCT config structure to support ext. flash memory - use "c:\Program Files\Freescale\Freescale MQX 3.6\mqx\source\bsp\m52277evb\init_flash.c" in M52277EVB BSP as example.
Regards,
PetrL
Great, there are a few options for us.
Thanks.