Seeking Architecture for USB MSC on NAND Flash (MT29F4G01ABAFDWB)

Hello,

I'm working on a project using the MT29F4G01ABAFDWB NAND flash, and I've developed drivers for this NAND flash on Zephyr. I’ve also successfully implemented FATFS on it, using this flash management repository as a reference. Since Zephyr doesn’t provide direct support for NAND flash, I had to adapt the setup myself.

Now, I’m looking to implement USB Mass Storage Class (MSC) on this NAND flash. please provide a basic architecture or an approach to achieve this? Specifically, I’m interested in the integration steps and any potential modifications required for handling NAND flash via USB MSC in Zephyr.
we have connected our nand flash with spi, but build in flash connected via qspi.

Related