This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS470R1 File system selction for NOR flash

Other Parts Discussed in Thread: HALCOGEN, SEGGER

Hi all,

I am working on TMS470R1 and want to use a file system to be used with external flash

N25Q00AA.Flash is a NOR flash.

It would be really helpful if someone from TI can suggest a light weight file system supported by TMS470R1 which we can use.

Any one from TI community also can suggest.

Thanks in advance.

Regards,

Ashwin.

  • I am not aware of any filesystem support on TMS470R1 device. We may be able to offer some ideas if you can share what you want to achieve at system level.

    Thanks and regards,

    Zhaohong
  • Hello Zhaohong,
    Thanks for your mail.
    On system level we want to store same set of parameters for different -different devices on Flash.
    So TMS470R1 will interface flash to read/write this parameters.as simple as that.
    We thought any lightweight file system will helpful and easy in achieving this task.
    But i did not find any file system for NOR Flash.

    Regards,
    Ashwin
  • Ashwin,

    You have a SPI flash I think, and there are file systems in the market that will support it.
    Google or Wikipedia will get you links to probably too many options to count.
    From commercial options to open source depending on your project.

    I think what Zhaohong means is that we don't have any experience w. these on the TMS470R1.
    It's a much older part and we support it mainly as a bare-deck silicon part - nothing like HalCoGen or TI RTOS to go with it.

    TI-RTOS (which isn't ported to TMS470R1 as far as I know) uses fatfs http://elm-chan.org/fsw/ff/00index_e.html so you could look at it. But check RTOS vendors like FreeRTOS (HCC Embedded offers a file system), Micrium, etc. Also you can check Segger (emFile), ARM/Keil (MDK Pro) etc. Also check what the SPI flash vendor has to offer. For example Macronix has low level drivers and patches for linux and uboot http://www.macronix.com/en-us/Support/SimulationModelsSoftwares/Pages/default.aspx?Tab=More%20Software You might be able to adapt these.
  • Hello Ashwin,

    As Anthony mentioned above, Macronix offers low level driver code for serial flash that can be adapted
    to various applications. We also offer a Flash Translation Layer (FTL) tool that bridges the file system
    and the low level drivers in Linux. This brings up the question: are you using Linux? Linux has a built-in
    flash file system (JFFS2) that you could use, but its not light weight. You might consider YAFFS (Yet Another
    Flash File System). Here is a link to YAFSS: http://www.yaffs.net/

    Here is a link to an overview of our FTL tool: http://www.macronix.com/Lists/MoreSoftware/Attachments/54/macronix_ftl_v1.0.pdf
    and here is a link to our Linux serial NOR driver patch: http://www.macronix.com/Lists/MoreSoftware/Attachments/77/LINUX-SERIAL-NOR-DRIVER-PATCH_2014.10.28.zip

    I hope this helps.

    -Rick Culver