Good job, although TRIM should only be used with SSDs.
eMMC 4.5 brings forth "discard", which is, I quote: "A variant of the TRIM command that is more memory technology friendly".
That is achieved by sending CMDs 35, 36 & 38.
Have a look at the jedec eMMC specification for details.
eMMC 4.5 brings forth "discard", which is, I quote: "A variant of the TRIM command that is more memory technology friendly".
That is achieved by sending CMDs 35, 36 & 38.
Have a look at the jedec eMMC specification for details.