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
-3
votes
0answers
25 views

Interfacing TF Card Module with STM32F103C8T6 in Arduino IDE [closed]

I want to interface a tf Card Module with my stm32 "Blue Pill" Board in Arduino IDE. I have this exact same module(even the smd components are the same): I just want to write a .txt file and read it ...
-1
votes
0answers
40 views

STM32F103C interfacing with TF Card Module [closed]

I have an stm32f103c8t6 board. Recently I got a tf card module and I tested out with arduino nano. It worked fine. Then I tried to use the module with my stm32 board. Unfortunately It did not work. ...
0
votes
1answer
52 views

Wear leveling and supply of voltage

Does anyone know if a NAND flash device (e.g. microSD) has to be continuously supplied with energy for its wear leveling algorithms work as designed? Or, if it doesn't matter if the device is (safely) ...
0
votes
0answers
32 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
60 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
31 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
119 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
69 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 ...
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
76 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 ...
1
vote
0answers
91 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, ...
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
53 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
71 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
37 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
114 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
156 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
104 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
36 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
124 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
108 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
53 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
65 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
287 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
39 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
109 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
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 ...
0
votes
0answers
303 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
34 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
29 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
22 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
91 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
34 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
50 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
112 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, ...
4
votes
1answer
98 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
89 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
23 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
343 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
98 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
395 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
661 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
215 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
218 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
518 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. ...

1 2 3 4 5 8