ttcp promblem in my 68360 board

Park, Chan Taek urinara at www.ati.co.kr
Mon Feb 28 08:37:49 UTC 2000


Hello, rtems-users!

Eric Norum wrote:

> "Park, Chan Taek" wrote:
> >
> > Hello, rtems-list users!
> >
> > I'm now benchmarking the ttcp for my 68360 board's ethernet performance.
> >
> > There is no problem when I set the buflen to 8K bytes(this is default in
> > the ttcp source code) or more than 512 bytes.
> > In this case the ttcp transmits 16M bytes successfully from my target
> > board to PC(winnt & cygwin) and vice versa.
> > And when the ttcp finished it prints out statistics information about
> > TCP throughput.
> > But when I set the buflen to small such as 100 bytes with -l option, the
> > ttcp never completed.
> > It was blocked forever by the write function after some number of calls
> > to the write function.
> >
> > My board configurations and host environments are that:
> >
> >     Target
> >         MC68EN360 33MHz Rev.C
> >         16MB DRAM
> >         SCC1 for ethernet(10Mbps)
> >         SMC1 for console(38.4kbps)
> >
> >     Host
> >         Windows NT 4.0
> >         Cygwin32 B20.1
> >         egcs-1.1b.tar.bz2
> >         binutils-2.9.1.tar.gz
> >         newlib-1.8.0.tar.gz
> >         egcs-1.1b-rtems-diff-19981028.gz
> >         binutils-2.9.1-rtems-diff-19981027.gz
> >         newlib-1.8.0-rtems-diff-19981027.gz
> >         rtems-4.0.0.tgz
> >
> > Please help me for that problem.
>
> 1) There have been lots of changes made since 4.0.0.  Perhaps that will
> fix your problem.

First, I'm sorry for my bad english!
There is same problem in the current version of rtems, 20000118a.
I'm working within Redhat 6.0.

>
> 2) We're tracking down a problem that locks up interrupt handling once
> in a while.  How many TX buffers have you configured?
>

The default configurations are used and number of TX buffer is 16(TX_BUF_COUNT
* TX_BD_PER_BUF).
I was just modify two lines within network.c and it is as follows.

    /*
     * Enable the TENA (RTS1*) pin
     */
    m360.pbpar |= 0x1000;
    m360.pbdir |= 0x1000;
/*#if (defined (M68360_ATLAS_HSB))
    m360.pbpar |= 0x1000;
    m360.pbdir |= 0x1000;
#else
    m360.pcpar |=  0x1;
    m360.pcdir &= ~0x1;
#endif*/


>
> --
> Eric Norum                                 eric at cls.usask.ca
> Canadian Light Source                      Phone: (306) 966-6308
> University of Saskatchewan                 FAX:   (306) 966-6058
> Saskatoon, Canada.




More information about the users mailing list