problems to load modules from SD card #3482
Replies: 9 comments
-
Posted at 2014-01-07 by @gfwilliams Hi graf, Are you sure that Espruino can read the SD card? What happens if you type It's possible that the card is in the wrong format for Espruino? I think FAT32 should be fine though. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-07 by graf
I should also point out that I'm using nightly build of 1.44 dated at 2013.12.12 as later versions appear to be broken. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-07 by @gfwilliams Sorry, |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-07 by graf That's the same as with other modules so the cursor goes one line down and terminal stops responding. When I close terminal app and connect again then it is still locked. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-07 by @gfwilliams Can you just try writing If that's the case then can you try a different SD card on it? It could be the filesystem library locks up while trying to read your card. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-07 by graf So to sum it up:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-07 by graf And to answer your last question: yes, it returns with
I will try to find a different card and try again. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-07 by @gfwilliams Ok, so:
I'd be pretty sure it's the way your SD card is formatted, or the size of it. Having said that I've tried up to 16gb cards and they seem to work fine. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-07 by graf Gordon thank you very much for your time. You were right it was a problem with this particular card. Tried with a different one and it works fine. You will get a pull request for a new module soon :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-07 by graf
Loading existing modules via Web IDE works fine for me but I'm also working on some new modules and I need to test them properly.
I'm using HY-Mini 3.2" with integrated SD card reader. Card is formatted with FAT32 and for test purposes I'm placing currently available DS18B20.js module in /node_modules directory.
Then I try to:
After that nothing comes back and terminal stops responding.
Any ideas how to get that working? Should I somehow initialize SD module before I can use it?
Beta Was this translation helpful? Give feedback.
All reactions