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.

Parents
  • Hi

    The QSPI peripheral on the nRF52840 is designed for XIP operations, and thus only really with NOR flash devices in mind, so we don't have much experience in getting NAND devices up and running with the nRF52840. 

    I'm afraid we don't have a driver for this and thus not much input to provide on the architecture or approach to do this. In the past the only option I've seen to use NAND devices has been by using custom instructions from the QSPI to communicate with the NAND flash correctly, but using the quad feature and speeds won't be achievable this way since custom instructions only use regular SPI.

    Best regards,

    Simon

Reply
  • Hi

    The QSPI peripheral on the nRF52840 is designed for XIP operations, and thus only really with NOR flash devices in mind, so we don't have much experience in getting NAND devices up and running with the nRF52840. 

    I'm afraid we don't have a driver for this and thus not much input to provide on the architecture or approach to do this. In the past the only option I've seen to use NAND devices has been by using custom instructions from the QSPI to communicate with the NAND flash correctly, but using the quad feature and speeds won't be achievable this way since custom instructions only use regular SPI.

    Best regards,

    Simon

Children
Related