E
E
Evgeny Avdeev2015-08-16 18:54:37
Electronics
Evgeny Avdeev, 2015-08-16 18:54:37

How to find the serial number of an SD card?

How can you find out the following information? 1. The
exact size of the SD card (in blocks)
2. The serial number of the device (20 characters, starts with EP8)
3. The serial number (8 HEX characters, looks like this: 0xa0efaea1) or the CID of the memory card (looks like this: 035344535530324780A0EFAEA100C39A
I went through the options from here: demos.ucoz.ua/index/pb_image_generation/0-7
Tried with the command:
cat /sys/class/block/mmcblk1/device/serial
but, in my case, on /sys/class/block/sdb in general there was no serial file.Tried
with the Gold Card Tool (www.klutsh.com) - writes "Could not get CID"
OK.
Does anyone know other options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2015-08-16
@AlanDrakes

Already discussed here .
This register contains packed fields. And to interpret actually, "serial number" is necessary in bits [55:24] - 32 bits.
You can also look at the actual map. example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question