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
2
votes
0answers
52 views

Data Logging Medium: SD Card or USB

I am on a project that requires data logging and I am using an STM32F1 MCU. The amount of data is around 400 bytes per log entry. One of the environmental conditions of the deployment is vibration. It ...
0
votes
1answer
33 views

Read MicroSD card with USB reader while it is connected to (powered-off) microcontroller

I have created a small breakout board, where a microSD card is inserted and I can access its signals. Now, when the necessary SD signals are connected to an AVR microcontroller via SPI, they ...
0
votes
0answers
27 views

Problem with SD card initialization with PIC18F452 using mikroC

I'm trying to write a text file to an SD card with a PIC18F452 using mikroC. I'm using a mikroC library named Mmc_FAT16 and I formatted the SD card to FAT, but I can't initialize the SD card. I tried ...
2
votes
0answers
34 views

Raspberry Pi CM4 SD card breakout

I am designing a carrier board for the RPi CM4 Lite (no eMMC) and having trouble understanding the documentation. The CM4 proved a SD_PWR_ON and ...
10
votes
1answer
614 views

How can I initialize/use SD cards with SPI?

I've seen various blog and forum posts, tutorials and application notes about accessing SD cards with microcontrollers using SPI, but I struggled a lot at different points when following them. In my ...
1
vote
0answers
26 views

ESP32-s2 Wroom. Are the SDMMC pins same as in ESP32 (not S2)

The documentation is not very clear. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/sdmmc_host.html Are pins the same in the S2 variant?
1
vote
2answers
59 views

SD card socket just need to wire with pull-up resistors?

I have a question about Micro SD card and STM32F446RE wiring issues. I saw this schematic from ST forum. I would like to ask, when I wiring STM32F446RE with SD card socket (I mean connection part), ...
2
votes
1answer
66 views

Mass storage for timing critical applications

I am working on a data logger that requires measurements to be taken during narrow time windows. I have been storing the measurement data on SD cards, however, the write times are very inconsistent, ...
2
votes
1answer
49 views

Is clock presence required to extend an SD card's data retention?

The flash memory on SD cards is prone to data loss over time when unpowered. While typical specifications list "at least 10 years", in practice unrecoverable read errors are likely to occur ...
0
votes
0answers
22 views

Issues with Arduino datalogger freezing

I'm trying to build a datalogger using the following components: DS3231 SD Micro SD Module AHT10 LM35 Just a little context. I noticed that when connected to my notebook usb port, the data was saved ...
1
vote
1answer
26 views

Sequential writing from different hosts to one SD/SDIO

I was wondering if it is possible to access one SD card via two or more hosts via some sort of hub and write to it data sequentially (i.e host1 writes a bulk then hostN writes another bulk)
0
votes
0answers
29 views

Samsung 32GB Evo SDHC Not Responding Correctly to CMD55

I am using the fatfs module by elm-chan. I have a Samsung 32GB Evo SDHC and trying to initialize it according to the suggestions presented in this thread. My code is stuck at sending cmd55 without ...
0
votes
1answer
61 views

Correct Wiring for Adafruit 2.2" TFT display w/ sd card

Apologies for a potentially frowned upon question, but Adafruit's documentation for the 2.2" TFT display with sd card breakout is a little lacking. Essentially, they describe the display and sd ...
0
votes
1answer
51 views

CF Express to SD card adapter

Rather noob question here. I am wondering how large is the actual hardware for the SD native host interface. Would the hardware fit in the XQD or CF Express card form factor (in addition to the SD ...
0
votes
2answers
116 views

Electrical destruction of MicroSD

I'm trying to design a device to store my private keys. I can't code in a way to just use some flash chips, so I thought I'd use a MicroSD card for the storage as a module. I intend to create a method ...
0
votes
1answer
51 views

Detect SD card via SPI interface only?

Supposing a microSD connector on which there isn't a switch/pin to indicate that the card is inserted or not, I would like to know if it is possible to detect the presence/ausence of the card only via ...
0
votes
0answers
13 views

MicroSD OCR power status

I'm using the STM32F4Discovery board to talk to microSD 32G. I don't have any issues using the SDIO interface. At the same using the same hardware with SPI interface, I always have bits 31,30 in OCR ...
0
votes
0answers
20 views

SD card detection issue with Zynq ultarscale+ MPsoc SoM based circuit

I am using 4-bit SD interface in one of custom carrier card for on Zynq Ultrascale+MPSoC SOM. When I boot boot the carrier card in petalinux while mounting in the kernel i get below error prints, and ...
0
votes
1answer
96 views

Is it possible to have two SPI controllers and one SPI peripheral?

I have one Raspberry Pi 3 Model A+ and one Raspberry Pi Pico. I want to allow both of these devices to write and read data from this sd card reader: https://www.adafruit.com/product/254 How should I ...
0
votes
0answers
27 views

UHS-I SD cards - to switch the supply or not?

I am currently in the process of bringing up a board with i.MX RT1060 and an SD card slot. IO voltage switching is working as intended, but we are not able to go above roughly 70 MHz. I am confused ...
0
votes
1answer
26 views

ESD pins of CM1624

I am considering to design SD interface with a CPU. For ESD and EMI, there are some ICs that can prevent these issues with RLC filter and TVS diodes such as CM1624. What I am wondering about is that ...
4
votes
1answer
123 views

micro SD randomly stucked in a locked state and unable to force erase

I am using a MSP430F5438A microcontroller to read and write on a delkin 2GB micro SD card using SPI interface following the Part1_Physical_Layer_Simplified_Specification_Ver6.00. I could successfully ...
1
vote
3answers
59 views

Is a computer wired controlled sd card or USB flash drive feasible (like the Scylla cards connected with a laptop in prison break)?

Is a computer wired controlled sd card or USB flash drive feasible (like the Scylla cards connected with a laptop in prison break)? It means there is no storage on the flash drive itself. When a ...
0
votes
0answers
163 views

Killing an SD card by supplying 12 volts

I want to design a self-destruction circuit to destroy an SD card as a data protection procedure. Will supplying 12 volts to an SD card destroy it to a level that it won't be accessible again? (Can't ...
1
vote
1answer
56 views

NFC and micro memory SD card

I am not sure if this is right place for this question. NFC bandwidth can go up to 50KB per second, and there are NFC business cards that have EPROM up to 8kb. Is there possibility to put micro SD ...
0
votes
2answers
106 views

Is a NAND flash chip better for power saving purposes as a micro SD card?

I know, they are technically the same, but from what I read, NAND flash chips can be controlled better like putting it into standby and waking it up in the matter of a few nanoseconds, which could be ...
1
vote
0answers
176 views

SD card communication failure with USB2244 and TS3A27518E

friends! I'm facing a very peculiar issue on a hobby project of mine, and would appreciate any insight. The schematic for the relevant part of the project is attached at the end of this post. What I ...
0
votes
0answers
100 views

Looking for a Micro SD card that can start up in 1.8V signalling mode

With the SD 6.0 specification, SD card manufactures have the option to design cards that can autodetect and start up with 1.8V signal levels. I believe they still need to be powered from the nominal ...
1
vote
1answer
57 views

Solution to interface SD card with microcontroller using only 2 pins (I2C/SPI)

So I am trying to add an SD card to my circuit and unfortunately, all I have left are 4 GPIOs, but I was asked to try and find a solution to only use 2. So using 4 is a worst case scenario. I thought ...
0
votes
1answer
29 views

Sdcard stated bandwidth at max working hours

Sandisk and many sdcard companies state the amount of hours they can work without hitting wear issues. Usually they state this while recording Full HD video but they don't state how much mbps that is. ...
0
votes
0answers
80 views

why f_rename of fatfs is very slow?

I'am developing a datalogger with an stm32L496 + FreeRtos + FatFs. The data logger save data to a buffer and when is full, the buffer is saved in a file on an SDcard with the help of fatfs and the ...
1
vote
2answers
112 views

SD card breakout board

I'd like to read data from a SD card using a microcontroller (through SPI protocol). Looking for a slot for the SD card, I saw two different boards. https://www.adafruit.com/product/254 This one has ...
0
votes
0answers
39 views

SD Card detect, help

I have a SD card socket in a server that i can't get to work right (it wa damaged when i got it). As far as i read i need to connect CD (Card Detect) to GND if the card is inserted so i did and it ...
0
votes
0answers
53 views

uSD card accidentally wrong voltage

(initially using STM32H745 w/ CubeIDE) uSD card was working, but was getting some fifo underrun issues? so I started switching rising/falling edge, and flow control and stuff. Now the card doesn't ...
0
votes
1answer
412 views

Powering an ESP32-DevKit with 3 AA batteries

for my project i have to put quite some stress on my ESP32-devkit in addition to it needing to be a mobile device. I need to power the esp32, an SD-card reader, an LCD-display, two I2S-MEMS-mics and ...
0
votes
3answers
104 views

What replaces SD card in industrial applications

I am using a SOM (something with Zynq 7000) that boots from an SD. While SD provides a lot of storage, i can't use it in industrial applications in a long term- it is not rated for temperature range ...
0
votes
1answer
70 views

What's wrong with this SD card CMD0 logic analyzer trace?

I'm trying to talk to an SD card from an ESP8266, using one of the internal SPI drivers. No matter what I do, the card never responds to the initial CMD0 setup command. I think I'm sending the command ...
0
votes
1answer
163 views

STM8 - Micro SD Card [closed]

I have a STM8S003F3 and a Arduino Micro SD Card Module. I want to create a file inside the Micro SD card. How can I do it? Can you help me? Thank you in advance.
0
votes
0answers
40 views

Calculating SD card size from C_SIZE in CSR

I'm guessing I'm just reading something incorrectly here, but I can't make this add up. From the SD card spec, section 5.3.3 tells us how to calculate card size (C_SIZE) from the data in CSR (CMD9 ...
0
votes
1answer
676 views

MicroSD with STM32 and SPI mode - pull-ups and EMI filters

In the context of using the STM32F103C8T6 microcontroller I wonder I am thinking about the most practical and relevant method of the microsd application in the device from the point of device security....
0
votes
1answer
51 views

Do SDIO bus speeds need to match between two devices?

I have two devices that I'd like to use together, connected via their SDIO pins. The MCU can transfer data up to 200 MB/s with a 200 MHz clock speed (HS-200). The wireless module that I want to use ...
0
votes
0answers
46 views

microSD card communication problem

I am developing an embedded system and attaching a uSD-card to it in SD mode (not SPI). The requirement is such that I have to switch the uSD card connectivity between two ports so I am using 74HC4053 ...
-1
votes
4answers
122 views

Flash or EEPROM

EEPROM vs SD Flash I am working on a Arduino program (a game, a slot machine) that needs to store 16 bitmaps (the slot machine symbols) that are 32 * 16 bytes each (total 8192 bytes). The bitmaps are ...
0
votes
0answers
59 views

What will happen if two SD card readers are connected to the same SD card?

The title is somewhat misleading. Specifically, what I'm trying to do is to connect the SD card inside of my Nintendo 3DS to a USB C port which can be used for charging (so I don't need to keep ...
30
votes
1answer
2k views

MicroSD card performance deteriorates after long-term read-only usage

I'm using a STM32L432 microcontroller to read data from a microSD card via SPI. In my application, I'm playing a sound file with a length of 10 s in loop. I found out that after the application ran ...
0
votes
2answers
274 views

How different are the eMMC and SD Card protocols?

The eMMC protocol is freely available on the JEDEC website. The SD Card (4-bit) protocol is not publicly available. Many sources imply compatibility between SD Cards and eMMC, apart from differing bus ...
0
votes
2answers
221 views

Role of resistors in SCLK-CS-DI-DOUT lines in SD card circuit

hope everyone is safe and well. I want to design a microSD card circuit. I searched for a reference design I noticed that they add a resistors in series in SCLK-CS-DI-DOUT lines.Catalex-Micro-SD-Card-...
0
votes
1answer
295 views

Which pull-up resistors to connect when microSD is interfaced in 1-bit data bus width mode (SDMMC, STM32)?

I am going to interface a microSD with STM32H7 (via the SDMMC interface). The SDMMC supports either 1-bit or 4-bit data bus width. If I use the 1-bit mode, do I still need the pull-ups on D[3:1] ...
0
votes
0answers
93 views

Samd51 fatfs driver with sd card backend stuck in an infinite loop

I am trying to use the FatFs module in the Atmel start for my project with the samd51j19a chip. The clock is @ 120mhz and the sd card is wired according to the diagram on the PINMUX. The program ...
0
votes
2answers
316 views

Interfacing SD card (SDSC) with Arduino Mega 2560 without SD module

I have just got into the idea of storing multiple scripts in an SD card, and using a custom driver written to the board to execute those scripts on demand. I have a 2GB SD card, and an Arduino Mega ...

1
2 3 4 5
9