• Hello,

    I'm experiencing the exact issue as this post:
    http://forum.espruino.com/conversations/315054/

    console.log(require("fs").readdirSync());  
    Unable to mount media : NOT_READY
    

    It worked one time only between a lot of trials without changing any thing.
    I'm using a new 16GB micro-sd card formatted to FAT32 and works fine on windows 10.

    All the connections and power are OK.

    CS => B1
    DI => A7
    DO => A6
    CLK => A5
    GND => -
    3v => 3.3v

    Timeout of 3 seconds between:

    SPI1.setup({sck: A5, miso: A6, mosi: A7});
        E.connectSDCard(SPI1, B1);
    

    and

    console.log(require("fs").readdirSync());  
    

    I also tried a pullup resistor on pin B1 I don't know if I did it right:

    pinMode(B1, 'input_pullup');
    

    I'm using Espruino WiFi with firmware 2v08.

    Do I need to connect CD pin somewhere too?

    All I need is stable initialization when powering up espruino wifi.

    I planning to use the button for E.unmountSD(); before powering off.

    Thank you.


    1 Attachment

    • IMG_20201209_031029.jpg
About

Avatar for michael_101 @michael_101 started