Hi,
I have downloaded and am trying to run the example code for the sdcard bootloader, but there are problems. When trying to send the 'ls' command to the SD card, I get the FK_NOT_READY flag and wait_ready never gets FF back from the disk_initialize. What could cause this?
I noticed that in the code example, the mmc-ek-tm4c1294xl.c defines the pins for SSI3 but the ektm4c129_sdcard_boot.c code appears to enable SSI1. SSI1 seems to be consistent with the hardware diagram. Is this correct? Do I need to change the pin defines?
Here are the pins defined in the example code..
#define SDC_SSI_CLK_GPIO_PORT_BASE GPIO_PORTQ_BASE
#define SDC_SSI_CLK GPIO_PIN_0
/* TX pin */
#define SDC_SSI_TX_GPIO_PORT_BASE GPIO_PORTF_BASE
#define SDC_SSI_TX GPIO_PIN_0
/* RX pin */
#define SDC_SSI_RX_GPIO_PORT_BASE GPIO_PORTQ_BASE
#define SDC_SSI_RX GPIO_PIN_2
/* CS pin */
#define SDC_SSI_FSS_GPIO_PORT_BASE GPIO_PORTH_BASE
#define SDC_SSI_FSS GPIO_PIN_4