How To Read and Write CID on SD Cards

How To Read and Write CID on SD Cards
If you are looking to read the CID number of an SD card, or extract the CID off an SD card, then you will find this article very helpful. Some also call this “reading the PSN off the SD card” or reading the product serial number off the SD card.
UPDATE (Feb 16, 2023):
We learned the company which manufactures this product now offers the ability to write the CID value as well as write protect the Secure Digital media.
Most phones and much of the software on phones will lock into the CID number of an SD card. The CID number is a unique card identifier number that is unique to the card itself. The CID number is valuable because software developers and hardware developers can lock software to the unique number of the device, thus eliminating the ability to pass along licensed software.
Reading the CID number from an SD card is not an easy task. It requires specific access codes to the index table of the memory card, and unless you know how to use the SD chipset of your card reader, chances are you won’t get the number—or at least not the correct and accurate number.
What is the CID number of an SD card?
The CID register is 16 bytes long and contains a unique card identification number. It is programmed during card manufacturing and cannot be changed by SD Card hosts. The CID number is a compilation of information about the card, such as manufacturer, date manufactured, checksum total, GB size, and more. Below is a table outlining all the items which make up the SD CID number.

So with all this said, how do you read the CID number from an SD card? As we’ve mentioned, it isn’t easy and it’s hardware based. If you do enough searching on the internet, you’ll find some home-brew code to read the CID numbers, but that’s only if you have the SD card or microSD card connected via an IDE bus to your host computer. This isn’t easy for everyone. There is clear evidence that using a USB to SD card reader will not get you the information you require—or at least accurate and correct information. Meaning most times the CID number generated is actually the serial number of the card reader itself, not the CID number of a specific SD card.
In addition, what if you are required to read the CID number off SD media in bulk? A single, one-at-a-time solution is not practical.
In my search to read the CID number from SD media, I came across Nexcopy – a manufacturer of USB duplicator equipment and other flash memory equipment. Several models they carry are SD duplicators and microSD duplicators. With the secure digital duplicators, part of their feature set includes reading CID numbers from SD media. The equipment can read 20 cards at a time, 40 cards at a time, or 60 cards at a time, depending on the model. The duplicators will read the CID number and export it to a .csv file for import into other business functions. This configuration makes it quick and easy to obtain the CID number. Granted, the equipment is not designed for single-use operation, but rather reading the CID of SD media in bulk quantity. Here is a screenshot of Nexcopy’s software reading 20 CID numbers:
I didn’t contact Nexcopy Incorporated for pricing of the equipment, but doing a quick search for the equipment shows me a price of about $1k for the smallest 20 target system and $3k for the largest 60 target system.
With all this said, there is still no clear-cut method to read CID numbers off SD cards for the home-user, but maybe this article will at least explain why you haven’t found a good solution as of yet.
The CID (Card Identification) number is a unique identifier that is assigned to each Secure Digital (SD) card. The CID number is a 16-byte value that is used by the SD card host device to identify the SD card and to determine its capabilities.



Today you can apply the same tradition to technology. The Top Secret USB drive with wax seal is that device. The
Enter the USB 3.0 Sony Micro Vault
Microsoft has made available a new version of “Defender” to ride infected computers of malware, including rootkits which highjack your boot process and corrupt your computer.
The “Defender Offline Beta” is available from Microsoft for free
Or some of you may be using USB’s to boot from so there is boot strap code on the device. If the USB is connected during bootup of your PC, you can get an error message…and for a non-tech person [wife or girlfriend] they may think their computer has crashed.
The only way around all this stuff is making sure to pull the USB out of your computer.
With USB Guard this is exactly what it does, reminds you a
Under the agreement, Imation will receive exclusive license rights from IronKey for the secure storage management software and service along with licensing to use the IronKey brand for its secure storage products.
While Imation is bringing the IronKey brand to a global distribution channel, IronKey will accelerate their focus on cloud-based security tools and features. IronKey will support

Nothing official from either company in regards to specs or a simple introduction, nor does the high-capacity USB 3.0 stick appear on Display Taiwan’s trade show website. So adding this all up, it could be nothing more then a USB case and a trade show hottie giving out false information.
If you watch the video [
The USB Implimentors Forum announced the availability of the USB On-The-GO [OTG] specification for embedded USB host controller applications where a PC is not required.
The supplement ensures that mobile devices such as phones or cameras are able to use a SuperSpeed USB link in both USB host and USB peripheral roles through a single receptacle. OTG and Embedded Host Devices requiring fast synchronization or streaming of rich data will benefit from this feature.
The USB OTG 3.0 and Embedded Host supplement offers power saving features equivalent to those available in USB OTG 2.0, enabling the adoption of SuperSpeed USB in mobile devices. Additionally, USB OTG 3.0 provides backward compatibility with USB OTG 2.0.
To learn more about the specification,