how to call mount() in cyg_start()

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to call mount() in cyg_start()

Felix R
Hi,

i i call mount() in he main function (like in the fatfs1 test), it works. But if i want i use threads i dont havte main() ant i want to call it in cyg_start(). this fails wih this assert:

ASSERT FAIL: <1>disk.c[370]disk_connected() Bad LBA sector count
ASSERT FAIL: <1>disk.c              [ 370] disk_connected()                                                                                     Bad LBA sector count

Note: I am mounting a SD-Card.

Thanks
Felix
Reply | Threaded
Open this post in threaded view
|

Re: how to call mount() in cyg_start()

Felix R
I found the reason for this. Sorry to bother you.
Reply | Threaded
Open this post in threaded view
|

AW: [ECOS] how to call mount() in cyg_start()

Richard Rauch
In reply to this post by Felix R
Hello,

I am running currently into the same problem.  SDCards with 8 GByte and more
are formatted with LBA.
It seems, that LBA information are not interpreted correctly from eCos
driver.

Do you have found already a solution?

Best Regards

Richard


_______________________________________________
Richard Rauch
ITR GmbH Informationstechnologie Rauch
web:   http://www.itrgmbh.de
_______________________________________________


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss