📄 readme.txt
字号:
May 20th, 2006
C6455 Ethernet MAC Example Software
======================================================
This example package includes version 0.4 of the C6455 Ethernet
MAC example driver, and several example programs illustrating
how to use the EMAC APIs.
This example software is a standalone example program showing how
to program EMAC on C6455. It is not related to the TI's NDK (TCP/IP stack)
for C6455. For the lastest C6455 device drivers for the NDK, please
refer to the TCP/IP Stack release 1.9. Also, it is not 'functional level'
CSL for EMAC. EMAC will not have a functional level layer integrated with
the CSL for C645x devices. However, this example uses the register layer CSL
files for EMAC.
This software is better suited to use as a reference for generic
Ethernet device driver development, because it supports EMAC
capabilities that are not required by the TCP/IP Stack. These include:
- Statistics Monitoring
- Multi-channel transmit (for transmit priority)
- Transmitting packets with non-contiguous buffers (fragments).
To best use this example, you may wish to print out the following
files:
\include\c6455_emac.h : Documents the "EMAC" API calls
\include\c6455_mdio.h : Documents the "MDIO" API calls
The example program source code "loopback_main.c" documents the setup and
requirements for calling the EMAC module, but the EMAC and MDIO
module APIs are documented in the above ".h" files.
Note that when using the EMAC module, it is not necessary to
interface directly with the MDIO module, since EMAC calls MDIO
directly. The MDIO module can be used independently if the EMAC module
is not required.
These EMAC/MDIO API modules are the easiest way to program a
device driver for C6455. If these modules do not meet the needs
of a particular operating environment, they can still be used as
programming examples. The basic inner workings of the EMAC and
MDIO modules is described in the application note (SPRAxxx).
To install this example software, simply un-zip it in any location on
your hard drive. It does not have to be inside CCS directory.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -