creating a filesystem

Home Forums Dragonfly creating a filesystem

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #30797
    toyo ayeni
    Participant

    hi support
    So I tried to create a filesystem on the external flash using this example => https://github.com/ARMmbed/mbed-os-example-filesystem
    After compiling and resetting I get the =>
    [WARNING] bootloader: failed to mount filesystem
    error.
    I erase the flash and reload the filesystem application but I just keep getting the warning.

    Am I doing this wrong?

    #30798
    Jason Reiss
    Keymaster

    What type of external flash are you using?

    This example uses a block device as storage. This can be one of:

    A built-in SPI flash, such as on the FRDM-K82F.
    An external block device (one of SPI flash, DataFlash or an SD card).
    Simulated on a heap block device on boards with enough RAM.

    #30799
    toyo ayeni
    Participant

    Sorry Jason I should have mentioned that.

    Its the 2Mb external flash on the MTS dragonfly.
    Apparently I should be able to put a filesystem on there.
    It is also supposed to be connected to the STM32 processor
    through the SPI3 pins.

    #30800
    Jason Reiss
    Keymaster

    https://os.mbed.com/docs/mbed-os/v6.0/apis/spi-flash-block-device.html

    This API is a block device for NOR-based SPI flash devices that support SFDP.

    The Flash part on Dragonfly does support SFDP.

    [EDITED FOR CORRECTNESS]

    • This reply was modified 4 years, 5 months ago by Jason Reiss.
    #30802

    You are right… it is connected to SPI3. These are the pin names. PA_4 did not receive an alias of SPI3_CS. You need to reference it as PA_4.
    PA_4 is the SPI3 chip select.
    PC_10 or SPI3_SCK
    PC_11 or SPI3_MISO
    PC_12 or SPI3_MOSI

    #30803
    toyo ayeni
    Participant

    “Otherwise we have a filesystem example for Dragonfly here.

    https://os.mbed.com/teams/MultiTech/code/Dragonfly_Filesystem_Example/”

    This example is for mbed OS 2. I’m working with mbed OS 5.

    #30804

    On the following Dragonfly and Dragonfly Nano models, we are shipping with a flash part that support SFDP:
    MTQ-MVW1-B01
    MTQ-MNA1-B01
    MTQ-LSP3-B03
    MTQN-MNG1-B01
    MTQN-MNG3-B01
    Other Ddragonfly models will have a flash part, of the same density, that does not support SFDP. To verify the flash part is one that supports SFDP, you can see a rather large ‘G’ logo on the tiny part.

    #30806
    toyo ayeni
    Participant

    I’ve got the MTQ-LAT3-B01 and I dont see the G logo.
    What options do I have?

    #30807
    toyo ayeni
    Participant

    Leon,
    You said the MTQ-MNA1-B01 is an SDPF device but the device
    guide says its still the M25P16 flash on it.
    Is the device guide right or are you right?

    #30808
    toyo ayeni
    Participant

    Another question – does the MTQ-LSP3-B03 only work on the Sprint network? Does that mean it wont work on AT&T or Verizon?

    #30809

    MTQ-MNA1-B01: I’m glad you pointed that out. The documentation must not have been properly updated.
    MTQ-LSP3-B03: This is Sprint only.

    I’m going to see if I can get the file system example to build on a newer version of mbed.

    #30810
    toyo ayeni
    Participant

    “MTQ-MNA1-B01: I’m glad you pointed that out. The documentation must not have been properly updated.”

    this means I can just simply replace the LAT3 module with this one. They are pin compatible right?

    **************************************************************************
    “I’m going to see if I can get the file system example to build on a newer version of mbed.”

    thanks. I’m currently still on mbed 5 not 6. mbed 6 has a number of issues I prefer not to deal with right now.

    #30811

    Yes, they are pin compatible.

    #30812
    toyo ayeni
    Participant

    It says for north america – that means Canada as well right?

    #30813

    https://www.multitech.com/brands/multiconnect-dragonfly
    LAT3 Lists the region as US/Canada
    MNA1 Lists the region as US

    #30814
    toyo ayeni
    Participant

    Thats fine. Please just let me know when you have updated filesystem code

    Thanks!

    #30819
    toyo ayeni
    Participant

    Question for you, what changed between the
    MTQ-LAT3-B01-SP and MTQ-LAT3-B01.R2-SP releases?
    Did it have anything to do with the external flash?

    #30820

    Just the radio firmware changed. Same flash part.

    #30824
    #30830
    toyo ayeni
    Participant

    Thanks! Will let you know as soon as I try it out.

    #30874
    toyo ayeni
    Participant

    So it worked using the mbed online compiler. I’m seeing issues with the studio. I will contact mbed support if I need to.

    Thanks so much

Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.