ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

THE ETHERNET DEVELOPMENT BOARD


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

THE ETHERNET DEVELOPMENT BOARD

Lessons from the Trenches Part 2: The Software and Firmware Exposed
by Fred Eady

Start ý The Basics ý Registers ý Bus Interface Registers ý Status and Control Registers ý InitChip ý Initiate Transmit Registers ý Address Filter Registers ý Receive and Transmit Frame Locations ý CS8900A-CQ Transmit and Receive Operations ý The Next Read ý Broadcast ý ARP ý No Cheating ý Tiger Woodsý Putter ý Whatýs the Point? ý And It Programs, Too! ý Sources and PDF

REGISTERS

There are numerous CS8900A-CQ registers. The best way to keep up with them is to predefine them and use labels that are readable. Beginning with the PacketPage I/O port definitions, all of the internal CS8900A-CQ registers are listed and defined whether or not they are used.

Labels beginning with "pageport" represent the 16 base PacketPage I/O ports listed in Listing 3. PacketPage internal registers that are accessed using the PacketPage I/O ports are prefixed by "ppage." This area is where the initialization registers are located. Also, youýll find the counters and status registers in the grouping you see in Listing 4.

There are five PacketPage event registers and they are defined by their datasheet names. Some of the CS8900A-CQ registers have names that are simply too long to attempt to code with. I tried to make those register names and their internal bit settings as readable as possible. These long-named registers include:

ý PacketPage self control
ý PacketPage self status
ý PacketPage bus control
ý PacketPage bus status
ý PacketPage line control
ý PacketPage test control
ý PacketPage receiver configuration
ý PacketPage receiver event
ý PacketPage receiver control
ý PacketPage transmit configuration
ý PacketPage transmit event
ý PacketPage transmit command
ý PacketPage buffer configuration

The aforementioned registers and register sets can be simplified into six major categories, bus interface registers, status and control registers, initiate transmit registers, address filter registers, receive frame location, and transmit frame location.

The six categories, including all of their subsets, can be found within the 4K area called PacketPage.

PREVIOUSNEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ