the problem seems to be in sdc.c, function sdcErase.
i think before return in normal case, state should be put back to BLK_READY, instead of staying at BLK_BUSY
I have add
Code: Select all
sdcp->state = BLK_READY;before
Code: Select all
return CH_SUCCESS;and example work again.
Alexandre