creating a filesystem
- This topic has 20 replies, 3 voices, and was last updated 4 years, 5 months ago by toyo ayeni.
-
AuthorPosts
-
June 24, 2020 at 12:17 pm #30797toyo ayeniParticipant
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?
June 24, 2020 at 12:29 pm #30798Jason ReissKeymasterWhat 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.June 24, 2020 at 12:35 pm #30799toyo ayeniParticipantSorry 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.June 24, 2020 at 12:51 pm #30800Jason ReissKeymasterhttps://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.
June 24, 2020 at 12:53 pm #30802Leon LindenfelserModeratorYou 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_MOSIJune 24, 2020 at 1:03 pm #30803toyo ayeniParticipant“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.
June 24, 2020 at 1:09 pm #30804Leon LindenfelserModeratorOn 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.June 24, 2020 at 1:37 pm #30806toyo ayeniParticipantI’ve got the MTQ-LAT3-B01 and I dont see the G logo.
What options do I have?June 24, 2020 at 3:04 pm #30807toyo ayeniParticipantLeon,
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?June 24, 2020 at 3:06 pm #30808toyo ayeniParticipantAnother question – does the MTQ-LSP3-B03 only work on the Sprint network? Does that mean it wont work on AT&T or Verizon?
June 24, 2020 at 3:13 pm #30809Leon LindenfelserModeratorMTQ-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.
June 24, 2020 at 3:42 pm #30810toyo ayeniParticipant“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.
June 24, 2020 at 3:44 pm #30811Leon LindenfelserModeratorYes, they are pin compatible.
June 24, 2020 at 3:47 pm #30812toyo ayeniParticipantIt says for north america – that means Canada as well right?
June 24, 2020 at 3:53 pm #30813Leon LindenfelserModeratorhttps://www.multitech.com/brands/multiconnect-dragonfly
LAT3 Lists the region as US/Canada
MNA1 Lists the region as USJune 24, 2020 at 3:57 pm #30814toyo ayeniParticipantThats fine. Please just let me know when you have updated filesystem code
Thanks!
June 25, 2020 at 10:15 am #30819toyo ayeniParticipantQuestion 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?June 25, 2020 at 2:32 pm #30820Leon LindenfelserModeratorJust the radio firmware changed. Same flash part.
June 29, 2020 at 9:04 am #30824Leon LindenfelserModeratorPlease give this a try:
https://os.mbed.com/teams/MultiTech/code/Dragonfly_Filesystem_Example_mbed_5/June 29, 2020 at 1:37 pm #30830toyo ayeniParticipantThanks! Will let you know as soon as I try it out.
June 30, 2020 at 11:39 am #30874toyo ayeniParticipantSo 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
-
AuthorPosts
- You must be logged in to reply to this topic.