Hello,
we are using DM385 custom board. our scenario
we are writing to sdcard continuously in between if we remove the sdcard sometimes sdcard not detached from core (/sys/block/mmcblk0 is present after removing).
For card detect sd-cd (dedicated pin used).
without writing to sdcard if we remove/insert working properly.
Regards,
RAJ M