Today's dumb question!

Having got a mounted nxffs spi flash "drive", I had a quick try earlier today 
to store some data.

If I did:

nsh> ls > /mnt/flash/file1.txt

there was a major crash.

If I enabled the startup scan it sat there for 20+ minutes before I gave up and 
halted it (it was still doing stuff via SPI to the memory, and info debug 
enabled showed lots going on)...but then the same nsh command worked and the 
file was created.

This suggests to me the file system may need to be formatted or "created" maybe 
but...guess what...I can't find anything in any guides to suggest this is 
needed. SmartFS seems to need it - "nsh> mksmartfs /dev/smart0" for example - 
but not had time to play more with that yet).

Or is it because the flash device is full of duff stuff from all my messing 
around and just needs to be erased and I start again (not thought of that until 
now).

Be gentle... :)


Reply via email to