Skip to main content

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
11 votes
2 answers
2k views

How can I enable read only mode in microSD card

I have microSD card which doesn't have read-only switch (but the adapter does). I would like to switch microSD card into read-only mode (without adapter), so inserting it into any device like ...
ADM-IT's user avatar
  • 213
0 votes
0 answers
37 views

ESP8266 NodeMCU SD Card Not Initializing

I have tried numerous tutorials, Arduino examples and I cant get an SD to initialize. There is a card inserted that is formatted with exFAT and there is one file test.txt. Particularly https://www....
Jason Crosby's user avatar
0 votes
0 answers
51 views

SD card via SPI: any way of getting it out of stuck state after aborted SPI operation(s) without power cycling it?

using ESP32 and its IDF platform libraries to access SD card via SPI, we have a situation where e.g. panic reboot of ESP32 leaves the SD card 'stuck' such that it cannot be mounted any more after ...
tangram's user avatar
0 votes
0 answers
47 views

Reading ECG wave data from .dat and .hea file from SD card with Arduino DUE to produce it on DAC pin

I am trying to produce an ECG wave on the DAC pin of the Arduino DUE. Here are my setup details. SD card is attached to Arduino DUE with SPI connections. I have 2 files (.dat and .hea) of ECG data on ...
Noor Hassan's user avatar
0 votes
2 answers
33 views

Discrepancy between SKR Mini E3V2 and documented SD Card Pinout

There is a schematic of the BTT SKR Mini E3 V2 available on the internet and I was taking a look at the SD Card Pinout. First of all I noticed, that it appears to run in SPI and not SD mode. Fine okay,...
HeartOfGermany's user avatar
0 votes
1 answer
65 views

Interface micro SD card with MCU and USB port at the same time [closed]

I'm designing a PCB and I would like an MCU (ESP32-S3) to be able to write periodically on a micro SD card (logs). I'm using SPI. I also would like to be able to get those logs through a USB port on ...
AyubowanPro's user avatar
0 votes
1 answer
47 views

Accessing Data through web saved on microcontroller SD card

I'm using a microcontroller (Arduino Uno) to collect sensor data and saving it in .txt format to the interfaced SD card. I would like to access this data remotely through web (WAN). Please advise on ...
Lean345's user avatar
0 votes
0 answers
20 views

STM32MP157D-DK1 OS building

I am trying to flash binaries that I have generated with Yocto, intended for an STM32MP157D-DK1 board. However, during the process, I am encountering the following error: 'Partition 0xBB not found in ...
SADALI Mohand's user avatar
0 votes
1 answer
40 views

SD/µSD card pins

I would like to make a µSD card to USB adapter using this chip and this connector but the SD data pins on the chip are SD_D[0-7] whereas on the connector it's 063 and a bunch of PCIe pins. Which pin ...
Jolia's user avatar
  • 1
3 votes
1 answer
114 views

Reset issue while issuing commands to SD card

I am busy with a project where I'm trying to make a custom flashcard for the Gameboy (for more details, refer to https://efacdev.nl/projects/ecgc). For the flashcard, I am trying to load games from an ...
elialm's user avatar
  • 273
1 vote
0 answers
47 views

SPI: Write to display while reading multiple blocks from SD card

I'm reading BMP images with hundreds of kB's raw from an SD card and parse/write the image data to a TFT LCD with an AVR MCU with 2kB RAM. Reading a single block of 512 bytes with CMD17, passing it to ...
Torsten Römer's user avatar
0 votes
0 answers
46 views

EMF Coupling from microSD writes

Looking for some pointers. I am having an issue with noise coupling into the onboard ADCs while writing to a microSD card. Audio from an pre-amp at 46.875 ksps I am using a SAMD51 microcontroller (...
Julian Blanco's user avatar
2 votes
2 answers
850 views

STM32 writing to SD card using FATFS sometimes takes longer than normally

I am using nucleo-f401re board for my project and I want to write sensor data to SD card. I am writing data when sensor interrupts occur, and that happens at 408 Hz, so I have around 2 ms to write ...
Dominykas's user avatar
  • 433
14 votes
3 answers
4k views

What does an SD Card do internally during the 74 clock cycles at startup

It is documented that the SD Bus Interface requires 74 clock cycles before the first command is sent: Taken from SD Specifications Part 1 Physical Layer, Simplified Specification, Version 6.00 https:/...
Graham's user avatar
  • 497
1 vote
1 answer
159 views

How to design an SD card to Memory Stick adapter?

I want to design an SD card to Memory Stick adapter. I will need to somehow implement SD controller (host) and Memory Stick controller (device) in my design, then do the translation between the ...
tpimh's user avatar
  • 513
0 votes
0 answers
42 views

stm32H7 SDMMC1 Falling and rising edge

I'm trying to make my sdmmc1 project read cmd data by rising edge, what i have tried: Tried both hsd1.Init.ClockEdge = SDMMC_CLOCK_EDGE_RISING; and hsd1.Init.ClockEdge = SDMMC_CLOCK_EDGE_FALLING ...
KlimDuda's user avatar
0 votes
0 answers
91 views

stm32h7 sdmmc DATA problem

Im trying to send data with sdmmc and i cant see anything happening in data line on oscio. CMD and CLOCK working fine but data just doesnt reacting. this is how clock and cmd looking like (no data ...
KlimDuda's user avatar
0 votes
0 answers
37 views

Can I write SD card a cluster without erasing if it contains only 0xFF?

In my understanding, a block has many clusters in it. Once I erase a block, all data in the block became 0xFF. Then I can write new data into the clusters in the block. So, if I already know that all ...
huangda1982's user avatar
0 votes
0 answers
42 views

Can SD card readers read a card which only implements the SPI mode?

I've read How can I initialize/use SD cards with SPI?. If I connected a microcontroller's SPI slave pins to an SD card shaped connector, would this allow the microcontroller to appear as a very small ...
fadedbee's user avatar
  • 982
1 vote
0 answers
96 views

SD card stuck writing single block of data

I noticed a very strange behaviour on some of my micro SD cards. I have a project that writes data to files stored on my SD card (FAT32 formatted) via the SPI interface of a PIC32 microcontroller. ...
RobinDeleener's user avatar
0 votes
0 answers
47 views

SOC booting FPGA configuration file

I have some understanding on embedded system booting process, which includes step wise execution of: ROM boot loader. First stage boot loader - internal to SOC. Second stage boot loader - stored on ...
Blrk_hw's user avatar
0 votes
0 answers
385 views

SD Card with SDIO Interface Issues on STM32F446RET6 PCB

We are currently working on a PCB that has an STM32F446RET6 MCU. The PCB is equipped with various sensors for data collection. Additionally, we are using an SD card for data logging and have opted for ...
Burak Kayaalp's user avatar
0 votes
0 answers
145 views

microSDXC responding to SPI ACMD41 with SD mode?

For a project I am working on, I need to access raw blocks from a microSDXC 128GB card (SanDisk) using SPI, and I am writing my own code to do this. I am using a PIC18F87K22 microchip to talk to the ...
kmikels's user avatar
1 vote
0 answers
420 views

SD Card CLK stops working properly on STM32F4 with SDIO connections

I have an SD Card socket connected to STM32F4 with the connections as follows: The firmware uses the following codes to initialize the SDIO: ...
Patratacus's user avatar
0 votes
0 answers
157 views

FE1.1s USB Hub and GL827L SD Card Reader

I'm trying to make a 4-port USB hub using the FE1.1s IC, one of the outputs of which is the GL827L IC as an SD card reader. when i connect my usb hub to computer, my usb hub is detected but sd card ...
MaretArt's user avatar
2 votes
2 answers
135 views

Detecting data traffic into a SD card

I'm designing an automated camera system. A time-lapse camera for very slow-moving objects. I'm interested in glaciers. The system has very small standby power (~160 uA), and in medium size battery ...
Camilo Rada's user avatar
2 votes
1 answer
201 views

Select SD mode on XTSD01G/XTSD02G/XTSD04/XTSD08G

I want to integrate an XTSD01G/XTSD02G/XTSD04/XTSD08G (datasheet) memory chip, which should work like a SD card, with an ESP32-S3. I want to use 1-line SD mode. In this ESP32(-S3) guide is described ...
1cedsoda's user avatar
  • 141
1 vote
0 answers
62 views

uSD-card PCB front edge smoothing

Looking for the appropriate (best) technology to smooth or coat the PCB surface to minimize uSD-card connector pint wear-out. Here's the layout The uSD-card specification is uSD cards, to my ...
Anonymous's user avatar
  • 7,120
0 votes
2 answers
76 views

Is it possible that writing too quickly to an sd card can result in quicker failure?

I found this post suggesting that writing too quickly to an sd card will shorten its lifespan. The context is an sd card that will be used as external storage on android, written to with rsync. The ...
Kai Dijon's user avatar
  • 101
0 votes
0 answers
135 views

SDHC card is read as SD by READ_OCR

I'm trying to use 32 GiB SDHC card in SPI mode but I have problem with initialization. I send SD_SEND_OP which finally returned 0x00 but it doesn't have CCS bit set: ...
Maja Piechotka's user avatar
1 vote
1 answer
464 views

SD card does not responds to CMD8 command

I'm trying to communicate with SD card. However I'm stuck on CMD8 - when I send CMD0 (400000000095) I got 0x01 after one cycle. When I send CMD8 (48000001aa87) I got nothing (everything I read is 0xFF)...
Maja Piechotka's user avatar
0 votes
0 answers
151 views

Is it possible to use MMC 4bit on ESP32?

I'm trying to connect an SDCard to an ESP32 and need more than the regular SPI reading speed. I've seen that the board supports one MMC channel of 1/4 bits (it actually has another channel which is ...
Zach Moshe's user avatar
0 votes
0 answers
58 views

Can I use STM32 boot mode and SD card at the same time?

The ST32 boot pins are: Boot0 Boot1: Pin PB2 And the SDIO pins are: SDIO_CK: PB2 SDIO_D0: PC8 SDIO_CMD: PD2 I want to have both SD card feature and boot options at the same time. Here, the pin PB2 ...
ar2015's user avatar
  • 213
0 votes
0 answers
40 views

interface SD Card using SPI communication in stm32f103c8 [duplicate]

I need to interface SD Card using SPI communication in stm32f103c8. First i to store the temprature value in every one seconds in sd card. It work well after that i try to store temperature value in ...
Mr Smile's user avatar
0 votes
0 answers
93 views

SD card initialize after some minute it fails

I am using raspberry pi pico with Arduino-IDE. I need to record analog microphone datas and accelerometer data. Raspberry pi pico has 2 core so I decided to use core 1 with microphone and core 2 with ...
mrneedshelpalot's user avatar
0 votes
1 answer
80 views

Micro-SD card insertion should not be detected

I will be inserting something else (video adapter board) into the micro-sd card slot. The device will operate for output only, and there will be no feedback on what actually is inserted into the micro-...
Anonymous's user avatar
  • 7,120
0 votes
0 answers
282 views

Does an SD card over SPI need a level shifter?

I want to implement an SD card on my PCB. As I'm lacking a bit of experience. I bought a breakout board, which I could not get to work. https://www.az-delivery.de/products/micro-sd-card-adapter-shield ...
Yann's user avatar
  • 71
1 vote
0 answers
50 views

SD Card Write Problem

In my project I download a ".hex" file from FTP via GSM connection and write it to a SD card. But I have a problem: I download file and all loops work well but when I access the file on ...
Mehmet Günce Akkoyun's user avatar
0 votes
1 answer
221 views

Using SD power switch to switch the power supply for 1.8 V signaling in SD card

I am planning to use the SDSDUN4-128G-GN6IN SD card in my design. As higher bus speeds require low-level signaling, UHS-1 adopts a 1.8 V signaling level for SDCLK, CMD and data lines [3:0]. To change ...
Priya's user avatar
  • 11
1 vote
0 answers
220 views

Using SD power switch to switch the power supply for 1.8 V signaling in SD card

I am planning to use the SDSDUN4-128G-GN6IN SD card in my design. As higher bus speeds require low-level signaling, UHS-1 adopts a 1.8 V signaling level for SDCLK, CMD and data lines [3:0]. To change ...
Priya's user avatar
  • 11
1 vote
1 answer
251 views

RFID-based access control system

I want to make a RFID-based access control system with an ESP32 and the Arduino IDE. I found code from electronoobs and a video; it looks nice. I have tested it, and it works with the RC552. When ...
mehmet's user avatar
  • 1,139
1 vote
1 answer
344 views

Delay in I2S audio from SD card

This question was already asked on specific arduino forum but I didnt recieve any answers and views were very limited hence I am posting here for better reach. I am trying to play wav file saved in SD ...
dharmikP's user avatar
  • 525
3 votes
1 answer
164 views

Is there any way to tell the current used by a particular SD Card?

I need to replace an SD card that came with a piece of electronic equipment (specifically, a sequencer for a Eurorack modular synthesizer). The SD card that came with the module is 1GB, and is a no-...
Cerulean's user avatar
  • 135
1 vote
0 answers
76 views

Identifying pins on a micro SD card interface on the PCB side

I have a Pyle motherboard from an Android-based car audio receiver which has an interface to an SD. I'm trying to identify these pins to make a flat cable to connect a homebrew micro SD card slot. In ...
MASCOTE CANO's user avatar
1 vote
1 answer
214 views

SD FIFO has no data available when mounting with FATFS

Issue I'm attempting to mount an SD card to my STM32F407 with Elm Chan's FATFS using SDIO and f_mount returns FR_DISK_ERR. The ...
mgmussi's user avatar
  • 155
1 vote
1 answer
201 views

Streaming image data to SD card using 8-bit data width SDRAM and DCMI peripheral on STM32F446ZCH6

I am currently working on an application involving streaming 480p/720p video from an OV5640 camera to an SD card (using SDIO) but I am afraid that the 128Kb of available SRAM are not enough. Given the ...
Kozma's user avatar
  • 13
2 votes
2 answers
2k views

STM32 SD mounting returns error with SDIO

Overview I'm using a STM32F407ZGT6 and I'm currently trying to mount SD cards (MicroSD 32GB HCI and 256GB XCI picture) to the board using the FATFS library bare-metal. To handle low level I/O, I'm ...
mgmussi's user avatar
  • 155
1 vote
1 answer
603 views

Schematic to work with an SD card

The application note AN10911 from NXP contains several schematics for working with SD cards, for example the schematic shown below. However, it also states: This schematic does not include details ...
root's user avatar
  • 149
8 votes
3 answers
6k views

How long can a micro SD card hold data without being powered? [closed]

I lost a micro SD card few years ego, and I'm worried that someone may find it and misuse the data stored in it. How long can a micro SD card keeps the data without being powered, ignoring other ...
user avatar
0 votes
1 answer
96 views

Does an amplifier consume any power when nothing is connected? (GPD2846A built-in 2W amplifier) [closed]

The GPD2846A module has a built-in amplifier into it. However, I want to use it with my headphones which don't require 1-2W (they are definitely going to distort sound and possibly be damaged). So I ...
Παναγιώτης Θ's user avatar

1
2 3 4 5
9