Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
48 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. ...
0
votes
0answers
38 views

Power Arduino from MicroSD host and more

There are a lot of cheap MicroSD port extender flex ribbons from China. These things extend the MicroSD port quite a lot. I thought it would be cool to adapt these to power an Arduino from a phones ...
0
votes
0answers
38 views

BBB Flashing Loop

So generally I have no problem flashing my BBB with the SD I have. I do it all the time, and it works on most board. However occionally it gets stuck in this "loop". It will flash the device ...
-1
votes
0answers
20 views

eMMC host controller question

i have a eMMC v5.1 chip from Samsung,and i have a emmc controller v4.5 is possible my controller support eMMC this version ? whats eMMC version? lower controller version could support higher version ?...
0
votes
1answer
78 views

Ver2.0 SDHC Card long response time after ACMD41 during initialization

I would like to implement a very low power SD card handling with MSP430 processors. I would like to log measurement data onto SD card without a file system. I want to turn on and off the SD card power ...
0
votes
1answer
42 views

Can Flash controllers make a card readonly?

It is said in this answer here that Some of them have a controller chip that will permanently lock them to read only if they detect a write error, as a preservation measure. Is it possible for ...
0
votes
1answer
53 views

How can I read/write bytes to SD card slot of MC60A?

I am working on a clickBoard with MC60 A GSM module from MikroEletronika company. This clickBoard has two slots: (1) one for SIM card and another (2) for micro SD cards. I have read all the available ...
1
vote
2answers
82 views

MicroSD raw write/read mode. After sector write once, can't write more sectors and read always 0's

I am doing, for the first time, the interface between a microcontroller (PIC32MX) and a microSD card through SPI. The cards I'm using are initializing correctly. The sector/block size is fixed at 512 ...
-1
votes
0answers
64 views

What is the relationship between ACMD23 and CMD23 in SD cards?

The SD Physical Layer Simplified Specification (it can be found here) defines ACMD23 (SET_WR_BLK_ERASE_COUNT) and CMD23 (SET_BLOCK_COUNT). CMD23 specifies the number of blocks to be transferred from ...
1
vote
0answers
43 views

How to measure SD card data timing vs. clock

I'm doing EVT testing of our product and I want to measure the SD card data vs. clock timing to make sure we're inside the specs. We're using LS1043A that boots Linux (via U-Boot) from an SD card ...
2
votes
1answer
89 views

Need help with SD Card Initialization (CLK Syncronization)

EDIT 1 : I made changes to the code as @Anonymous suggested in the answer. It seems to have improved but now I seems to be getting incorrect response OR SD CARD putting response at the wrong time. ...
0
votes
2answers
85 views

Booting from SD card in SPI mode

I want to boot an ARM Linux board (Allwinner H3 for example) from a generic (micro) SD card through an SPI interface. Can an SD card accept SPI communication right away or is there any "SPI mode ...
2
votes
2answers
329 views

Emulating an SD-Card with a microcontroller (or Raspberry Pi) [closed]

some background to my story to begin with: I went to a store and asked for a bluetooth fm transmitter for my car and the guy sold me something that only plays from an SD card and I didn't even bother ...
0
votes
0answers
82 views

SD card won't communicate - STM32

I've implemented the low lever drivers of the fatfs. I tried to write some txt file to an SDHC card, but I can never initialize the card. MCU is STM32F103C8T6. I'm using CubeMX with HAL libraries and ...
1
vote
2answers
938 views

Advice about microsd current consumption [closed]

I'm designing circuit with STM32L0 MCU that storage some data in microSD via SPI interface. I have power budget of 5V @ 500mA via VBUS so, I would like to estimate microsd's current consumption. I ...
3
votes
1answer
172 views

Problems reading the Delkin Micro SD 16 GB using SPI

I have been working with SD Cards and micro SD Cards for a while. I am using Part1_Physical_Layer_Simplified_Specification_Ver6.00 for reference. I am able to do successful card initialization, ...
2
votes
1answer
323 views

Potting microSD card inserted in slot with epoxy resin

I would like to know whether it is possible to completely cover/pot a microSD card inserted in a slot (which is soldered on a pcb) with an epoxy resin. Will the sd card continue working properly? Will ...
0
votes
0answers
36 views

Power consumption of RFID vs SD card

I am working on enhancing security of data on electronic passports using homomorphic cryptography. Obstacles I am facing in application of the solution I have came up with relate directly to available ...
1
vote
2answers
181 views

SD card speed class specifies “minimum sequential write speed” but not the “maximum sequential write speed”, why?

A speed rating for any memory device is usually how fast it can work. However, the speed class of SD cards actually specifies the "minimum sequential write speed". Please see here for evidence under "...
0
votes
1answer
77 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 ...
2
votes
1answer
222 views

SD card connector chassis grounding

I have been designing a PCB which includes an SD card connector. As I'm not a PCB designer expert, I was looking for a reference design when I came across with the circuit bellow, extracted from Texas ...
0
votes
1answer
51 views

SDHC write partial block

Is possible with SDHC microSD card write 32 bytes of data without loading full block o the RAM? SDHC has for some operations fixed block size to 512 so I dont know if it is possible. If possible what ...
0
votes
0answers
123 views

Arduino NANO + MFRC522 + SD Card Module + RTC System

This might seem an old question. However quite recently my professor has assigned a project to me to develop a Attendance-cum-Access System for his Lab. The problem Statement is: "Develop a Arduino ...
10
votes
3answers
3k views

Anyone either read japanese or know about laying tracks for a micro SD card slot?

I'm trying to include a micro SD card slot in a project I'm working on and I'm having a little trouble with the datasheet. Unfortunately I don't read japanese. Just wondering what the text says in ...
0
votes
0answers
59 views

busy bit of SD card is always one during voltage negotiation

I am working on SD card. Can anyone tell why host is unable to send CMD2. Are my arguments what I am sending from host are correct? In this, when the host is sending the following set of commands ...
0
votes
1answer
216 views

SD card: cmd 17 (read single block) response always 0x01

I'm trying to connect a micro-SD card to a PIC32 controller. At the moment I'm bitbanging the SPI protocol to communicate with the card. (In the near future I will use the proper pins to use real SPI, ...
0
votes
0answers
67 views

SPI SD card returns R1 0x01 and all zeros for the other 32 bits of data to CMD8

I've been trying to get my SD card adapter to work with SPI, and I've come quite a way since starting. I've been following allong with this very useful answer. However, when sending CMD8, I get 0x01 ...
0
votes
1answer
276 views

SD card initialization problem - CMD16 wrong response

I'm using SPI to interface with a micro SD card 2GB and get error respond in CMD16 response and also CMD17 response. Because of that, I can't also read bytes from SD card. Here is my code: SD card ...
0
votes
1answer
153 views

SD Card pins dimensions

I am trying to create an SD card from a PCB. My problem is that I cannot find the SD card specification that would give the: Dimensions of each Pin Placement of each Pin All specifications I could ...
0
votes
1answer
105 views

FatFs strange behavior when writing to text file

I wrote a small program with PIC32MX microcontroller that sends data to a txt file in the SD card, then reads the data back from the file and finally compares the data before sending them with the ...
0
votes
0answers
56 views

How to locate SD card drive in Xilinx Zynq ZCU102 board using xcst terminal?

I'm using a Xilinx Zynq UltraScale+ MPSoC ZCU102 Evaluation Kit. I want to run a C++ program in the Xilink SDK tool(running on a Windows machine) that can do Filo I/O operations on a binary file ...
-1
votes
1answer
192 views

What is the address for sending data to micro sd card?

I am trying to send the angle calculated(floating) from an external gyroscope sensor connected to a stm32f4 discovery board to a sd card via SPI. I have the following code for initialization, ...
0
votes
0answers
755 views

Writing on an SD Card wih an FPGA

I will be using the following FPGA https://store.digilentinc.com/nexys-video-artix-7-fpga-trainer-board-for-multimedia-applications/ I have a module who has 16 std_logic_vector (13 downto 0) outputs ...
0
votes
1answer
125 views

SD card voltage rating

I have an hobbyist/newcomer pcb project that needs a SD card connector. I link the datasheet of the part: DM3AT SD connector spec. At page 2, it says: Voltage rating : 125V AC SD card spec says it ...
0
votes
2answers
152 views

Timing the change mode (Read/Write) on SD card

I'm currently working on a device which connects a SD card to a FPGA. I have to find out how much time the SD card takes to switch between the reading and writing modes. I have already searched the ...
0
votes
0answers
147 views

Micro SD card connector/socket part number and corresponding eagle library

I am designing a PCB that needs to house a micro SD card. I just wanted to save some extra effort in designing a package and symbol in eagle for the socket. Does anyone have an EAGLE library that ...
2
votes
1answer
1k 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
234 views

Set Block size(CMD16) for SD card returns Illegal Command as response

I am interfacing SD card (16Gb Class 10 Micro Sd HC) to STM32F407VET using SDIO protocol. I am using Chan FatFs version 13a for this project. I am able to open an existing file(with some content in it)...
0
votes
0answers
483 views

Enabling SD card access on SIM808

I am currently working with SIMCom's SIM808 2G+GPS modem. In my setup, an MCU communicates with the modem over UART to save some data in the SIM808's filesystem. As the modem's built-in memory is < ...
0
votes
1answer
152 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 ...
1
vote
0answers
208 views

SD card both photo/video recording and data logging [closed]

How can I capture photos and videos (JPEG and MPEG4 respectively) taken from an NTSC camera to an SD card and also log text data to it? I am working on a project in which I need to log analog data ...
-3
votes
1answer
69 views

Is it possible to move an internal SD card from a Samsung Galaxy S3 into another phone (Galaxy S2) to retrieve the information from the card? [closed]

Is it possible to move an internal SD card from a Samsung Galaxy S3 into another phone (Galaxy S2) to retrieve the information from the card, or is there any other way to access the information from ...
0
votes
0answers
288 views

STM32 - SD Card problem

I am working on a project using STM32F4 to use the ADC with DMA, I will sample the ADC using timer to interrupt the ADC, I will save these samples in a buffer, I want to move this buffer to SD card. ...
0
votes
0answers
147 views

FatFs (ChaN) - 256 GB Class 10 UHS-3 Card not Working

I am using an 'ARM Cortex M3' MCU with the 'ChaN (R0.13a (2017)) FAT File System'. It's all working beautifully at the moment with SD Cards that I have formatted as either FAT32 or as exFAT. These ...
1
vote
1answer
291 views

Cannot Initialize 8GB SDHC CMD8 responds with (0xFF)

I am trying to interface a 8GB SDHC with STM32L0 controller through SPI. Followed this tutorial. As this thread suggests, I followed the the Command Sequence as follows: ...
0
votes
1answer
773 views

FR_DISK_ERR while interfacing 8GB SDHC card with FATFS + SPI + STM32L0

I am trying to interface a SDHC 8GB card with STM32L0 (SPI + FSTFS). I am using Chan's Library v0.11 with Adafruit Shield library where Lower Level SPI I/O code is handled by Nucleo driver's. I have ...
0
votes
0answers
72 views

Review pin connections between atmega328p and a microSD card?

Would some kind soul be willing to review my circuit diagram that connects a barebones atmega328p with a microSD card? The partial circuit is here. Details. This has already been made on a custom PCB,...
1
vote
1answer
689 views

SD Card data rate and frequency

We are designing a SD card interface with a processor.The processor supports SDR104 with clock frequency of 192MHz. Along similar lines,the UHS modes and corresponding clock frequencies mentioned are,...
2
votes
2answers
226 views

Hard reset for SD Card interfaced with FPGA?

So I have been successfully able to interface a Sandisk SD Card with Spartan 3 FPGA (using verilog). The card after power up initializes correctly and is able to read and write data sector wise ...
2
votes
1answer
155 views

Do I Need to Buy Full SD Specification

I'm designing a system with an ARMv7 processor. My host processor support SDIO protocol and I wish to use this unit to connect the host to a Memory card and a WiFi module that both are compliant with ...