0410 is the first test for the MMC commandset. This commandset is in hindsight a bit more complex than other commandsets in that we have to handle quite a lot of cases : 1, if it is not a MMC device, we should check we get INVALID_OPCODE and then bail. Then if it is a MMC device, there are at least three different cases we have to handle: 2.a If there is no medium in the device 2.b there is media, but the medium is blank 2.c there is readable medium this makes MMC tests a lot more complex than other commandsets so we have to try to get this one as nice and simple as possible so we can reuse this test as the framework when adding other MMC tests. (even the 2.b test is not 100% right, since if the medium is BR, then a blank disk will fail with sense, but blank pre-BD mediums will not fail the READTOC command)
10 KiB
10 KiB