![]() Have used various tools and then tried industry’s SDFormatter v4, which gave the “write protected” error. ![]() On and off for the last 6 mnths been trying to get it to work with my PC (Dell Studio 540, Win7) but variously have had “need to format” / “cannot write from source disk” to SDHC card for large files (>~4mb) / “cannot format write protected” errors. Have a Sandisk 16GB Extreme Pro 45MB/s card. Hi, wondering if anyone can point me in the right direction. There are other registers, but they aren’t as informative or useful as the CID and CSD pair. I hope it comes in handy for readers – it certainly lets me understand some more about my SD cards, and gives me a surprising insight into just how much manufacturer encoded information exists on these cards, mostly hard-coded from the factory. While trawling online, I came across a similar decoder for MMC, although it seems to implement an older register definition but it has the same idea. The decoders are quite long, so instead of embedding them, they’ve been linked here: On doing so, I realized that there are several versions of the CSD – one for SD Standard Capacity (SDSC) and the other for SD High Capacity (SDHC) which has resulted in two separate versions of the decoder being developed.Īs usual, I also went to lengths to collect the CSD data from my cards – note the first is an MMC card, so the definitions may not hold true for MMC cards! d00f00320f5903ffffffffff92404011 CHROMEBOOK INTERNAL EMMCĤ00e00325b5900001d697f800a40008b RASPBMC SDHC CARDĤ00e00325b590000e9e57f800a4040f1 SAMSUNG 32Gb CLASS 10 SDHCĤ00e00325b590000ee9d7f800a400013 TEAM 32Gb CLASS 10Ĥ00e00325b590003a5df7f800a400007 KINGSTON 128Gb SDXC CLASS 10Ġ02d00325b5a83d5fefbff80168000cf KINGSTON 2Gb SDSCĠ02600325f5a83c93efbcfff928040cb SANDISK 2Gb Blue SDSCĤ00e00325b590000ef377f800a400025 PATRIOT 32Gb CLASS 10 SDHCĤ00e00325b590000edc87f800a4040c3 SANDISK 32Gb CLASS 4 MicroSDHCĠ02600325f5983c8addbcfffd24040a5 SANDISK ULTRA II 1Gb MicroSDSCĤ00e00325b590001dbd37f800a4040df SANDISK ULTRA 64Gb UHS-I MicroSDXCĠ07f00325b5a83af7fffcf801680006f UNBRANDED 2Gb MicroSDSCĠ07f00325b5a83bfffffcf8016800037 PRETEC 2Gb MicroSDSC ![]() ![]() If I had to do it again, I would decompose the whole thing into a string of binary bits before dealing with it, as I didn’t realize beforehand just how many of the fields are not nibble aligned making working in hex on the original string moot! I won’t guarantee it, of course, so use at your own risk, although seeing as it’s the second Javascript attempt, I’m happy that I at least got something to work! Everything is ugly and hand-coded, as is my nature. I’m not proud of the code, but it seems to work. Interestingly, I pored over datasheets for hour s and drew out bit definitions for the data in order to develop a Javascript based decoder for the CSD data one can get from cat /sys/block/mmcblk1/device/csd on a Chromebook.Īs I started coding before I had finished parsing the whole datasheets – I came up with a very messy and sub-optimal solution. As a followup to yesterday’s post of collecting and decoding the Card Identification Register data from various SD cards, I couldn’t resist the challenge to try and decipher the Card Specific Data Register (CSD). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |