The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [sd]

Secure Digital (SD), a memory card standard. Has multiple form factors (Standard, MiniSD and microSD/TransFlash) and multiple capacity ratings (SDSC, SDHC, and SDXC). Also extends to SDIO, which allows peripherals in an SD form factor to attach to a host, similar to USB.

52 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
31 views

SPI SDHC card will not come ready, Regular (older) SD card works fine

I am trying to make an SPI interface on a 186 Microprocessor using bit banging and a GPIO to control the CS, SCLK, MOSI and reading in the MISO lines. Mode 0. I cannot get SDHC (version2) cards to ...
2
votes
0answers
181 views

microSD card,looks initialized,but single read block returns 0xFFs

The 2GB micro SD card i'm working on looks initialized,all commands are giving the correct answer(i.e. CMD 8 returns the echo of the argument),command ACMD41 returns 0.At that point i try to read 512 ...
2
votes
1answer
355 views

Atmel ARM Boot from MicroSD card

I studying the Atmel's ATSAME70Q19 Datasheet and i'm a little confused about boot operation mode from HSMCI. In Page 892, "38.11 HSMCI Boot Operation Mode" there's a reference which says: In boot ...
2
votes
0answers
1k views

SPI SDHC Initialization Timing Problems

I Have a 16GB Wi-Fi SD HC Card from Transcend. I try to initialize the card via SPI using an Arduino Uno, sending CMD0, arg: 0 , CRC: 0x95 response:0xFF but the expected response is: ...
2
votes
0answers
453 views

Voltage Translator (74HC4050) Voltage Fluctuations

I have a simple circuit with a simple problem that I just can not fix. I have a 74HC4050D hooked up to an SD card. I have a 0.1uf on the 5V line and 2.2uf on the 3.3V line. Whenever a signal is sent ...
2
votes
0answers
492 views

Data logger using ARM 9 (Friendly ARM Mini 2440 kit)

I have been working on this kit for the past month and have simulated some basic programs using Keil (non os using just C). I was assigned a project of making a data logger which stores the data in ...
2
votes
0answers
809 views

Moving mass storage design from SD/MMC to NAND flash

We have a prototype design in the works, that is currently running on a reference board done my Olimex (Olinuxino maxi), but eventually we would like to move the storage from microsd to nand flash (or ...
1
vote
0answers
21 views

Mounting Problems SD Card and STM32F7 Discovery

I've got some problems with the FATFs library and the STM32F7 Series. I want to connect a SD-Card (32GB, SanDisk, FAT32) with the F746G-Discovery-Board to save some data on it. (at first .txt-Files, ...
1
vote
1answer
80 views

SD Card formatting in FAT 32 file system

I am using NXP Micro for interfacing microSD card with FAT32 file system. for implementation I am using drivers located at below link. https://embedded-code.com/source-code/memory/secure-digital-mmc-...
1
vote
0answers
30 views

Issue with SD Card Initialization via SPI: No CMD0 Response

I am working on a project to read files off of SD cards with an xmega128a4u via SPI. I noticed that some cards initialize without an issue. However, I have two cards that just wont. As far as I can ...
1
vote
0answers
31 views

How to design Micro SD circuit for different speed class?

It's my first time to design the micro SD reader circuit. I hope that my design can support micro SD card with various speed class(from class2 to class10). According to my understanding, the only ...
1
vote
0answers
333 views

STM32 SDMMC & SDIO - why max 1 SD card only?

I'm writing an SDMMC driver for my C++ RTOS for microcontrollers and there is one thing which really puzzles me, making it hard to decide about class hierarchy. In the Reference Manual for STM32F7 (...
1
vote
0answers
167 views

SD Card re initialization using fatfs on stm32f103RB

I am using a SD Card Module that has no pin for checking existence of SD Card, So i should do the check using fatfs libs. The micro-controller is STM32F103RB and i'am using SPI protocol to communicate ...
1
vote
0answers
116 views

How to measure SD card data timing vs. clock

I'm doing EVT testing of our product and I want to measure the SD card data vs. clock timing to make sure we're inside the specs. We're using LS1043A that boots Linux (via U-Boot) from an SD card ...
1
vote
1answer
109 views

Problems sharing data on a common uSD between a camera and micro; - Switch (TS3A27518E)

Having a lot of difficulties sharing a uSD card between two devices (Atmel micro which uses the SPI, and the camera). We used to do this using relays and all worked fine but cards got faster and ...
1
vote
0answers
198 views

STM32L443 don't recognize some SD cards

I'm new in this forum, but I think this is the right forum to ask my question. I'm working on a project, where I need to store datas on an SD card. I use an STM32L443 microcontroller. The controller ...
1
vote
0answers
154 views

Replacing SD card by using EEPROM

I am using the mbed platform and to be specific, NUCLEO L073RZ. To log data, I am using SDFileSystem.cpp that is officially supported by mbed (you can find the link ...
1
vote
0answers
2k views

Why is SDIO used with WiFi chips

SDIO standard is specifically meant for devices like camera that have an SD card. Still in many of the applications I found that the SDIO is also used to interface with WiFi chips. Why is that so? Can ...
1
vote
0answers
238 views

Atmel ARM, USB, and an SD Card as a MSD?

I'm currently trying to run the SAM L21 as both a CDC and an MSD over USB. Thankfully there is example code here to get me started. I can move files into the on-board ram just like any other storage ...
1
vote
0answers
911 views

STM32F401 SDIO with DMA

Please need help in: Do somebody have a a working code that writes to sd card via sdio using FatFs and DMA?( data logger) In a poling mode (without DMA) I am writing to .bin file and getting error ...
1
vote
0answers
445 views

Is it possible to emulate an SD as a slave?

What I want to do is put a dummy SD card (the connector going directly to the device with a cable going to a micro controller) into a device so that when the device tries to write a file the micro ...
1
vote
0answers
382 views

Send a file to an SD card over SPI

I am using a PIC18F4620 and an XC8 compiler. I am trying to create a file and send it to the SD card. I am using the MDD library from the MLA Legacy. My main is: ...
1
vote
0answers
968 views

FatFs issue with f_write and f_sync

I'm trying to set up a PIC18F67K22 to log data to an SD card, but I am having some trouble getting FatFs working properly. I implemented some low level code following the diskio.c API that is provided,...
1
vote
1answer
313 views

Problems initializing SD card with MSP430

I've been working on some code to talk to an SD card with the MSP430. I can't get the card to enter into idle mode, and I'm actually pretty stumped as to why. I've looked at the microcontroller output ...
0
votes
0answers
25 views

MicroSD connection

I'm trying to use a different MicroSD for this design, I want to use the DM3AT-SF-PEJM5 instead of the MicroSD-104031-001. I'm not sure about the card detection pins connection, is it correct what I'm ...
0
votes
0answers
38 views

STM32 SD Card SPI no response

I am using an STM32F0 to communicate with an SD card over SPI. However, when I send CMD0 after performing the required initialization, the SD card does not respond with anything on MISO. What's ...
0
votes
0answers
25 views

CRC error from CMD8 during intialization process?

I am trying to initialize SD card for a project I managed to get reply for CMD0 with 0x01 but when i send CMD8 I get response of 0x09 which means CRC error however I am sending the correct value for ...
0
votes
0answers
89 views

Can I connect two MCUs directly to one micro SD card without additional components?

I am new to this community so I am sorry if I'm asking in a wrong place or something out of topic. I think I have considered everything. :) So, now the basic info: I am working on a project which ...
0
votes
0answers
95 views

STM32 SDIO FATFS

I'm using SDIO (1-bit mode) with an STM32F429 Discovery board to read from and write to an SD card. The code below works, I've seen that it does, the problem is it seems to randomly choose when to ...
0
votes
0answers
34 views

Pin confirmation on pic for sd card connector?

I've had a first version of a connection to a sd card connector (DM3CS-SF) for my PIC32MX470F512L that did the following connections: After trying to run an harmony example, using this config, the sd ...
0
votes
0answers
107 views

Microsd card PCB circuit designing

I am trying to develop a microSD card module myself. My microSD card module is working at 3.3V and my microcontroller is operating at 1.8V. I have therefore used TXB0104 voltage level shifter to ...
0
votes
0answers
25 views

SD card command reference, command for streaming data to SD

I am currently working on a device with ATSAME70Q21 what measures 144 channels of ADC values on an SD card (MCI interface). Each measurement takes up a 512Byte block data on the SD. I do not use a ...
0
votes
0answers
16 views

SD controller SD protocol single block read transaction timing

When does an SDHCI controller (3.00 spec) starts reading the DAT lines in a single read block transaction (not using DMA)? Does it wait to receive the full ...
0
votes
0answers
59 views

CLK signal on DAT0 line on SD protocol?

I'm facing some problems in the initialization stage of the SD protocol on a custom board, specifically when sending the ACMD51 command and reading the Status Card ...
0
votes
0answers
40 views

MicroSD card SPI initialization irregularities

I've implemented the start-up sequence for SPI mode on MicroSD v2 cards (using the specifications), and I've found that the SD card fails initialization at different points in the process. It often ...
0
votes
0answers
54 views

Wiring WiFi SD card to TF

I am trying to wire a WiFi SD card so that it will insert into a TF socket. I connected each pin to its equivalent, with an extra GND on the SD card connected to the same on the TF. It's not working, ...
0
votes
0answers
57 views

Adafruit BMP280 and SD Card reader not working consistently with SPI

I am working on a project that involves logging the altitude from the BMP280 breakout board from Adafruit on an SD card using an Arduino Uno and SPI. initially I got the whole thing working right and ...
0
votes
0answers
21 views

Isolation of SD IO pins during off state

I have a project at the moment that uses a PMOSFET to switch the supply to an SD card. According to the SanDisk SD datasheet available here: Because there are clamping diodes on the CMD, CLK, and ...
0
votes
1answer
231 views

SD card single write block

I'm presently writing the code for SAMD20 micro-controller and SDCard. I'v successfully written code for single block read and multi block successfully. I'm testing my code with San-disk 16 GB SDCard ...
0
votes
0answers
69 views

SD card reader using SPI with Atmel SAM G55J

I have a custom board using an Atmel SAM G55J (ATSAMG55J19A-AU) and I'm trying to get the SD card reader to work - which is connected to SPI0. I'm using the SD/MMC ...
0
votes
0answers
40 views

Power Arduino from MicroSD host and more

There are a lot of cheap MicroSD port extender flex ribbons from China. These things extend the MicroSD port quite a lot. I thought it would be cool to adapt these to power an Arduino from a phones ...
0
votes
0answers
58 views

BBB Flashing Loop

So generally I have no problem flashing my BBB with the SD I have. I do it all the time, and it works on most board. However occionally it gets stuck in this "loop". It will flash the device ...
0
votes
1answer
98 views

SIMCom SIM808 SD card problem

I am working with SIMCom's SIM808 2G+GPS modem and trying to connect it to an SD card. I am following SIMCom hardware design docs, to save some data in SD memory. The problem is: when I send ...
0
votes
0answers
242 views

SD card won't communicate - STM32

I've implemented the low lever drivers of the fatfs. I tried to write some txt file to an SDHC card, but I can never initialize the card. MCU is STM32F103C8T6. I'm using CubeMX with HAL libraries and ...
0
votes
1answer
111 views

What are disadvantages of using SD card SPI mode besides reduced data rate?

The "SD Specifications Part 1 Physical Layer Simplified Specification Version 2.00" states on page 93: The SPI standard defines the physical link only, and not the complete data ...
0
votes
0answers
2k views

Writing on an SD Card wih an FPGA

I will be using the following FPGA https://store.digilentinc.com/nexys-video-artix-7-fpga-trainer-board-for-multimedia-applications/ I have a module who has 16 std_logic_vector (13 downto 0) outputs ...
0
votes
0answers
359 views

Set Block size(CMD16) for SD card returns Illegal Command as response

I am interfacing SD card (16Gb Class 10 Micro Sd HC) to STM32F407VET using SDIO protocol. I am using Chan FatFs version 13a for this project. I am able to open an existing file(with some content in it)...
0
votes
0answers
674 views

Enabling SD card access on SIM808

I am currently working with SIMCom's SIM808 2G+GPS modem. In my setup, an MCU communicates with the modem over UART to save some data in the SIM808's filesystem. As the modem's built-in memory is < ...
0
votes
1answer
215 views

is it possible to design a SD 3.0 controller in UHS-ii/uhs-i mode using simplified specifications?

I've been for while looking to store a sampled data up to the rate of 30MBytes/s, an SD 3.0 host controller core in uhs-ii/uhs-i mode fits the requirements. i'm not planning to buy SD full spec and ...
0
votes
0answers
94 views

Review pin connections between atmega328p and a microSD card?

Would some kind soul be willing to review my circuit diagram that connects a barebones atmega328p with a microSD card? The partial circuit is here. Details. This has already been made on a custom PCB,...