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
-4
votes
2answers
287 views

LEDs on 3.3V serial and sd card select lines

How would i go about connecting indicator LEDs to the serial lines from my MCU(a Parallax Propeller) to a MAX3232 and the chip select line for a SD card? I want the LEDs to light up when the lines are ...
0
votes
1answer
546 views

Meaning of micro-sd card symbols

I hope this is the right stackexchange site to ask this question. I'd like to now the meaning of these symbols, visible in the front of two different micro sd cards of the same model: Backgroung (in ...
1
vote
0answers
275 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 ...
0
votes
1answer
180 views

SDHC initialization problem

For days I work on this and I have no solution. My ACMD 41 constantly returns 0x01. Here's my code. Can someone help me with this, I really need someone who worked on this. ...
1
vote
1answer
1k views

What is wear leveling in SD cards? How I can check my sd card has wear leveling or not? [closed]

I searched on internet. Still I'm not clear about wear leveling can somebody explain this concept?
2
votes
4answers
1k 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
937 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 ...
2
votes
2answers
4k 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
208 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 ...
1
vote
3answers
15k views

SD card Sector size

I am working with an SD card using AVR microcontroller. Questions: Is it possible to change the sector size of SD cards or is it fixed 512 bytes in SD card's case? What things should be considered ...
3
votes
1answer
650 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
1answer
128 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 ...
4
votes
1answer
6k 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 chip? ...
3
votes
1answer
970 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
1k 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 supply)...
-2
votes
1answer
216 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
2answers
513 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
950 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
2k 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
358 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
2answers
7k 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, ...
1
vote
2answers
1k 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
735 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. ...
2
votes
1answer
2k 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
535 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 ...
2
votes
1answer
14k 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 ...
1
vote
1answer
805 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 ...
7
votes
2answers
4k 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
646 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
3k 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
306 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
1answer
376 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 ...
0
votes
2answers
690 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
335 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
963 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 ...
2
votes
1answer
6k 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 ...
14
votes
11answers
14k 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 ...
2
votes
2answers
2k 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
872 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
2answers
305 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
834 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 ...
2
votes
2answers
913 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 ...
9
votes
3answers
579 views

FSInit() - “CE_BAD_PARTITION” [closed]

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
399 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: ...
2
votes
2answers
3k 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
3k 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
1k 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,...
4
votes
1answer
819 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
1k 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 ...
1
vote
1answer
887 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 ...

1
4
5
6 7 8