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

Ole Reinhardt ole.reinhardt at embedded-it.de
Thu Jul 21 16:20:11 CEST 2011


Hi Harald,

> BUT...
> 
> Now I tried
> 
> http://www.ethernut.de/nutwiki/Reading_PHAT_Directories
> 
> instead of httpserv that I used before. And, voila, mounting failed.
> 
> Then I added NutThreadYield() immediately before
> NutRegisterDevice(&devPhat0, 0, 0), as explained in the chapter
> "Pitfalls"...and it works again.

Ui, I did not had this in mind any more. But this won't be the cause of
my problem, as I'm quite sure a context switch happend before
registering devPhat. I'm using DEV_UART0 and print out some longer text
before calling NutRegisterDevice(&devPhat0, 0, 0). So a context switch
should have happend.

Also this does not explain why the read-back content of the SPI
transfers seem to have some swapped (or simply wrong) bits.

You mentioned a Rev. 6 of the NPL? Yesterday I downloaded Rev. 5 and
updated my board from Rev 3 to Rev 5. Might there be a bug left in Rev.
5 which was fixed in Rev 6?

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