ARMmbed / mbed-os-example-filesystem

The Mbed OS file system example
https://mbed.com
Apache License 2.0
16 stars 33 forks source link

NRF82840DK External Flash Hangs #15

Closed kegilbert closed 6 years ago

kegilbert commented 6 years ago

Ran with pins:

   "NRF52840_DK": {
      "SPI_MOSI": "p20",
      "SPI_MISO": "p21",
      "SPI_CLK":  "p19",
      "SPI_CS":   "p17"
  }

Source: http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fexternal_memory.html

Additionally tried with SPI0 from the pinnames.h file:

 SPI_PSELMOSI0 = P1_13, 
 SPI_PSELMISO0 = P1_14, 
 SPI_PSELSS0   = P1_12, 
 SPI_PSELSCK0  = P1_15, 

___- With the first set of defined pins from the product documentation I get the the following output followed by the hang:

--- Mbed OS filesystem example ---
Mounting the filesystem... Fail :(
No filesystem found, formatting...

@geky @SenRamakri

geky commented 6 years ago

Ah! There is an outstanding issue with wait calls on the NRF52840. @dlfryar ran into this issue earlier.

I believe this pr fixes the problem: https://github.com/ARMmbed/mbed-os/pull/5595

Does the example work with 5595?

dlfryar-zz commented 6 years ago

You probably also need https://github.com/ARMmbed/mbed-os/pull/5606. There is still an outstanding problem with 5595 and assertions, but the example should run then assert.

geky commented 6 years ago

Double checked by @kegilbert, this has been resolved by https://github.com/ARMmbed/mbed-os/pull/5606

Feel free to reopen if that's not the case