Change sd card serial number windows1/22/2024 devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0 Unfortunately, you cannot know the real path of the SD card in the /sys file system so I can only give some examples and you have to try out the actual path yourself.įor example, on my Samsung Galaxy Note running Gingerbread, there is a /sys/block/mmcblk0 soft link pointing to: mmcblk0 ->. Luckily the Linux kernel provides the CID via the SD and MMC Block Device Attributes so you may use a Linux device containing a direct SD interface like your Android phone or an embedded Linux board. My iMX233 based development board has 2 of them, so it was an easy task to improve our firmware to read the CID and extract the serial number, but how do I check if I get the correct information? Reading SD-Card SID Unfortunately, it is not possible to read the CID of the card with a USB adapter - you need a \'direct\' SD interface. The serial number is stored in the Card Identification Register (CID) which is read by \'Command 10\' as stated in the SD Simplified Specifications. For my current project, I tried to read the SD Card serial number because the number is factory stamped and unchangeable, so it easily could be used to protect embedded firmware from being copied.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |