Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Inconsistent SDHC card OCR register

Status
Not open for further replies.

simonleung

Newbie level 4
Joined
Nov 17, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,316
Hello all,

I'm trying to get SDHC card (SanDisk 4G) working with my ARM microcontroller. Here is what I'm doing

- Send CMD0. Receives 0x1
- Send CMD8. Receives 0x1 + 0x00 0x00 0x01 0xAA
- Send CMD58. This is where things can go wrong. It always return 0xFF and 0x1. Afterwards, the OCR bytes can be either
0x00 0x80 0x00 0xFF
or
0x40 0x80 0x00 0xFF
depends on my luck!

Anybody knows why? Any input appreciated.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top