Skip to contentSkip to conversation

Writing emmc write-protected area gives no error, though the protection is working

DISCUSSION Jongman Heo 1 participant 1 message Apr 17, 2012 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

Hi all,

I've tested (temporary) write-protection feature of eMMC flash.

#1. set the temporary write-protection (using CMD28) #2. write data to the write-protected area (using dd or similar)

     -> gives no error at all.

#3. checking the area confirms that write-protection is working, data is not over-written.

In step #2, I expected some error return, but no. Obviously write-protection is working, but user can't see any visible output.

Shouldn't write(2) return some error for above case?

Jongman.