Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
31 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, ...
3
votes
1answer
43 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
35 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
14 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
0answers
47 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
188 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
0answers
32 views

How to use f_forward function in FatFs

I have to read a file 100kB big using FatFs in a microcontroller to send it via an AT TCP-IP modem. An obvious method would be doing f_open() calls, but I am curious how to use the f_forward function. ...
0
votes
1answer
132 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
2answers
208 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
116 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
194 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
39 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
48 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 ...
0
votes
1answer
157 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
59 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
93 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
104 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
vote
0answers
74 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
175 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
152 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
642 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
182 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
2k 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
194 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
353 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 ...
1
vote
2answers
209 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
96 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
372 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
67 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 ...
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
1answer
253 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
1answer
387 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
262 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
160 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 ...
-1
votes
1answer
251 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
1k 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
143 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
185 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 ...
2
votes
1answer
2k 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
289 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
583 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
189 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
246 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
70 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 ...
1
vote
1answer
358 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
0answers
913 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
84 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
803 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
271 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
169 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 ...