STM32F4シリーズを使ってみる15 - FatFsとSDカード再考その4(SDカードを手当たりしだい読み出してみる) -

一年以上ぶりの企画になってしまいましたが前回の続きです。
STM32F4を使ってSDカードのカード情報を読み出したり読み取り速度の比較を行います。


とりあえず手持ちのカードを全部!!!

MMCから始まり10年以上前のSDカードや最新のSDXCまで網羅します!!


条件は以下のとおりとします。
・各カードはあらかじめSDFormatterでFAT32でフォーマットする。
 64GB以上のSDXCもHardDiskManagerで無理やりFAT32でフォーマットします。
・プログラムはSTM32F4版のいつものの3/31日版とします。
・使用するボードは180MHzで動作可能なSTM32F427IIT6が乗った
 STM32F4全部乗せボードを使用します。
・SDのクロックはハイスピードモードとします。このボードでは
 SDIO_CLKの最高クロック周波数は51.43MHzとなります。
 また、SDIOの転送にはDMAを使用します。
・読み出し速度は132949600Byteのファイルのシーケンシャル読み出しの速度を
 比較します(128MBのMMCv3を除く)。また、ねむいさん的には読み出ししか興味
 ないので書き込み比較はやりません。


それでははじめましょう!


●Toshiba製eMMCv5 8GB

まずは前回のおさらい、Toshiba製のeMMC8GBです。

FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 22961 kB/sec.
>ds 0
rc=0
Drive size: 15269888 sectors
Erase block size: 1024 sectors
Default r/w block size: 512 bytes
Card type: MMC(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 D0 5E 00 32 0F 59 03 FF FF FF FF EF 92 40 00 D3 .^.2.Y.......@..
CID:
00000000 11 01 00 30 30 38 47 45 30 00 5A DD 41 40 B2 0D ...008GE0.Z.A@..

Parsing MMC CID Register
Manufacturer ID :0x11
OEM/Application ID :<0>
Product Name :008GE0
Product Rev :0.0
Serial Number :0x5ADD4140
DateCode.Month :11
DateCode.Year :2015

Detected as MMCv5.0x Device!
OCR:
00000000 C0 FF 80 80 ....

読み出し速度が22961kByte/SecとSDカードを抑えてダントツに早いです!


●Transcend製2GB MMCplus
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Mar 22 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 21261 kB/sec.
>ds 0
rc=0
Drive size: 3939328 sectors
Erase block size: 256 sectors
Default r/w block size: 1024 bytes
Card type: MMC(Byte)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 90 2F 00 2A 1F 5A 83 C1 B6 DB 9F FF 96 80 00 3F ./.*.Z.........?
CID:
00000000 37 FF FF 4D 4D 43 30 32 47 10 F3 02 67 50 2C F5 7..MMC02G...gP,.

Parsing MMC CID Register
Manufacturer ID :0x37
OEM/Application ID :��
Product Name :MMC02G
Product Rev :1.0
Serial Number :0xF3026750
DateCode.Month :2
DateCode.Year :2009

Detected as MMCv4.0 Device!
OCR:
00000000 80 FF 80 80 ....

こちらもなかなかのお手前で。


●日本製MMCv3カード
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fl
D---- 2016/03/14 23:28 0 .
D---- 2016/03/14 23:28 0 ..
----A 2010/03/13 20:06 44679600 ftbt.mp3
1 File(s), 44679600 bytes total
2 Dir(s), 83640320 bytes free
>fr 44679600
44679600 bytes read with 1904 kB/sec.
>ds 0
rc=0
Drive size: 250880 sectors
Erase block size: 32 sectors
Default r/w block size: 512 bytes
Card type: MMC(Byte)
SpeedMode: NomalSpeedMode(17.14MHz)
DataBusWidth: 1bit

CSD:
00000000 8C 26 01 2A 0F 59 81 E9 F6 DA 81 E3 9E 40 00 7D .&.*.Y.......@.}
CID:
00000000 11 00 00 30 31 32 38 4D 32 0A 05 80 FE CB 28 7D ...0128M2.....(}

Parsing MMC CID Register
Manufacturer ID :0x11
OEM/Application ID :<0><0>
Product Name :0128M2
Product Rev :0.10
Serial Number :0x0580FECB
DateCode.Month :2
DateCode.Year :2005

Detected as MMCv3.xx Card!
OCR:
00000000 80 FF 80 00 ....

MMCv3は20MHz以下のクロックでなければいけないのでそれを守っています。
20MHz以上では確かに動作しませんでした。

ここから先はSDカードです。


●Transcend製x600のMicroSDHC8GB(TS8GUSDHC10U1)


昨年末に紹介したMLCアピールの奴です。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Mar 22 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 20025 kB/sec.
>ds 0
rc=0
Drive size: 15759360 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 3C 1D 7F 80 0A 40 00 63 @..2[Y..<....@.c
CID:
00000000 74 4A 60 55 53 44 55 31 20 3B A1 5F AA 00 F6 25 tJ`USDU1 ;._...%

Parsing SD CID Register
Manufacturer ID :0x74
OEM/Application ID :J`
Product Name :USDU1
Product HwRev :2
Product SwRev :0
Serial Number :0x3BA15FAA
DateCode.Month :6
DateCode.Year :2015

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 03 00 00 00 04 00 90 00 08 11 39 00 ..............9.
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 80 03 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

結構読み出しが早いですね。SDカードでは20000kB/Sec以上だと
早い部類です。


●Transcend製x600のSDHC32GB(TS32GSDHC10U1)

今度はさっきの32GB版、かつ通常サイズのものです。
今年春までTG-3の撮影用記録媒体として活躍していました。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 18130 kB/sec.
>ds 0
rc=0
Drive size: 63272960 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 F1 5D 7F 80 0A 40 00 79 @..2[Y...]...@.y
CID:
00000000 74 4A 60 53 44 55 31 20 20 46 F9 B9 1D 00 F5 67 tJ`SDU1 F.....g

Parsing SD CID Register
Manufacturer ID :0x74
OEM/Application ID :J`
Product Name :SDU1
Product HwRev :2
Product SwRev :0
Serial Number :0x46F9B91D
DateCode.Month :5
DateCode.Year :2015

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 05 00 00 00 04 00 90 00 08 11 39 00 ..............9.
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 80 03 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

まずまずですね。


●Transcend製MicroSDHC8GB

普通の廉価版の奴です。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 15279 kB/sec.
>ds 0
rc=0
Drive size: 15456256 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 3A F5 7F 80 0A 40 00 43 @..2[Y..:....@.C
CID:
00000000 74 4A 45 55 53 44 55 31 02 05 B0 00 60 00 D1 E3 tJEUSDU1....`...

Parsing SD CID Register
Manufacturer ID :0x74
OEM/Application ID :JE
Product Name :USDU1
Product HwRev :0
Product SwRev :2
Serial Number :0x05B00060
DateCode.Month :1
DateCode.Year :2013

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 03 00 00 00 04 00 90 00 08 11 19 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 80 03 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

廉価版だけに速度はそれなりです。


●SuperTalent MicroSDHC 4GB

お店で同容量比で最安値に近い値段で買えたSupterTalentのSDカードです。
たしか780円でした。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 13677 kB/sec.
>ds 0
rc=0
Drive size: 7841792 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 1D E9 7F 80 0A 40 00 69 @..2[Y.......@.i
CID:
00000000 73 42 47 4E 43 61 72 64 10 19 23 6D 71 00 BB 81 sBGNCard..#mq...

Parsing SD CID Register
Manufacturer ID :0x73
OEM/Application ID :BG
Product Name :NCard
Product HwRev :1
Product SwRev :0
Serial Number :0x19236D71
DateCode.Month :11
DateCode.Year :2011

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 02 00 00 00 04 04 90 00 08 05 00 00 ................
00000010 00 00 00 00 00 00 00 00 00 53 4D 49 00 00 00 00 .........SMI....
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 80 00 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

リードが13MB/Sec・・・ダメダメですね。


●SuperTalent MicroSDXC64GB(FAT32 Format)

続いては64GB版のSDXCの奴です。フォーマットは無理やりFAT32で
行ったうえで試しました。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Mar 22 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 15772 kB/sec.
>ds 0
rc=0
Drive size: 125302784 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 01 DD FD 7F 80 0A 40 00 07 @..2[Y.......@..
CID:
00000000 28 42 45 20 20 20 20 20 02 00 33 3C 22 00 FA D3 (BE ..3<"...

Parsing SD CID Register
Manufacturer ID :0x28
OEM/Application ID :BE
Product Name :
Product HwRev :0
Product SwRev :2
Serial Number :0x00333C22
DateCode.Month :10
DateCode.Year :2015

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 08 00 00 00 04 00 90 00 08 11 19 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 45 80 03 00 00 00 00 .E......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :4
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDXC Card!

4GBの奴よりマシなものの15MB/Secちょっと・・やっぱしダメですね・・・
ちなみにSCRの値が示すとおりちゃんとSDXCとして認識できているので
カードとしてはれっきとしたSDXCです。

SDHCとSDXCの見分け方は容量のほかにSCRのSD Securityのバージョンから
分別することも可能です。


●KingMAX MicroSDHC32GB

こちらも廉価で替えるカードの筆頭です。
当時ちょっと値が張った32GBをFatFsの動作確認用に購入していました。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 13668 kB/sec.
>ds 0
rc=0
Drive size: 62683136 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 EF 1D 7F 80 0A 40 00 27 @..2[Y.......@.'
CID:
00000000 13 4B 47 53 44 33 32 47 10 C2 00 51 1A 00 C7 A3 .KGSD32G...Q....

Parsing SD CID Register
Manufacturer ID :0x13
OEM/Application ID :KG
Product Name :SD32G
Product HwRev :1
Product SwRev :0
Serial Number :0xC200511A
DateCode.Month :7
DateCode.Year :2012

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 05 00 00 00 04 04 90 00 08 05 00 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 80 00 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

SuperTalentと同じ13MB/Sec...ダメダコリャ


●Toshiba EXCERIA 16GB Type2国内正規版

こちらはTG-3の購入と同時に購入した国内の正規品です。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 21617 kB/sec.
>ds 0
rc=0
Drive size: 30867456 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 75 BF 7F 80 0A 40 00 93 @..2[Y..u....@..
CID:
00000000 02 54 4D 53 44 31 36 47 86 DE 58 C2 6E 00 E3 23 .TMSD16G..X.n..#

Parsing SD CID Register
Manufacturer ID :0x2
OEM/Application ID :TM
Product Name :SD16G
Product HwRev :8
Product SwRev :6
Serial Number :0xDE58C26E
DateCode.Month :3
DateCode.Year :2014

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 04 00 00 00 04 03 90 02 00 06 1A 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 B5 80 03 32 02 23 82 ....2.#.

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

20MB/Sec越えです・・・やったね☆
値段張った甲斐がありました・・・


●Toshiba EXCERIA MicroSDHC32GB 並行輸入版


今度は並行輸入版の奴です。高速の信号のやり取りを意識してか
いかなる変換アダプターも使用不可と警告がありました。ねむいさんの
使用法では高々50MHzぽっちなので別に関係ありませんが。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 22154 kB/sec.
>ds 0
rc=0
Drive size: 61079552 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 E8 FF 7F 80 0A 40 00 AF @..2[Y.......@..
CID:
00000000 02 54 4D 55 43 30 44 33 20 E9 C2 CF A5 00 EC 01 .TMUC0D3 .......

Parsing SD CID Register
Manufacturer ID :0x2
OEM/Application ID :TM
Product Name :UC0D3
Product HwRev :2
Product SwRev :0
Serial Number :0xE9C2CFA5
DateCode.Month :12
DateCode.Year :2014

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 05 00 00 00 02 02 90 02 00 06 3C 00 ..............<.
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 B5 84 03 32 02 29 02 ....2.).

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :1
SD Security :3
SD Bus Width :5

SD_Spec V4.xx!
Detected as SDHC Card!

おおっ!東芝のeMMCv5に匹敵するスピードですよぅ!!
こいつはオススメです☆


●Toshiba8GB MicroSDHC

廉価な東芝製のmicroSDHCです。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 20202 kB/sec.
>ds 0
rc=0
Drive size: 15564800 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 3B 5F 7F 80 0A 40 00 75 @..2[Y..;_...@.u
CID:
00000000 02 54 4D 53 44 30 38 47 56 C0 14 C0 4F 00 B1 C5 .TMSD08GV...O...

Parsing SD CID Register
Manufacturer ID :0x2
OEM/Application ID :TM
Product Name :SD08G
Product HwRev :5
Product SwRev :6
Serial Number :0xC014C04F
DateCode.Month :1
DateCode.Year :2011

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 03 00 00 00 04 03 90 08 00 F2 19 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 B5 80 03 28 03 51 02 ....(.Q.

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

これもなかなかですね〜


●Panasonic 2GB MicroSD

380円でたたき売りされていたMicroSDです。
STM32Primer2用に控えで購入していました。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 10776 kB/sec.
>ds 0
rc=0
Drive size: 3862528 sectors
Erase block size: 8192 sectors
Default r/w block size: 1024 bytes
Card type: SDv2(Byte)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 00 7F FF 32 5F 5A 83 AE F6 DB DF FF 8E 80 00 4B ...2_Z.........K
CID:
00000000 01 50 41 53 30 32 47 46 12 43 20 E0 52 00 B6 E1 .PAS02GF.C .R...

Parsing SD CID Register
Manufacturer ID :0x1
OEM/Application ID :PA
Product Name :S02GF
Product HwRev :1
Product SwRev :2
Serial Number :0x4320E052
DateCode.Month :6
DateCode.Year :2011

OCR:
00000000 80 FF 80 00 ....
SD Status:
00000000 80 00 00 00 00 00 00 28 02 02 90 00 10 05 00 00 .......(........
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 25 00 00 00 F0 02 10 .%......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :0
SD Spec Version 4 :0
SD Security :2
SD Bus Width :5

SD_Spec V2.00!
Detected as SDSC Card!

まぁこんなものですね・・・


●Panasonicの512MBSLC金色カード

これは他の奴らとは一味違います!!!
Panasonic製の工業用SDカードです!!!
そしてTLCが全盛になった今希少なS・L・C!!!!
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Mar 22 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 17939 kB/sec.
>ds 0
rc=0
Drive size: 967680 sectors
Erase block size: 4096 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Byte)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 00 0E 01 32 5B 59 81 D8 7F FF FF FF 12 40 00 FD ...2[Y.......@..
CID:
00000000 01 50 41 52 46 35 31 32 23 74 EF 95 6D 00 F6 B9 .PARF512#t..m...

Parsing SD CID Register
Manufacturer ID :0x1
OEM/Application ID :PA
Product Name :RF512
Product HwRev :2
Product SwRev :3
Serial Number :0x74EF956D
DateCode.Month :6
DateCode.Year :2015

OCR:
00000000 80 FF 80 00 ....
SD Status:
00000000 80 00 00 00 00 00 00 14 03 03 80 00 08 07 00 00 ................
00000010 00 00 00 00 00 00 00 00 00 98 DC 90 26 76 16 08 ............&v..
00000020 01 00 93 02 41 12 22 00 00 00 00 00 00 00 00 40 ....A."........@
00000030 29 29 00 00 10 20 82 88 00 01 C6 00 00 00 17 1F ))... ..........
SCR:
00000000 02 A5 80 00 01 F0 01 01 ........

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :2
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDSC Card!

あり・・・普通だ・・・ま、まぁ工業用ですからピーキーな性能よりも
安定性とかソッチのほうがすごいのでしょうね(脂汗)


●名も無き16GB MicroSDHC

1078円でたたき売りされていたMicroSDHCです。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 18257 kB/sec.
>ds 0
rc=0
Drive size: 31275008 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 77 4D 7F 80 0A 40 00 9D @..2[Y..wM...@..
CID:
00000000 28 42 45 48 30 33 30 39 10 00 00 19 C9 00 B1 ED (BEH0309........

Parsing SD CID Register
Manufacturer ID :0x28
OEM/Application ID :BE
Product Name :H0309
Product HwRev :1
Product SwRev :0
Serial Number :0x000019C9
DateCode.Month :1
DateCode.Year :2011

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 04 00 00 00 04 04 90 00 08 05 00 00 ................
00000010 00 00 00 00 00 00 00 00 00 53 4D 49 00 00 00 00 .........SMI....
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 80 00 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

・・・たたき売りのくせにやるじゃない(ニヤ


●名も無き256MBMicroSD

こちらは10年位前に6800円で購入した古の256MBのカードです。
まだまだ現役バリバリなのですよぅ
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 12321 kB/sec.
>ds 0
rc=0
Drive size: 499712 sectors
Erase block size: 128 sectors
Default r/w block size: 512 bytes
Card type: SDv1
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 00 5E 00 32 57 59 83 CF ED B6 FF 87 96 40 00 D3 .^.2WY.......@..
CID:
00000000 4B 46 4D 53 44 20 20 20 10 03 00 25 63 00 69 7D KFMSD ...%c.i}

Parsing SD CID Register
Manufacturer ID :0x4B
OEM/Application ID :FM
Product Name :SD
Product HwRev :1
Product SwRev :0
Serial Number :0x03002563
DateCode.Month :9
DateCode.Year :2006

OCR:
00000000 80 FF 80 00 ....
SD Status:
00000000 80 00 00 00 00 00 00 28 00 00 00 00 00 00 00 00 .......(........
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 01 25 00 00 00 00 00 00 .%......

Parsing SCR
SD Spec Version :1
SD Spec Version 3 :0
SD Spec Version 4 :0
SD Security :2
SD Bus Width :5

SD_Spec V1.10!
Detected as SDSC Card!

大昔のカードなのでSDのバージョンは1.10です。
このカードはBIOSの更新用ブートメモリとしてUSBカードリーダと
組み合わせて今でも使用しております。


●RiDATA 256MB MiniSD

そして更に昔の11年前にMP3プレーヤー用に購入したMiniSDのカードです!
確か9870円くらいで買ったと思いました。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 7666 kB/sec.
>ds 0
rc=0
Drive size: 492544 sectors
Erase block size: 128 sectors
Default r/w block size: 512 bytes
Card type: SDv1
SpeedMode: NomalSpeedMode(25.72MHz)
DataBusWidth: 4bit

CSD:
00000000 00 7F 00 32 13 59 81 E0 EE BB 3F FF 16 40 00 E9 ...2.Y....?..@..
CID:
00000000 04 00 00 53 44 00 00 2A 10 00 00 03 3A 00 48 97 ...SD..*....:.H.

Parsing SD CID Register
Manufacturer ID :0x4
OEM/Application ID :<0><0>
Product Name :SD<0><0>*
Product HwRev :1
Product SwRev :0
Serial Number :0x0000033A
DateCode.Month :8
DateCode.Year :2004

OCR:
00000000 80 FF 80 00 ....
SD Status:
00000000 80 00 00 00 00 00 00 14 00 00 00 00 00 00 00 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 00 A5 00 00 00 00 00 00 ........

Parsing SCR
SD Spec Version :0
SD Spec Version 3 :0
SD Spec Version 4 :0
SD Security :2
SD Bus Width :5

SD_Spec V1.0x!
Detected as SDSC Card!

なんとSDのバージョンはHighSpeedModeにすら対応していないV1.0です・・・
私が持つ最古のSDカードです。


●ATP ProMAX MiniSD 1GB x150

ねむいさんイチオシのメーカーATP製のカードです。
こちらは箱にSLCと明記されておりました。15000円くらいでヨドバシで
買った記憶があります。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 19499 kB/sec.
>ds 0
rc=0
Drive size: 1999872 sectors
Erase block size: 128 sectors
Default r/w block size: 512 bytes
Card type: SDv1
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 00 5E 00 32 5F 59 83 D0 6D B7 FF 9F 96 40 00 8F .^.2_Y..m....@..
CID:
00000000 09 41 50 41 46 4D 44 50 10 45 30 00 C2 00 63 DD .APAFMDP.E0...c.

Parsing SD CID Register
Manufacturer ID :0x9
OEM/Application ID :AP
Product Name :AFMDP
Product HwRev :1
Product SwRev :0
Serial Number :0x453000C2
DateCode.Month :3
DateCode.Year :2006

OCR:
00000000 80 FF 80 00 ....
SD Status:
00000000 80 00 00 00 00 00 00 38 00 00 00 00 00 00 00 00 .......8........
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 01 25 00 00 00 00 00 00 .%......

Parsing SCR
SD Spec Version :1
SD Spec Version 3 :0
SD Spec Version 4 :0
SD Security :2
SD Bus Width :5

SD_Spec V1.10!
Detected as SDSC Card!

やりますね〜!


●ATP MicroSDHC4GB MLC (AF4GUD-ATP023)

こちらはSTM32F4のいつもので使用しているおなじみのATPのMicroSDHCです。
一般用なのでMLCです。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Mar 22 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 21173 kB/sec.
>ds 0
rc=0
Drive size: 7861248 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5F 59 00 00 1D FC 7F 80 0A 40 00 97 @..2_Y.......@..
CID:
00000000 09 41 50 41 46 20 55 44 10 26 3B 15 32 00 83 A5 .APAF UD.&;.2...

Parsing SD CID Register
Manufacturer ID :0x9
OEM/Application ID :AP
Product Name :AF UD
Product HwRev :1
Product SwRev :0
Serial Number :0x263B1532
DateCode.Month :3
DateCode.Year :2008

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 02 00 00 00 03 03 90 00 08 05 00 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 00 00 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :0
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V2.00!
Detected as SDHC Card!

速度も文句なし!


●ATP MicroSDHC4GB SLC (AF4GUDI-5ABXX)

そして同じATPの工業用のMicroSDHCです!!!!!
もちろんSLCなのですよぅ!実力やいかに!?
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Mar 22 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 16330 kB/sec.
>ds 0
rc=0
Drive size: 7892992 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 1E 1B 7F 80 0A 40 00 B1 @..2[Y.......@..
CID:
00000000 09 41 50 41 46 20 55 44 10 12 60 75 7A 00 F2 39 .APAF UD..`uz..9

Parsing SD CID Register
Manufacturer ID :0x9
OEM/Application ID :AP
Product Name :AF UD
Product HwRev :1
Product SwRev :0
Serial Number :0x1260757A
DateCode.Month :2
DateCode.Year :2015

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 02 00 00 00 03 03 90 00 08 05 00 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 00 00 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :0
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V2.00!
Detected as SDHC Card!

ぁ・・・あれ・・・?ま、まぁ工業用ですからピーキーな
性能よりも安定性を強化しているのでしょう(脂汗)
大事な事なので二度言いました。


●Sandisk Ultra8GB MicroSDHC

トリはSanDiskのSDカードたちです!
偽者が乱舞するSandisk製ですがねむいさんいちおうちゃんとしたお店で
買っているので偽者には引っかかっておりません・・・はず・・・
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 16421 kB/sec.
>ds 0
rc=0
Drive size: 15523840 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 3B 37 7F 80 0A 40 40 AF @..2[Y..;7...@@.
CID:
00000000 03 53 44 53 55 30 38 47 80 02 37 95 01 00 C6 87 .SDSU08G..7.....

Parsing SD CID Register
Manufacturer ID :0x3
OEM/Application ID :SD
Product Name :SU08G
Product HwRev :8
Product SwRev :0
Serial Number :0x02379501
DateCode.Month :6
DateCode.Year :2012

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 03 00 00 00 04 00 90 00 14 05 1A 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 80 01 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

ふつー・・・


●Sandisk Ultra 8GB SDHC

このカードはお尻にUSBの端子が付いていてUSBメモリとしても機能します。
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Apr 3 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 14268 kB/sec.
>ds 0
rc=0
Drive size: 15954944 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 3C DC 7F 80 0A 40 40 C5 @..2[Y..<....@@.
CID:
00000000 03 53 44 53 44 30 38 47 80 01 9C 01 36 00 84 65 .SDSD08G....6..e

Parsing SD CID Register
Manufacturer ID :0x3
OEM/Application ID :SD
Product Name :SD08G
Product HwRev :8
Product SwRev :0
Serial Number :0x019C0136
DateCode.Month :4
DateCode.Year :2008

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 03 00 00 00 02 02 90 00 0B 05 00 00 ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 35 00 00 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :0
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V2.00!
Detected as SDHC Card!

機能盛り込みすぎてちょっと速度が遅いですがしかたは無いです。


●Sandisk ExtremePRO SDXC64GB(FAT32フォーマット)

そして!現在TG-3用の記憶媒体としてバリバリに使っていますExtremePROの
64GBのカードです!!!
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Mar 25 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 16448 kB/sec.
>ds 0
rc=0
Drive size: 124735488 sectors
Erase block size: 32768 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 01 DB D3 7F 80 0A 40 40 DF @..2[Y.......@@.
CID:
00000000 03 53 44 53 50 36 34 47 80 F2 D6 14 07 01 01 D5 .SDSP64G........

Parsing SD CID Register
Manufacturer ID :0x3
OEM/Application ID :SD
Product Name :SP64G
Product HwRev :8
Product SwRev :0
Serial Number :0xF2D61407
DateCode.Month :1
DateCode.Year :2016

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 08 00 00 00 04 00 C0 00 0F 05 3A 00 ..............:.
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
SCR:
00000000 02 45 84 03 00 00 00 00 .E......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :1
SD Security :4
SD Bus Width :5

SD_Spec V4.xx!
Detected as SDXC Card!

ありゃりゃ・・・
ま・・まぁ・・・FAT32で無理糞フォーマットしてますしそのせいでしょう(脂汗)
カードのモノとしてはSDのバージョンも4の最新のやつです。
今回の評価でSDバージョンが4の奴はこれと並行輸入版EXCERIAだけでした。
どうでもいいですけどeraseblocksizeが32768セクタもあります。


●I/ODataのClass4 SDHC4GB

ねむいさんのおとうちゃんから「お前が山に行った時の写真分けてくれ」と
頼まれ手渡されたどっかの家電量販店で買ってきたかのようなデータ保存用の
やっすいカードです。どうせゴミみたいな性能だろうから哂ってやるつもりで
半ば冷やかしにベンチとってみたのですが・・・
FatFs module test terminal for STM32F427IIT6
LFN Enabled, Code page: 932
AppVersion : W.I.P
Build Date : Mar 25 2016
>fg piano
rc=0 FR_OK
>fo 1 ftbt.mp3
rc=0 FR_OK
>fr 132949600
132949600 bytes read with 19063 kB/sec.
>ds 0
rc=0
Drive size: 7878656 sectors
Erase block size: 8192 sectors
Default r/w block size: 512 bytes
Card type: SDv2(Block)
SpeedMode: HighSpeedMode(51.43MHz)
DataBusWidth: 4bit

CSD:
00000000 40 0E 00 32 5B 59 00 00 1E 0D 7F 80 0A 40 00 A5 @..2[Y.......@..
CID:
00000000 1D 41 44 53 44 20 20 20 10 A0 90 08 0A 00 02 E3 .ADSD ........

Parsing SD CID Register
Manufacturer ID :0x1D
OEM/Application ID :AD
Product Name :SD
Product HwRev :1
Product SwRev :0
Serial Number :0xA090080A
DateCode.Month :2
DateCode.Year :2000

OCR:
00000000 C0 FF 80 00 ....
SD Status:
00000000 80 00 00 00 02 00 00 00 02 02 90 00 08 11 00 00 ................
00000010 00 00 00 00 00 00 00 00 00 53 4D 49 00 00 00 00 .........SMI....
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 51 00 00 00 00 32 00 00 00 00 00 00 00 ...Q....2.......
SCR:
00000000 02 35 80 00 00 00 00 00 .5......

Parsing SCR
SD Spec Version :2
SD Spec Version 3 :1
SD Spec Version 4 :0
SD Security :3
SD Bus Width :5

SD_Spec V3.0x!
Detected as SDHC Card!

>132949600 bytes read with 19063 kB/sec.
なん・・・だと・・・!?





・・・
こ、こう言うベンチマークの結果は特に気にせず皆様はそれぞれが納得し信頼できる
メーカのSDカードを選んで使用していただければよいと思いますよ(脂汗)

Comments

Post a Comment








Go to top of page