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.

learn more… | top users | synonyms (2)

0
votes
3answers
142 views

A Guaranteed Way to Corrupt SD Card

I am working on an embedded Linux project that it is important to be sure that the file system won't be destroyed when some unexpected thing occurs (e.g., power failure during a write operation on SD ...
1
vote
0answers
53 views

Is it possible to write data directly from a mobile to a PC through the mobile's SD card slot? [migrated]

I have to questions: -Is it possible to write data directly from GoPro to a Raspberry Pi through the GoPro's SD card slot? -How does Micro SD card function? I would like to use my GoPro (hero 1) as a ...
1
vote
0answers
37 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 ...
0
votes
2answers
91 views

How does an SD card communicate with a computer? [closed]

Could someone please give me a concise explanation to how an SD card sends and receives data from a computer. Does it do this one bit at a time? How does the computer/SD card combine these individual ...
1
vote
1answer
50 views

More energy efficient: writing in a SD card or transmitting by BLE for long period?

I need to store about 1 adc sample per second on a wireless project for about 10 hours. The problem is the energy. What is more efficient a constant transmission on BLE or writting each second on a SD ...
0
votes
2answers
64 views

SD card Sector size

I am working with SD card using AVR microcontroller. My question is, can we change the sector size of SD cards or it is fixed 512 bytes in SD card's case? What things should be considered if I want to ...
0
votes
0answers
33 views

Enabling DDR in SD/MMC causes problems? CMD 11 gives a response, but the voltage switch won't complete

I am trying to enable DDR on an SD card (specification above 2.0). The procedure in the specifications is as follows Execute CMD0 to make the card idle. Execute CMD8 to enable ask about the voltage ...
3
votes
1answer
65 views

SD card ACMD42 command

According to SD card datasheets, there is an internal pull-up resistor on the DAT3 line, and we can use this line to detect the card. Additionally, the ACMD42 command is described that it is used to ...
1
vote
2answers
50 views

SD Card Pin State During Hot Insertion

I'm working on a project in which I'm forced to connect an SD card to a shared SPI bus with some other peripherals. I need to make sure a hot insertion event won't corrupt any ongoing data transfer on ...
-1
votes
0answers
81 views

Logging data using STM32F401 or STM32L4 nucleo board to SD card

I want to log data from sensor 24/7 and store it to SD Card in fatFs ( every day will be a file ) and the data from this day will be stored there. I learn about SDIO and s little bit about fatFs but I ...
1
vote
1answer
112 views

eMMC interface : Parallel vs SDIO

I want to use an eMMC card for my application. After searching on different websites,I was not able to find any parallel interface supported eMMC chip. Is parallel interface available for eMMC ...
2
votes
1answer
94 views

Is it possible to read erased flash memory?

In hard disks, a "quick format" does nothing to the actual data on the disk - just clears the FAT (file allocation table), which then appears as a "blank disk" to the user. Therefore, it is fairly ...
1
vote
1answer
154 views

FatFs: Why am I not able to properly read sector 0?

Background: I am using an nRF52832 Development Kit with this microSD card in this breakout board. The card is powered at 3 V (I've tested running off the dev kit regulator and an external power ...
-2
votes
1answer
60 views

Make sd card WRITE/read only

I'm a noob trying to find a solution to make a sd card write/read only? Like creating files is possible but to delete something you have to format the whole card. You only can delete everything or ...
1
vote
0answers
69 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
1answer
41 views

SD Card Reset Issue

I've got an issue where I'm playing around with the SPI commands to get SD card comms working but it seems that if I send something the card doesn't like I get in a condition where it can't reset. ...
2
votes
2answers
188 views

How can I write high-speed A/D data to an SD card?

I want to use a microcontroller and A/D converter to do some high-frequency (~100 kHz) long-term (minimum of five second buffer, looping until triggered) data logging. It looks like a good way to do ...
0
votes
1answer
59 views

SD Card Reader with LPC43xx

I am trying to implement an sd card reader on lpc43xx devices. For this I can make use of the LPCopen examples that use the ROM based drivers. However for some reason the ROM based driver example ...
-1
votes
1answer
376 views

STM32F7 FATFS and SD card Write problems

I have an STM32F7 discovery board and have an image in the SDRAM which I want to store on the SD card as BMP file. I am using chan's FATFS module with the sddiskio module and the BSP library from ST, ...
0
votes
2answers
161 views

Error initiating microSD card in SPI mode

I am trying to interface a 32 GB microSD card with PIC32MX795F512L using SPI communication. SPI communication is working fine as I have tested it by shorting the Data Input and Output line and ...
0
votes
1answer
134 views

Writing large volume of data to SD card

I'm planning to make a data logger project with 3-axis sensor and SD card. I would like to store 3200 samples per every second on SD card. Currently I could able to store only 630 samples per second. ...
1
vote
1answer
104 views

SD Card Trace Inductance and Capacitance

Most (if not all) SD card datasheets contain the following requirements, which I gather are copied from the standard: 16nH max trace inductance for f < 20 MHz 40pF max line capacitance Two ...
2
votes
2answers
70 views

Will cutting only the Power Lines damage the Data Lines or the Device?

A USB 2.0 Cable should have 4 cables. They are the Vcc, Data+, Data- and Ground. Will only disconnecting the Vcc OR Ground Wires damage the Connected Device or the Data Wires? I currently have a USB ...
1
vote
1answer
192 views

What is the way to detect sd card insertion/removal?

I am interfacing 32GB Micro SD card with PIC32MX795F512L. I am following the examples provided in Lucio de Jasio book. In one of their example, they are using ...
0
votes
1answer
62 views

How to set SD card clock frequency between 100 kHz - 400 kHz

I am interfacing a 32 GB microSD card with PIC32MX795F512L. I am following the examples provided in Lucio de Jasio's book. As the author has described that to set a 250 kHz, they are ...
6
votes
1answer
538 views

What does SWITCH pin do on a microSD connector?

I'm trying to connect a microSD card connector to my project (Molex 502774) and am slightly confused by the extra pins (nails?) provided. One of them is marked DETECT NAIL and the other one is SWITCH ...
0
votes
2answers
84 views

What extra circuitry is recommended for a plain micro SD card adapter

I intend to use an SD card to record the movement (X,Y,C) of an animal for a research purpose. I am using the Texas Instruments ARM Cortex-M4 TM4C123GH6PM launchpad along with a Sparkfun Micro-SD ...
0
votes
1answer
300 views

Do SD cards operating at 1.8V save any power compared to 2.7 - 3.6V?

Excuse me if I'm repeating my previous question, but it wasn't getting any answers probably because it was too broad. So, let me narrow the question down to just UHS SD cards that can operate at 1.8V ...
3
votes
1answer
150 views

For variable voltage devices, namely SD cards, how much power do you save by using a lower voltage?

I'm designing a computer vision system and my 3 main components are microcontroller (VDD = [1.8V, 3.6V]) microSD card (4 bit mode, VDD = [2.7V, 3.6V] according to SD 2.0 standard) cheap cell phone ...
2
votes
0answers
77 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 ...
0
votes
2answers
133 views

Noisy Logic Level Converter for SD Card

I have designed a Arduino shield that is designed to be placed in the field and log data from a sensor which it then saves to an SD card. In order to log this data, I must convert 5v SPI to 3v3 of ...
1
vote
1answer
91 views

High Speed Data Acquisition with SD Card Write

I am collecting data from several dozen sensors over an 8 MHz SPI bus at 400 Hz. It is critical that the sensors are sampled at this rate with no lost packets. In order to do this, I have a timer ...
2
votes
2answers
115 views

NO CD pin in SD card module by LC Studio?

I have a SD card module by LC Studio. I am interfacing it with PIC32. This module consist of 6 pins: CS MOSI MISO CLK 3v3 GND ...
1
vote
1answer
483 views

Card Detect Pin of SDHC Interface

I am working on a design with a processor which has I2C SCL line & SDHC_CD(Card Detect) pins multiplexed. I need to use I2C line. I am giving SD Card for boot code of processor. I have below ...
6
votes
10answers
3k views

How to make 1 bit permanent memory circuit?

I would like to make a simple circuit to store or save 1 bit of data. The circuit should be able to remember the state of an LED ( on or off ) even if the supply is disconnected from the circuit. I ...
0
votes
2answers
295 views

Use SDIO pheripheral for quad SPI flash memory

I am currently doing a project using the STM32F103 micro-controller. The project requires external flash memory to store images and data for later showing on LCD. The problem I have is that I want ...
3
votes
4answers
484 views

Operating an SD card module with only two pins

My standard SD card module uses four pins: SDCS, MOSI, SCK, and MISO. However, I can only dedicate two pins of my ATtiny85 to operate it. Is there a way I can do this without using more ICs, such as ...
0
votes
0answers
116 views

Command Response SD Card Timing in SD Mode

I'm making a SD card stack and I'm currently starting to implement the SD mode. In SPI mode a card is able to receive the command, put the DO/MISO line in '1' while is taking care of the response and ...
0
votes
2answers
120 views

Printing SD Card File contents on LCD

This is a part of my program which reads data from SD card File and Display that on LCD screen. ...
-1
votes
1answer
241 views

Replacing SD card reader on a Raspberry Pi B+

I recently purchased a Raspberry Pi B+. However, the micro SD Card reader had a defective spring loading mechanism, so the card would not lock in place (a new Pi is now on the way!) However, I would ...
1
vote
2answers
135 views

How to correctly connect a MicroSD card to an FPGA device

I want to ask how to correctly connect a MicroSD card to an FPGA device(not spi version), consider all FPGA pins will be floating for an amount of time before FPGA is configured. I've found a lot of ...
3
votes
0answers
106 views

FSInit() - “CE_BAD_PARTITION”

I am using a PIC18F26K80 and an XC8 compiler. I am trying to initialise an SD card and create a file. I have simply formatted the SD card on Windows to have a "FAT32" file system and an "Allocation ...
1
vote
0answers
152 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
2answers
496 views

SD card SPI interface for PIC18F25k80

I am using a PIC18f25k80 microprocessor and I want to transfer data on an SD card over SPI. The compiler I am using is MPLAB X XC8. Could you please provide an example of how I can initialise the SD ...
0
votes
1answer
465 views

I2C-to-SPI bridge and SD card

I am using a PIC18F25k80 microprocessor, which is communicating by using I2C protocol with peripheral ICs. After collecting the data from the ICs I want to store them in an SD card. However for the SD ...
1
vote
0answers
228 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 ...
2
votes
0answers
193 views

SPI / SD Card communication issues

I am working with a PIC18F67K22 and am seeing some bizarre things in the SPI data stream. I am trying to interact with a FAT32 partition using FatFs and a custom built diskio.c file. I am able to ...
0
votes
2answers
392 views

Why SD card is less durable than internal storage in smart phones? [closed]

For instance, Raspberry PI managed to destroy SD card in few weeks. (It seems to be a common problem.) However, internal storage in a smartphone works well for several years (5-years-old Nexus One is ...
0
votes
1answer
114 views

Is it possible to check max storage address of a SD card via a command?

How much memory can an SD card hold? I am not going to use a data format. I want to use it as an upgradeable internal storage. So I want to know in which range of addresses I can work. Maybe there is ...
2
votes
2answers
168 views

Read SD card without a file system [closed]

I design a DAQ to collect data from different sensors. The data are written on an SD card by a microcontroller, dsPIC33FJ256GP710A. The data are stored without a file system for speed reasons. Now I ...