HAL_MMC_Erase issue

Discussion created by carpenter.adrian on Feb 19, 2018



I can read and write using DMA to an eMMC module on our board, but now I'm trying to erase a block and whenever I call this (it tells me it succeeds) the write command following it never gets the txcomplete callback.


If I issue the erase, and then restart my code the actual erase took place (I can write to the block I erased), I'm just a bit stuck as to why it's getting stuck in the following writes.


Anybody come across this or have any clue of what I should be doing to make this work?