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
0
votes
1answer
231 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
31 views

SD card sharing between atmega2560 and sim800

I am designing a data logging system that uploads its data via 2G, and downloads new firmware from a server to the SD card, which the mcu boots from. So far, I have achieved Over The air update by ...
2
votes
1answer
58 views

Write endurance: Is there a difference between eMMC and Micro SD Card?

I have seen several forum posts (link 1, link 2) debating whether eMMC offers an endurance advantage over SD cards for embedded applications. My understanding was that the write endurance problem is ...
0
votes
1answer
29 views

Monitoring SD/TF Card status while interfacing with separate host

I'm working on project that requires taking several terabytes worth of RAW photos on DSLR controlled by a microcontroller. Initially the plan was to use a small Linux SBC running some kind of control ...
1
vote
1answer
116 views

PCB sound memory for toys [closed]

I want to build a toy. The initial build will be a prototype but if the idea 'sells,' I want to build en-masse. For the prototype, as I do not have (beyond what I learnt at Uni) industry experience, ...
0
votes
1answer
69 views

How to modify an SD card so it will be read only?

I checked SD card pins and their descriptions and saw that there is a "data input" and a "data out". If I covered, removed the data in pin, would it block all the writing requests to the card?
0
votes
1answer
65 views

Sandisk micro sd card not detected. How to diagnose the problem without knowledge about the sd card protocol? [closed]

Seems to be a common problem with Sandisk micro sd cards. Just a little before or after the warrenty period, the micro sd card suddently stop to be recognized. I mean phones and external card reader ...
2
votes
1answer
363 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
0answers
90 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
1answer
136 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
1answer
323 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 ...
1
vote
1answer
114 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 ...
3
votes
2answers
2k views

eMMC vc MMC storage

I came across this new technology for storage and I am still a bit confused. What are the basic differences between MMC and eMMC storage? If a microcontroller is marketed as supporting SD/MMC, can I ...
1
vote
1answer
104 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
52 views

How to protect your micro SD card in transit?

I'm designing a PCB and there will be a micro SD card connector on it. My boss prefers the hinge-type mainly because we need to ship the finished product (small metal box with the PCB inside with SD ...
0
votes
1answer
62 views

Initializing to MicroSD Card with Arduino produces error code 0x43, 0xff

I am trying to interface with a 32GB MicroSD card with an Arduino Uno, but the code consistently fails at the initialization stage. Below is my schematic (sorry for the horrendous schematic, I'm not ...
19
votes
6answers
44k views

What is the correct command sequence for microSD card initialization in SPI?

I am trying to interface a microSD card (2 GB, Kingston, Sandisk) with a Silicon Labs C8051F931 controller. I am very much confused about the sequence which I have to follow for initialization. ...
1
vote
0answers
65 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, ...
0
votes
1answer
158 views

Arduino Interfacing Breadboard with SD Card + Shift Register

I have a small circuit, and use a shift register (74HC595) to help add output ports to drive an LCD display. As far as I have found, the latch pin can be connected to any digital pin, and I have it ...
0
votes
1answer
102 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 ...
3
votes
1answer
294 views

What determines the actual power consumption of writing to a microSD card?

I'm currently working a project that will feature writing data to a microSD card. Because my project will be battery powered with a 125mA power regulator, I'm concerned that my write operations will ...
3
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
153 views

MicroSD card stuck after CMD8, responding 0x5 before next CMD is issued

I have a problem for which I can't find the solution in previous topics. I'm using a microcontroller to read data from a Kodak 2GB Micro SD Card. I want to write a minimal driver in SPI mode, no need ...
0
votes
1answer
51 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
26 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
61 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
53 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
35 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 ...
0
votes
1answer
103 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{...
1
vote
1answer
108 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
145 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
102 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
0answers
33 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
109 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 ...
3
votes
2answers
5k views

Memory Card to USB IC? [closed]

Today I purchased a USB memory card reader. I cracked it open and saw that it basically only has an AU6477CL IC, which is based on the AU6370, which is a chip which takes SD/MMC/etc pins as input and ...
0
votes
1answer
50 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 ...
9
votes
3answers
555 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 ...
0
votes
1answer
64 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
227 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 ...
13
votes
11answers
12k 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
0answers
37 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. ...
2
votes
1answer
3k views

SD card block read/write issue in SPI mode. (STM32) (CMD17, CMD24)

Good day, I am using an STM32F103C8T6 and trying to interface an SD card (SanDisk Ultra 16GB MicroSD HC card) with it. I know that the card works fine because I can read, write using a PC and it also ...
0
votes
0answers
271 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
19 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 ...
1
vote
0answers
33 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
26 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
21 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
77 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 ...