Syndicate
Site (RSS, Atom)
Contact
Weblog status
Total entries: 78
Last entry: 2022-10-16 13:52:24
Last updated: 2022-10-16 14:12:58
powered by vim, bash, cat, grep, sed, and nb 3.4.2

Juni 2010 Archives

2010-06-19 18:17:46

Atmel NGW100 SD-Card Compatibility

Das Atmel NGW100 ist ein Router/Network-Gateway als Entwicklungsplattform. Das NGW100 hat auch einen SD/MMC-Card-Slot und kann auch von einer SD-Karte starten. Aber es gibt gelegentlich Probleme mit verschiedenen SD- oder MMC-Cards.

Oft liegt es an einer alten Version des im internen Flash abgelegten Bootloaders U-Boot, wenn neuere bzw. grössere SD-Karten verwendet werden. In diesem kurzen Test wurde ein NGW100 im Lieferzustand (2010) getestet. Die Version des Loaders ist "U-Boot 1.1.4-at0 (Jan 3 2007 - 10:30:09)".

Alle getesteten Karten hatten eine Partition 1 mit maximal 200 MB Größe. Diese wurde mittels "mke2fs -I 128" formatiert, um eventuell vorhandene Kompatibilitätsprobleme mit grösseren Inodes zu vermeiden. Nach dem Einschalten des NGW100 wurden die Karten in der Shell von U-Boot mit den folgenden Befehlen "getestet":

mmcinit
ext2ls mmc 0:1

Hier die relevanten Auszüge aus der screen-Session:

Kingston SD 2 GB

Uboot> mmcinit
Manufacturer ID:       02
OEM/Application ID:    544D
Product name:          SA02G
Product Revision:      0.4
Product Serial Number: 2625399149
Manufacturing Date:    09/12
SD Card detected (RCA 4660)
CSD data: 002e0032 5b5aa3a9 ffffff80 0a80003b
CSD structure version:   1.0
MMC System Spec version: 0
Card command classes:    5b5
Read block length:       1024
Supports partial reads
Write block length:      1024
Does not support partial writes
Does not support group WP
Card capacity:          1967128576 bytes
File format:            0/0
Write protection:        
.Uboot> ext2ls mmc 0:1
.bad MBR sector signature 0x0000
** Bad partition - mmc 0:1 **

Infineon MMC 128 MB

Uboot> mmcinit
mmc: command 55 failed (status: 0x00100025)
Manufacturer ID:       01
OEM/Application ID:    0000
Product name:          IFX128
Product Revision:      2.0
Product Serial Number: 428872477
Manufacturing Date:    06/06
CSD data: 480e012a 0ff981e9 f6da81e1 8a4000fb
CSD structure version:   1.1
MMC System Spec version: 2
Card command classes:    0ff
Read block length:       512
Supports partial reads
Write block length:      512
Does not support partial writes
Supports group WP:      2
Card capacity:          128450560 bytes
File format:            0/0
Write protection:        
.Uboot> ext2ls mmc 0:1
........<DIR>       1024 .
....<DIR>       1024 ..
....<DIR>      12288 lost+found

Transcend microSD 2 GB

Uboot> mmcinit
Manufacturer ID:       1B
OEM/Application ID:    534D
Product name:          SMI  
Product Revision:      1.0
Product Serial Number: 567976570
Manufacturing Date:    07/10
SD Card detected (RCA 45928)
CSD data: 005e0032 5f5a83cf 2db7ffbf 9680005f
CSD structure version:   1.0
MMC System Spec version: 0
Card command classes:    5f5
Read block length:       1024
Supports partial reads
Write block length:      1024
Does not support partial writes
Supports group WP:      32
Card capacity:          2045247488 bytes
File format:            0/0
Write protection:        
.Uboot> ext2ls mmc 0:1
.bad MBR sector signature 0x0000
** Bad partition - mmc 0:1 **

Transcend SD 1 GB

Uboot> mmcinit
Manufacturer ID:       1C
OEM/Application ID:    5356
Product name:          SDC  
Product Revision:      1.0
Product Serial Number: 27992421
Manufacturing Date:    07/11
SD Card detected (RCA 45928)
CSD data: 002f0032 5f5983b8 6db7ff9f 964000e7
CSD structure version:   1.0
MMC System Spec version: 0
Card command classes:    5f5
Read block length:       512
Supports partial reads
Write block length:      512
Does not support partial writes
Supports group WP:      32
Card capacity:          998768640 bytes
File format:            0/0
Write protection:        
.Uboot> ext2ls mmc 0:1
........<DIR>       1024 .
....<DIR>       1024 ..
....<DIR>      12288 lost+found

Transcend SD 1 GB 80x

Uboot> mmcinit
Manufacturer ID:       1C
OEM/Application ID:    5356
Product name:          SDC  
Product Revision:      1.0
Product Serial Number: 2164269597
Manufacturing Date:    05/06
SD Card detected (RCA 45928)
CSD data: 005e0032 1f5983d0 6db7bf9f 96400005
CSD structure version:   1.0
MMC System Spec version: 0
Card command classes:    1f5
Read block length:       512
Supports partial reads
Write block length:      512
Does not support partial writes
Supports group WP:      32
Card capacity:          1023934464 bytes
File format:            0/0
Write protection:        
.Uboot> ext2ls mmc 0:1
........<DIR>       4096 .
....<DIR>       4096 ..
....<DIR>      16384 lost+found
...mmc: bread failed, SR = 00400025, card status = 00000b00
 ** ext2fs_devread() read error - last part

TakeMS SD 1 GB 60x

Uboot> mmcinit
Manufacturer ID:       3E
OEM/Application ID:    482D
Product name:          SMI  
Product Revision:      1.0
Product Serial Number: 646
Manufacturing Date:    09/12
SD Card detected (RCA 45928)
CSD data: 00000032 5f5983bc edb7ff9f 964000af
CSD structure version:   1.0
MMC System Spec version: 0
Card command classes:    5f5
Read block length:       512
Supports partial reads
Write block length:      512
Does not support partial writes
Supports group WP:      32
Card capacity:          1003487232 bytes
File format:            0/0
Write protection:        
.Uboot> ext2ls mmc 0:1
........<DIR>       1024 .
....<DIR>       1024 ..
....<DIR>      12288 lost+found

TakeMS SD 2 GB 133x

Uboot> mmcinit
Manufacturer ID:       02
OEM/Application ID:    544D
Product name:          SD02G
Product Revision:      4.8
Product Serial Number: 2878473750
Manufacturing Date:    09/11
SD Card detected (RCA 22911)
CSD data: 002e0032 5b5a83a9 ffffff80 16800091
CSD structure version:   1.0
MMC System Spec version: 0
Card command classes:    5b5
Read block length:       1024
Supports partial reads
Write block length:      1024
Does not support partial writes
Does not support group WP
Card capacity:          1967128576 bytes
File format:            0/0
Write protection:        
.Uboot> ext2ls mmc 0:1
.bad MBR sector signature 0x0000
** Bad partition - mmc 0:1 **

Posted by Frank W. Bergmann | Permanent link | File under: embedded, microcontroller_atmel