Messages in this thread | | | From | Christian Löhle <> | Subject | Re: [PATCH] mmc: block: Differentiate busy and non-TRAN state | Date | Wed, 7 Jul 2021 14:42:57 +0000 |
| |
>> CMD16 - CMD42 Set PW - (CMD16)* - CMD42 Unlock Force Erase - (CMD42 >> Set PW)+ >> * May be omitted if you craft the CMD42 carefully (i.e. equal data size) >> + is pretty much irrelevant, can be replaced with anything that is illegal in >> PROG. >Oh, OK. Interesting. >This functionality is missing in mmc-utils. >While at it, I encourage you to consider adding it. > >Thanks, >Avri
That is true and I have thought about it. Unfortunately a locked card currently will not initalize, so not be open to the ioctl interface. So in fear of doing more harm than good I would first change that. (One thing is reading of SCR is required by linux-mmc but locked cards must not respond to it). Something I'm working on on the side but don't expect anything very soon.
Kind Regards, Christian
> > >Again, can you share the sequence of the commands you are using? > > > >Thanks, > >Avri > Hyperstone GmbH | Line-Eid-Strasse 3 | 78467 Konstanz > Managing Directors: Dr. Jan Peter Berns. > Commercial register of local courts: Freiburg HRB381782
Hyperstone GmbH | Line-Eid-Strasse 3 | 78467 Konstanz Managing Directors: Dr. Jan Peter Berns. Commercial register of local courts: Freiburg HRB381782
| |