# \_Node sd card Error

**URL:** <https://forum.xod.io/t/node-sd-card-error/4455>\
**Category:** Install/Upload Problems\
**Created:** [September 23, 2020, 9:05am UTC](https://forum.xod.io/t/node-sd-card-error/4455 "2020-09-23T09:05:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gcabral](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@gcabral](https://forum.xod.io/u/gcabral)\
**Post date:** [September 23, 2020, 9:05am UTC](https://forum.xod.io/t/node-sd-card-error/4455/1 "2020-09-23T09:05:57Z")

</div>

Hi,

I TRIED TO USE THE SD CARD NODE AND GET THE FOLLOWING ERROR:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/4/47e9791b16aadac99bcd4ed50a1bad5d7a95c24f.png)

How can it be solved?

Thanks

---

<div class="post-metadata">

**Author:** ![m-b](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@m-b](https://forum.xod.io/u/m-b)\
**Post date:** [September 23, 2020, 9:43am UTC](https://forum.xod.io/t/node-sd-card-error/4455/2 "2020-09-23T09:43:09Z")

</div>

Take a look at this post:

> [@Data from DHT11 temp sensor and timestamp from DS1302 on SD card](https://forum.xod.io/t/data-from-dht11-temp-sensor-and-timestamp-from-ds1302-on-sd-card/4416/18):
>
> I remove sd card node and everything work perfect: … and after adding sd card node, even not connected to anything:

---

<div class="post-metadata">

**Author:** ![brusher](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/brusher/32/475_2.png) [@brusher](https://forum.xod.io/u/brusher)\
**Post date:** [September 23, 2020, 2:40pm UTC](https://forum.xod.io/t/node-sd-card-error/4455/3 "2020-09-23T14:40:13Z")

</div>

It raised an error, so it’s not a problem with the memory as in the mentioned topic.

Let’s look at the node description. It tells us that there may be a few possible errors:

- Can’t open a file.  
SD card should be formatted in FAT16 or FAT32 format. Also, it uses a short 8.3 file names, so it converts long names like `foobarbuz.txt` to `fooba~1.txt`. So, avoid using file names longer than 8 characters.
- Initialization failed, or no SD card.  
Initialization can fail if you specified a wrong CS port or your module is broken.  
Check that the SD card is inserted properly.
- Can’t write data to the SD card.  
For example, the SD card is locked for writing. Check the small switch on the side of your SD card.  
Also, you can try to write something in this file using your PC.

I hope it will help 🙂

---

<div class="post-metadata">

**Author:** ![unosoperator](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/unosoperator/32/2678_2.png) [@unosoperator](https://forum.xod.io/u/unosoperator)\
**Post date:** [September 23, 2020, 6:10pm UTC](https://forum.xod.io/t/node-sd-card-error/4455/4 "2020-09-23T18:10:24Z")

</div>

Maybe frequency of writing to SD is to high?

---

<div class="post-metadata">

**Author:** ![krugdu](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@krugdu](https://forum.xod.io/u/krugdu)\
**Post date:** [September 24, 2020, 1:12am UTC](https://forum.xod.io/t/node-sd-card-error/4455/5 "2020-09-24T01:12:22Z")

</div>

I just finished a project that used the SD card log node. The key for me was making sure that the SD card board was connected to the SPI pins. The SPI pins on the Uno are 11,12 and 13. The SPI pins on the mega are 51, 52 and 53. I used 54 for the chip select pin on the mega and 10 for the Uno. I also used the SD card log node on an ethernet shield that had an SD card. It worked flawlessly. I wrestled with getting the SD card node to work for a long time, I feel your frustration. I can testify that the SD card node does work however.

If you want the clock to pulse every quarter second you need the RST on never not boot.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [October 24, 2020, 1:12am UTC](https://forum.xod.io/t/node-sd-card-error/4455/6 "2020-10-24T01:12:22Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
