OpenCores
URL https://opencores.org/ocsvn/sd_card_controller/sd_card_controller/trunk

Subversion Repositories sd_card_controller

[/] [sd_card_controller/] [trunk/] [README.md] - Blame information for rev 9

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 rozpruwacz
 
2 5 rozpruwacz
Wishbone SD Card Controller IP Core
3
===================================
4 4 rozpruwacz
 
5
The Wishbone SD Card Controller IP Core is MMC/SD communication controller designed to be
6
used in a System-on-Chip. IP core provides simple interface for any CPU with Wishbone
7
bus. The communication between the MMC/SD card controller and MMC/SD card is performed
8
according to the MMC/SD protocol.
9
 
10 8 rozpruwacz
Introduction
11
------------
12
This core is based on the "sd card controller" project from
13
http://opencores.org/project,sdcard_mass_storage_controller
14
but has been largely rewritten. A lot of effort has been made
15
to make the core more generic and easily usable
16
with OSs like Linux.
17
- data transfer commands are not fixed
18
- data transfer block size is configurable
19
- multiple block transfer support
20
- R2 responses (136 bit) support
21
 
22 5 rozpruwacz
Features
23
--------
24 4 rozpruwacz
 
25
The MMC/SD card controller provides following features:
26
 
27
- 1- or 4-bit MMC/SD mode (does not support SPI mode),
28
- 32-bit Wishbone interface,
29
- DMA engine for data transfers,
30
- Interrupt generation on completion of data and command transactions,
31
- Configurable data transfer block size,
32
- Support for any command code (including multiple data block tranfser),
33
- Support for R1, R1b, R2(136-bit), R3, R6 and R7 responses.
34
 
35 5 rozpruwacz
Documentation
36
-------------
37 4 rozpruwacz
 
38
The documentation is located in the doc/ directory.
39 7 rozpruwacz
 
40
Examples
41
--------
42
 
43
A sample ORPSoC project that make use of this core is located at:
44
 
45
https://github.com/mczerski/orpsoc-de0_nano
46
 
47
The project is based on de0_nano board with custom made expansion board
48
with SD Card connector.
49
 
50
There is also u-boot project port for this board located at:
51
 
52
https://github.com/mczerski/u-boot
53
 
54
This u-boot project contains driver for Wishbone SD Card Controller IP Core
55
and can be configured for de0_nano board (with custom made expansion board).
56
 
57 9 rozpruwacz
Also in the plan is the driver for Linux. The initial work can be found at:
58 7 rozpruwacz
 
59 9 rozpruwacz
https://bitbucket.org/rozpruwacz/linux-openrisc
60
 
61
the driver is named ocsdc and is located in drivers/mmc/host directory.
62
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.