Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Teensy 4.0 filesystem

  1. #1

    Teensy 4.0 filesystem

    Is there any plan to allow part of the flash on the Teensy 4.0 to be used as a filesystem like you can do on an ESP? I've searched around for information about this, and the only thing that I've found is a brief mention in the beta thread from Paul here.

    I know that there is EEPROM emulation that used 64k of flash, but the actual usable amount of storage seems to be much smaller after wear levelling. I was looking for something a little larger, say around 200k.

    I could use an SD card instead, but that seems to be overkill for such a small filesystem.

  2. #2
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,248
    Quote Originally Posted by DaveBoucher View Post
    Is there any plan to allow part of the flash on the Teensy 4.0 to be used as a filesystem like you can do on an ESP? I've searched around for information about this, and the only thing that I've found is a brief mention in the beta thread from Paul here.

    I know that there is EEPROM emulation that used 64k of flash, but the actual usable amount of storage seems to be much smaller after wear levelling. I was looking for something a little larger, say around 200k.

    I could use an SD card instead, but that seems to be overkill for such a small filesystem.
    Obviously the big issue is supporting a filesystem from the Teensy, and others can answer that.

    But in terms of storage, there are various SPI and I2C flash memory systems floating around. The question is whether there are Teensy drivers for these systems. Two that are made to be mounted directly on the Teensy include:


    There are dual/quad memory SPI flash memory chips floating around. I suspect if you aren't going to do bit-banging to re-implement dual/quad SPI, you would need to solder wires to the Teensy 4.0's SD card pads.


    Here is a memory that uses just plain SPI:

  3. #3
    Thank you for the suggestions, an SPI flash chip might be a good alternative and I'd forgotten about the prop shield.

    I'm still interested in the filesystem idea as a "no extra hardware" option if anyone has any information on it.

  4. #4
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,248
    Quote Originally Posted by DaveBoucher View Post
    Thank you for the suggestions, an SPI flash chip might be a good alternative and I'd forgotten about the prop shield.

    I'm still interested in the filesystem idea as a "no extra hardware" option if anyone has any information on it.
    FWIW, the Adafruit M4/M0 systems that export a file system do so with a separate flash memory chip that is soldered onto the PCB of the microprocessor.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •