
[SD INIT] Driver ready

--- SDHC1 Pin Configuration ---
PORTB PMUX[9]  = 0x88
PORTB PMUX[10] = 0x88
PB18 PINCFG = 0x01
PB19 PINCFG = 0x01
PB20 PINCFG = 0x01
PB21 PINCFG = 0x01
PORTA PMUX[10] = 0x88
PA20 PINCFG = 0x01
PA21 PINCFG = 0x01
PORTD PMUX[10] = 0x08
PD20 PINCFG = 0x01
PD21 PINCFG = 0x00
--------------------------------
SDHC Clock Register: 0x9527
Internal Clock Enabled: 1
Internal Clock Stable: 1
SD Clock Enabled: 1

--- PD20 Card Detect Debug ---
PORTD DIR   = 0x00200000
PORTD IN    = 0x00101F00
PD20 PINCFG = 0x01
--------------------------------
[SD DEBUG] PD20 (Card Detect) Level = 1

==== SYSTEM START ====
[SD INIT] Driver ready
[SD DRIVER] Open succeeded. Handle=65536, ClientIndex=0
[SD DEBUG] Driver status = 2
[SD] State: INIT
[SD DEBUG] Driver status = 2
TX: AT
[SD] State: WAIT_FOR_CARD
[SD DEBUG] Driver status = 2
[SD] State: WAIT_FOR_CARD