The SD_USB_CID.c gets and displays CID register of the SD/MMC card through Microchip's USB2660 device.
For detailed description of the CID register and its vaues referer JEDEC Standard No.JESD84-B42
For specific values check the connected eMMC card datasheet/manual.
This package contains the following files
This file needs the following libraries to be installed
sgutils is a scsi driver which will be used to send the SCSI commands to the device. It can be downloaded from https://sg.danny.cz/sg/sg3_utils.html
Use the following command to compile the program
gcc -g -Wall -o SD_USB_CID SD_USB_CID.c -lpthread -lsgutils2
The above file can be downloaded from Microchips Website.