This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NOR Flash and Keil File System Middleware

I am evaluating the Keil File System Middleware. I have encountered a problem. Hopeful someone could give me a quick and clear hint.

It seems there are two types of file systems in the FS middle ware: Embedded FS and FAT FS.

Could someone tell me the differences between this two types.

I have noticed that NOR flash type be configured to use the Embedded FS type.

Could this Embedded FS be compatible with the USB Mass storage Class?(Treated as a plugged U Disk by the PC).

Could NOR Flash be configured to use the FAT FS? I have noticed the open source FAT FS doesn't distinguish the NOR Flash from other storage media.

Could a pure SPI Flash(i.e. Winbond W25Q32) be configured as the NOR Flash? The official Keil Pack includes a special NOR Flash(AT45DB642D) which supported both bus style NOR flash access method and a SPI style.

Thanks.

Parents
  • You can trick Keil's Middleware to use SPI flash with FAT file system, but
    flash memory must have sector-level erase capability. I have done that by modifying
    RAM disk driver to access SPI-attached AT45DB16 SPI flash memory, but it was a tricky
    job. If you have experience with open-source FAT FS, stick to it.
    For me it was a clean start, so I decided to use Keil's middleware for all peripherals.

    regards

    Dejan

Reply
  • You can trick Keil's Middleware to use SPI flash with FAT file system, but
    flash memory must have sector-level erase capability. I have done that by modifying
    RAM disk driver to access SPI-attached AT45DB16 SPI flash memory, but it was a tricky
    job. If you have experience with open-source FAT FS, stick to it.
    For me it was a clean start, so I decided to use Keil's middleware for all peripherals.

    regards

    Dejan

Children
No data