diff options
| author | zheng-chow <[email protected]> | 2018-06-04 18:14:59 +0800 |
|---|---|---|
| committer | zheng-chow <[email protected]> | 2018-06-04 18:14:59 +0800 |
| commit | ed75173cac1a76982f344227ecf39fd3d5eef4de (patch) | |
| tree | d26ddbbab96316b169b88a2391bad0ade81236a7 /components | |
| parent | 666d39c093092864921f9892ab9c54a99d45646d (diff) | |
Fix the SD Card and EMAC issue:
1. The issue concerns sdmmc library bug (I finally solved) in SD_Init() in the file sdmmc/src/fsl_sd.c:SD_SelectBusTiming()
calls SD_SwitchFunction() which sets block size to 64bytes (512bits).Therefore SD_SetBlockSize(card, FSL_SDMMC_DEFAULT_BLOCK_SIZE)
should be called again before SD_Init() exits.
2. The issue is wrong variable in drv_emac.c:lpc_emac_tx(), and the wrong data length of send packet
to cause the send failure.
Signed-off-by: zheng-chow <[email protected]>
Diffstat (limited to 'components')
0 files changed, 0 insertions, 0 deletions
