diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-22 14:46:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-22 14:46:02 +0000 |
commit | 5edbffe3f64131c582839e0bbd389fda5eeb407c (patch) | |
tree | 81ab7ce00a76f8f8cae955ef5fac8fb4cd9cc7f1 /c/src/lib/libbsp/powerpc/mpc8260ads/network/README | |
parent | 2001-10-22 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-5edbffe3f64131c582839e0bbd389fda5eeb407c.tar.bz2 |
01-10-22 Andy Dachs <a.dachs@sstl.co.uk>
* mpc8260ads added as new BSP. tm27 reported not to run
at this time.
* ChangeLog, Makefile.am, README, aclocal.m4, bsp_specs,
clock/.cvsignore, clock/Makefile.am, clock/p_clock.c, configure.in,
console/Makefile.am, console/console.c, include/Makefile.am,
include/bsp.h, include/coverhd.h, irq/.cvsignore, irq/Makefile.am,
irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c,
network/Makefile.am, network/README, network/if_hdlcsubr.c,
network/if_hdlcsubr.h, network/network.c, start/Makefile.am,
start/start.S, startup/Makefile.am, startup/bspstart.c,
startup/cpuinit.c, startup/linkcmds, startup/setvec.c, times,
vectors/.cvsignore, vectors/Makefile.am, vectors/vectors.S,
vectors/vectors.h, vectors/vectors_init.c, wrapup/Makefile.am:
New files.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc8260ads/network/README')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc8260ads/network/README | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/network/README b/c/src/lib/libbsp/powerpc/mpc8260ads/network/README new file mode 100644 index 0000000000..d5722557c3 --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/network/README @@ -0,0 +1,55 @@ +Networking with HDLC +==================== + +Author: Andy Dachs <a.dachs@sstl.co.uk> +Date: 31st August 2001 +Surrey Satellite Technology Limited + + +The network support in this BSP is not Ethernet support. The +"network" referred to here is a point to point HDLC communication link. +The ADS board does have a 10/100 ethernet port and it would be nice to +get support for that added. + +My requirement is for a WAN so I need the ability to send IP frames over +HDLC. Ultimately this will end up as frame relay support but in the meantime +I'm simply wrapping up the IP packet inside an HDLC frame. There is no +addressing mechanism or mac address attached to the start of the frame. + +This is what is physically transmitted: +<FLAG><IP Frame><CRC><FLAG> + + +The physical link consists of four lines, +TX DATA : Data transmitted +TX CLOCK: Clock for transmitted data. Data source provides clock. +RX DATA : Received data +RX CLOCK: Clock for received data. Data sink accepts clock. + +To connect two entities you require a NULL modem arrangement, i.e. TX data +and Tx clock from one end go into RX data and Rx clock on the other end. + +The MPC8260ADS side of the link is implemented using SCC3 in HDLC mode. The +TX clock is generated by BRG4. The RX clock in input to the board on the CLK5 +input. I built a LVTTL to RS422 converter. + +The other end of the link is a Windows NT PC with WANic400 synchronous +communication card. We bought the card from ImageStream +(http://www.imagestream.com/WANic400.html). You also need the NT +drivers and a cable. There are other distributors but I found these +guys helpful - and they also do Linux drivers. + +The NT WANic driver has a number of modes, one of which is ethernet emulation. +This mode is what is needed to transport IP packets in HDLC frames. + +In libnetworking/net you will find a file called if_hdlcsubr.c containing +the hdlc_input and hdlc_output routines required by network.c. This file was +created by taking out the addressing mechanisms from if_ethersubr.c in the +same directory. There are probably neater ways to do this <any +contributions welcome here>. + + + + + + |