Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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.

Filter by
Sorted by
Tagged with
-1
votes
0answers
42 views

How do I convert a microSD to a USB pen drive [on hold]

As a first circuit board project I decided to make a MicroSD to USB pen drive but I am struggling to create a schematic for the pcb. The problem I am running into is figuring out what I need as far as ...
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, ...
2
votes
1answer
2k views

CMOS Flash vs SD: Can I put a Gamecube Memory Card in an SD reader?

Backstory I've decided to run "Homebrew" on my Gamecube (and writing Homebrew for n00bs to document the process). Unfortunately, it seems that there's no way to do this without buying special ...
0
votes
1answer
49 views

Download a file from web browser to Micro SD card [closed]

I am trying to do a web server to store a file (mostly MP3) on a Micro SD card. I have stm32f407-discovery and w5500 and a Micro SD card reader (unbranded manual pcb drawed). How can I open a web ...
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
39 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 ...
-4
votes
1answer
51 views

Why CMD17 cannot return 0xFE?

I have a problem with CMD17 when I send this command and wait response I always get first response 0x00 but when I am waiting at 0xFE it cannot get it. In debug mode I get 0xFE. This my code for ...
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 ...
1
vote
1answer
91 views

ADC distortion when writing to microSD

I am doing my own project making a basic audio recording device using microcontroller's ADC to get the audio signal from electret microphone and saving data to microSD card. I'm using STM32L476RG ...
0
votes
3answers
113 views

Make an SD card installed on PCB readable through USB

I work on a circuit that logs data onto an SD card. I want to know how I can read the SD card data directly from my PC using USB. I am thinking of using a type of SPI to USB converter because there ...
0
votes
1answer
98 views

Will using a microSD card reader with STM32 produce logical errors? [closed]

I have a microSD card reader which needs \$5\,\mathrm{V}\$ to operate. I am interfacing it with STM32 MCU operating at \$3.3\,\mathrm{V}\$. Will it operate normally when I provide only \$3.3\,\mathrm{...
0
votes
0answers
26 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
1answer
88 views

Arduino nano + microSD module + ethernet module does not assign IP address

I would like to create a small web server to enable or disable devices via ethernet connection, except that the network module and the SD reader did not seem to work if connected simultaneously. That ...
0
votes
1answer
45 views

Level shifting between SD Card and Lipo-powered microcontroller

I have an ATtiny861 microcontroller powered directly from a Lipo battery. My circuit is designed to operate on supply voltages from 3V - 4.2V (bonus if it tolerates up to 4.6V). I need to interface ...
0
votes
1answer
60 views

Interfacing SD card with STM32F44

I'm using STM32F44VET6 controller(using cubemx code configurator), I need to interface a 64GB SD card,and this controller has SDIO pheripheral also But I'm confused how to choose interface type SPI ...
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
2answers
50 views

How much current does a DM3 connector require? [closed]

I'm trying to have my PIC32MX470F512L communicate with the sd card for some time now without success (using harmony sd card example) I checked that the pins CMD,CLK,DAT0,DAT3 are receiving a signal. ...
1
vote
1answer
81 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-...
0
votes
0answers
18 views

Microsd card PCB designing [duplicate]

Hello Dear Community Members, I am trying to develop a microSD card module. My microSD card module is working at 3.3V and my microcontroller is operating at 1.8V. I have therefore used TXB0104 ...
0
votes
0answers
111 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 ...
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 ...
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 ...
1
vote
0answers
32 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 ...
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, ...
3
votes
1answer
64 views

Keep out zone of microSD card set footprint

I'm designing a PCB with Hirose microSD card set DM3AT-SF-PEJM5. In its datasheet, page 3, there are several "no conductive traces" area, which are marked as "keep out" zone in the footprint I found. ...
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
233 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 ...
1
vote
0answers
336 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 (...
0
votes
1answer
382 views

microSD card, how many times can I write the same sector?

I'm using a microSD card in an embedded system which use a microcontroller interfacing with the microSD card using SPI. I do raw data write, without a file system. Every time that I want to store data,...
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
2answers
209 views

Can I lower flash power consumption by pre-flashing all values to high?

I am designing an embedded system that will use either embedded flash memory or an SD card. The system must survive without much power and the estimated 30mA draw of an SD card sounds too high for me. ...
1
vote
2answers
161 views

SD card initialisation problem with Atmega32u4

I have had this issue for the last couple of days and I cannot solve it. There are many similar issues I've read through online but they have not really worked for me. This project involves a PCB and ...
1
vote
3answers
375 views

How to figure out SD Card optimal write size

I am writing the data logging portion for a real time embedded application. I have an SD card I communicate via SPI at 33Mhz. I need to be able to log at least 1024 bytes of data ever 1 milli-second. ...
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 ...
1
vote
1answer
247 views

Ver2.0 SDHC Card long response time after ACMD41 during initialization

I would like to implement a very low power SD card handling with MSP430 processors. I would like to log measurement data onto SD card without a file system. I want to turn on and off the SD card power ...
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
1answer
66 views

Can Flash controllers make a card readonly?

It is said in this answer here that Some of them have a controller chip that will permanently lock them to read only if they detect a write error, as a preservation measure. Is it possible for ...
0
votes
1answer
125 views

How can I read/write bytes to SD card slot of MC60A?

I am working on a clickBoard with MC60 A GSM module from MikroEletronika company. This clickBoard has two slots: (1) one for SIM card and another (2) for micro SD cards. I have read all the available ...
1
vote
2answers
144 views

MicroSD raw write/read mode. After sector write once, can't write more sectors and read always 0's

I am doing, for the first time, the interface between a microcontroller (PIC32MX) and a microSD card through SPI. The cards I'm using are initializing correctly. The sector/block size is fixed at 512 ...
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 ...
2
votes
1answer
308 views

Need help with SD Card Initialization (CLK Syncronization)

EDIT 1 : I made changes to the code as @Anonymous suggested in the answer. It seems to have improved but now I seems to be getting incorrect response OR SD CARD putting response at the wrong time. ...