This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: eMMC status check

Part Number: AM3352

Tool/software: Linux

We are using Beaglbone black based custom hardware with 512MB RAM and 8GB eMMC.

Now we want to set whole eMMC in the pseudo-SLC mode.

We are able to do that using mmc-utils, however completing that setting requires power-cycle which is not gud option in the assembly line where product software is updated first time.

To avoid that we checked if we can use eMMC_RST and see if that completes eMMC mode setting.

And it seems to work as well. However there is small issue i.e. When we reset eMMC we don't know how much time  will it take and how much time script updating software needs to wait at assembly line.

So my question is, is there a way to detect if eMMC has completed reset and it is normal again ? Can it be detected using any registers or any other suggestions ?