SDHC driver of RTEMS
claus at slac.stanford.edu
Sat Aug 3 20:34:03 UTC 2013
I've been working on such a driver and should have something ready for consideration by the RTEMS community soon.
From: rtems-users-bounces at rtems.org [rtems-users-bounces at rtems.org] On Behalf Of 芮正新 [ruizx at sciyon.com]
Sent: Friday, August 02, 2013 6:41 PM
To: rtems-users at rtems.org
Subject: SDHC driver of RTEMS
I want to use SDHC SD card on my MPC8309SOM board.
RTEMS not include the SDHC driver, so I try to port the SDHC driver from u-boot code, but it seem to have too many problems.
When I set CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS >1, the driver can't work well.
The BRDA task looks like be blocked after read the number of CONFIGURE_BDBUF_BUFFER_MAX_SIZE blocks, and some seconds later, the fread function return error.
The fwrite function often failed.
I searched the web and know that P1020 also has SDHC,
Anyone can give me some help for the SDHC driver? Very thanks to you.
rtems-users mailing list
rtems-users at rtems.org
More information about the users