|
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
WHATýS THE POINT?
OK, Iýve gone to all this trouble to
show you how you can build the equipment and operate on the Ethernet
with a PIC and a handful of various other components. What good is
it if you canýt do something with the data that is encapsulated in
the Ethernet packets?
Iým sure youýll find a need for Ethernet
connectivity in some of your projects, and to help you get started,
Iým including a simple Visual Basic (VB) program that sends and receives
data using the UDP protocol. You can select the IP address and UDP
port and transfer data between the PC and other uniquely addressed
Ethernet development boards on a network.
This little program also has a built-in
echo function dedicated to UDP Port 7 and a basic IP-address-selectable
and UDP-Port-selectable on/off switch mechanism for Port A of the
Ethernet development boardýs PIC16F877. For those who wish to play,
Iýll include the VB
project files. You can get an
idea of the functionality of the VB-based test panel by looking at
Photo 14.
|

|
| Photo 14ýCome now, is there
any other magazine compared to this one? The IP address and
destination port windows are input-driven. So is the outgoing
data window. The two buttons send a 0xFF or 0x00 word to the
destination port of the remote host. |
PREVIOUS
NEXT
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. |