sdc driver problem in sdcErase
Posted: Sun Mar 10, 2013 12:11 pm
since new version of sdc.c (update 1 of march), fatfs example over sdc did not work when enabling SDC_DESTRUCTIVE_TEST.
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
before
and example work again.
Alexandre
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