[En-Nut-Discussion] Problems with MMC cards on Ethernut 3.0e

Ole Reinhardt ole.reinhardt at embedded-it.de
Thu Jul 21 10:14:29 CEST 2011


Hi Harald,

> I tried NPL v3 with the current trunk and an rather old MMC (not
> SDCard). This worked immediately without any problem. The card had been
> newly formatted with FAT (not FAT32) on a Windows PC.

So I'm currently using NPL v5

> Anyway, I'll use other NPL versions and SD-cards to reproduce the problem.

Thanks!

> Note, that there are 2 known bugs with Ethernut 3.0E and memory cards:
> 
> http://www.ethernut.de/en/hardware/enut3/enut30e.html

I Just added a 10µF capacitor in parallel to C5. The shortcut in the WP
line does not bother me (it's switched off anyway) and the shortcut
between shield and DGND should not be harmfull, should it?

Btw: I had the same problem with both MMC drivers (NPL directly and
using NPL SPI). In both cases some NOPs helped out. If I remove them,
the most significant bit in the received bytes is set from time to
time. 

Example:

I expect to read

00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... 00

I readsomthing similar to:

00 80 00 00 00 80 00 80 00 00 00 00 00 80 ... 00

When adding the NOPs everything is ok.

Bye,

Ole


-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

http://www.embedded-it.de

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list