I working on Freescale MQX 4.0 with MFS and USB host stack plugins added to our project.
I need to format external SRAM with FAT 12 which is connected to K20Dx128VLH7 MCU via Flex Bus Engine. To format SRAM we are using MFS on SRAM ( SRAM size is 2MB) .
K20Dx128VLH7 MCU can support only 18 address lines (256 k) to interact with SRAM. I want to extended the Flebus address by using extra I/O lines of controller so that i can format 2MB of SRAM.
Now , my question is MFS is handling up to 18 address lines of Flexbus in the Stack. I want to add my own SRAM driver in order to support whole 2MB of SRAM with extended I/O lines.
Can anyone please suggest any example code or how can i write my own driver and integrated to MFS stack.?