Questions tagged [sdhc]

16 questions
4
votes
1 answer

SDHC SPI write issues

I've been trying to do an SD card interface with the LPC1766 SPI peripheral for a while and right now I'm stuck in a problem that I couldn't find the answer anywhere. The problem is: SDHC cards are not responding to write and read commands as…
Martini
  • 41
  • 2
4
votes
1 answer

Disabling / Suppressing SD(HC) Write Protect

I know that the write protect tab in SD cards is not a real hardware protection, but a simple signal to the reader that the card is write protected. For example, the CHDK project for Canon cameras specifically ignores it, and once had a cheap flash…
Mikeage
  • 6,424
  • 4
  • 36
  • 54
2
votes
1 answer

SD card maximum write speed in SPI mode

I am interfacing SD cards (1/2GB SD cards and 4GB SDHC cards from different manufactures) to a custom board in SPI mode and I am using a FATfs file system from elm-chan. I am able to write files and read files on the SD card. However I would like…
Ayyala
  • 159
  • 4
  • 7
1
vote
0 answers

SD card does not return token on SPI single block read

I have a Buffalo SDHC SD card with 4GB of storage, and a Raspberry Pi Pico. I have connected the SD card to the Pico's relevant SPI pins and have set the SPI clock speed to 1MHz. I have reset the SD card with command 0, and have received a…
Epic Speedy
  • 636
  • 1
  • 11
  • 25
1
vote
1 answer

How do I use a dd-created image, that's bigger than the original disk?

I created a backup of flash card, using: dd bs=4M if=/dev/mmcblk0 of=backup.img Now, trying to restore that back to the same card with Etcher, I'm told the image is bigger than the card, and I need 300+Mb of more space. Should I be creating the…
LOlliffe
  • 1,647
  • 5
  • 22
  • 43
1
vote
1 answer

Using SD or SDHC through SPI in Coldfire system

If I use ColdFire and SPI, does it matter if the SD card is SDHC or standard SD? Since I can write the uClinux kernel and whatever application, can we say whether I can use the SDHC depends my programming but not hardware? It's just socket to…
Hai Bi
  • 1,173
  • 1
  • 11
  • 21
0
votes
0 answers

Using FAT array on FAT32 SDHC

I have a 32GB SDHC with several .wav files on it and using assembly on a dsPIC to read them. Some files are small enough (60kB) to fit in their own single cluster but most others are larger, up to 8MB. Sum total of files is 240MB and so far each…
Joe_IVP
  • 1
  • 1
0
votes
0 answers

Trying to initialize SDHC card using SPI. After sending CMD55 in preparation for ACMD41, response= 0x01. ACMD41 always 'responds' with 0xFF. Thoughts?

To start off, I'll attach my code. uint8_t SD_init(void) { uint8_t res[5], cmdAttempts = 0; // Pulls CS high, waits 10ms, then sends 80 dummy bytes // all with the card de-selected SD_powerUpSeq(); //…
cwjensen
  • 1
  • 2
0
votes
0 answers

Openwrt MT7628 dan eMMC kernel 4.14 : Unable to communicate /read/write

I am trying to enable eMMC support for MT7628 dan. For this I have freed up ethernet port 2,3 and 4 using mediatek,portmap = <0x18>; in switch node. Port2 used for UART2 and remaining to be used for eMMC support. I have done required changes to…
APS
  • 59
  • 1
  • 7
0
votes
0 answers

pause before data transfer for MMC card

I am working with a Chinese RK3568 processor and have implemented a data exchange driver with an mmc card. I use DMA for data transmission, but I still get unsatisfactory results in terms of speed. The figure shows that there is a pause between…
0
votes
0 answers

Starting reference to design SDIO host driver for linux

I am planing to develop SDIO mmc Host driver for my Host IP Core. It follows standard register interface as per SD specifications. I want to know if there is any reference available in Linux for that. Is there any reference website that can have…
0
votes
1 answer

How to "bind" SDIO1 with Wi-Fi LInux?

I have an SDIO based Wi-Fi module and I play to use it on Zynq Petalinux. So the device tree has SDIO1 interface, and plus it has fixedregulator. But I couldn't figure out how to let Linux use this SDIO1 interface for the Wi-Fi. I remember I have…
Splash
  • 1,288
  • 2
  • 18
  • 36
0
votes
1 answer

USB folder and SD card folder

Is there some way to distinguish following two folders using C++ Builder code? folder of USB flash drive folder of SDcard (SDHC) I am using C++ Builder XE4. Using the C++ Builder, I wonder I can make software to distinguish the above two…
sevenOfNine
  • 1,509
  • 16
  • 37
0
votes
1 answer

The “silicon power” sd card 4ggb class 10 memory card is compatible with raspberi pi?

Today I bought a memory card "Silicon Power" SDHC 4ggb, class 10and I need to know, this memory card is compatible with raspberry pi B or not ?
user1886376
-1
votes
1 answer

What is the 'erased' value of a memory location on an sdhc card?

I am writing to a micro sd card (SDHC) for an embedded application. The application needs to be able to write very quickly to the card in real time. I have seen that erasing the memory blocks beforehand makes the write a lot faster. Unfortunately I…
alexv9
  • 126
  • 1
  • 9