cancel
Showing results for 
Search instead for 
Did you mean: 

SD card interface problem

nagiox
Associate II
Posted on August 18, 2008 at 17:10

SD card interface problem

1 REPLY 1
nagiox
Associate II
Posted on May 17, 2011 at 12:42

Hi, I've a strange problem with some code I've ported to my stm32 board.

I need to interface with a SD card through the SPI port.

The code works reasonably well if I test it under emulation (I'm using openocd and a JTAG USB OCD Programmer), I can retrieve the card identification register, the card specific data register and read block of data.

If I detach the board from the jtag programmer and reset, then the program fails to identify the SD card.

Before continuing I'd like to solve this issue, anyone have an idea what could be the problem?