?? faq.phtml.htm.kbk
字號:
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="Adobe PageMill 2.0 Mac">
<TITLE>Frequently Asked Questions</TITLE>
</HEAD>
<BODY BGCOLOR="#C0C0C0">
<TABLE BORDER=0 CELLPADDING=0>
<TR>
<TD VALIGN=TOP BGCOLOR='#000000'>
<TABLE ALIGN=LEFT VALIGN=TOP WIDTH=100 BORDER=0 CELLPADDING=3 CELLSPACING=0 >
<TR><TD BORDER=0 VALIGN=TOP ALIGN=CENTER><A HREF="http://www.8052.com"><IMG SRC="../8052ico.gif" BORDER=0></A>
</TD></TR>
<FORM method=get action="../search.phtml">
<TR><TD ALIGN=CENTER>
<FONT COLOR="#FFFFFF" SIZE=2>
<B>Search 8052.com...</B><BR>
<I>and the web!</I>
<INPUT TYPE=HIDDEN NAME=MSGFORUM VALUE="TRUE">
<INPUT TYPE=HIDDEN NAME=FULLSEARCH VALUE="TRUE">
<INPUT TYPE=HIDDEN Name=TYPE Value=ALLTERMS>
<INPUT Type=Text Size=14 Name=TERMS>
<INPUT TYPE="submit" VALUE="Search!"><P>
<A HREF="../find8052.phtml"><IMG SRC="../advsearch.gif" BORDER=0></A>
</TD></TR>
</FORM>
<TR><TD ALIGN=CENTER><HR>
<FONT COLOR="#FFFFFF" SIZE=2>
<FORM method=POST action="../login.phtml"><INPUT TYPE=HIDDEN Name=LOGINPAGE Value='/tcpip/faq.phtml'><B>User (Email)</B><BR><INPUT Type=Text Size=14 MAXLENGTH=40 Name=EMAIL><BR><B>Password</B><BR> <INPUT Type=PASSWORD Size=14 MAXLENGTH=10 Name=PASSWORD><BR><INPUT TYPE='submit' VALUE='Login'></FORM><P><A HREF="../forget.phtml">Forgot password?</A><P><A HREF="../newacct.phtml">Create Account</A><P>
</TD></TR>
<TR><TD BORDER=0 ALIGN=CENTER><HR><A HREF="http://www.8052.com"><IMG SRC="../infoonl.gif" BORDER=0 VSPACE=5></A><BR>
<A HREF="http://www.8052.com"><IMG SRC="../main.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="../forum"><IMG SRC="../msgbrd.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="../tutorial.phtml"><IMG SRC="../tutorial.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="../faq.phtml"><IMG SRC="../faq.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="../news.phtml"><IMG SRC="../news.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="../codelib.phtml"><IMG SRC="../codelib.gif" BORDER=0 VSPACE=2><BR>
<A HREF="../chips.phtml"><IMG SRC="../chips.gif" BORDER=0 VSPACE=2><BR>
<A HREF="../links.phtml"><IMG SRC="../links.gif" BORDER=0 VSPACE=2><BR>
<A HREF="../books.phtml"><IMG SRC="../books.gif" BORDER=0 VSPACE=2><BR>
<A HREF="../reviews.phtml"><IMG SRC="../reviews.gif" BORDER=0 VSPACE=2><BR>
<A HREF="../homepages.phtml"><IMG SRC="../upages.gif" BORDER=0 VSPACE=2>
</TD></TR>
<TR><TD BORDER=0 ALIGN=CENTER><HR><IMG SRC="../projol.gif" VSPACE=5><BR>
<A HREF="../tcpip"><FONT SIZE=2 COLOR="#FFFFFF">8052 TCP/IP</FONT></A><P>
<A HREF="../users/jsno"><FONT SIZE=2 COLOR="#FFFFFF">8052 CD-ROM</FONT></A><P>
</TD></TR>
<TR><TD BORDER=0 ALIGN=CENTER><HR><IMG SRC="../prodonl.gif" VSPACE=5><BR>
<A HREF="../products.phtml"><IMG SRC="../products.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="../services.phtml"><IMG SRC="../service.gif" BORDER=0 VSPACE=2></A>
</TD></TR>
<TR><TD BORDER=0 ALIGN=CENTER><HR>
<IMG SRC="../othinfo.gif" VSPACE=5><BR>
<A HREF="../aboutvis.phtml"><IMG SRC="../about.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="../contact.phtml"><IMG SRC="../contact.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="../disclaim.phtml"><IMG SRC="../disclaim.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="../privacy.phtml"><IMG SRC="../privacy.gif" BORDER=0 VSPACE=2></A><BR>
</TD></TR>
<TR><TD BORDER=0 ALIGN=CENTER><HR><IMG SRC="../prodhl.gif" VSPACE=5><BR>
<CENTER>
<A HREF="http://www.8052.com/redirlnk.phtml?ID=97"><IMG SRC="../advertising/wsisideb.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="http://www.8052.com/redirlnk.phtml?ID=98"><IMG SRC="../advertising/Cygnal100x100.gif" BORDER=0></A><BR>
<A HREF="http://www.8052.com/redirlnk.phtml?ID=105"><IMG SRC="../advertising/pfside.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="http://www.8052.com/redirlnk.phtml?ID=96"><IMG SRC="../advertising/pinico.gif" BORDER=0 VSPACE=2></A><BR>
<A HREF="http://www.8052.com/redirlnk.phtml?ID=99"><IMG SRC="../advertising/keil.gif" BORDER=0 VSPACE=2></A><BR>
</CENTER>
</TD></TR>
</TABLE>
</TD>
<TD VALIGN=TOP>
<FONT SIZE=2>
<TABLE ALIGN=CENTER VALIGN=TOP BORDER=0 CELLSPACING=6 CELLPADDING=4>
<TR><TD ALIGN=CENTER>
<!-- 998122019 -->
<A HREF="http://www.8052.com/redirlnk.phtml?ID=127"><IMG BORDER=0 SRC="http://www.8052.com/advertising/rascc.gif" WIDTH=475 HEIGHT=80></A>
<P><CENTER><TABLE BORDER=1 BGCOLOR="#FFFFFF"><TR><TD>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=3>
<TR>
<TD><FONT SIZE=2>2001-08-08</FONT></TD>
<TD> <FONT SIZE=2><A HREF="http://www.8052.com/news.phtml?NEWSID=16"><B>Cygnal Integrated Products and SANYO Semi. Sign Agreement for Sales Coverage in Asia</B></A></FONT></TD>
</TR>
<TR>
<TD><FONT SIZE=2>2001-06-04</FONT></TD>
<TD> <FONT SIZE=2><A HREF="http://www.8052.com/news.phtml?NEWSID=15"><B>Triscend Adds Communication Bridge Solutions to E5 Configurable System-on-Chip</B></A></FONT></TD>
</TR>
<TR>
<TD><FONT SIZE=2>2001-05-22</FONT></TD>
<TD> <FONT SIZE=2><A HREF="http://www.8052.com/news.phtml?NEWSID=14"><B>Embedded Pascal 805x MKII compiler now available</B></A></FONT></TD>
</TR>
</TABLE></TD></TR><TR><TD BGCOLOR="#D0D0D0"><FONT SIZE=2>Currently online: <B>5</B> guests and the following registered users: <A HREF="javascript:profileWindow = window.open('../profile.phtml?UID=451149', 'profile', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=450,height=300');profileWindow.focus();"><B>M.Jawed Iqbal</B></A></TD></TR></TABLE></CENTER>
</TD></TR>
</TABLE>
<TABLE CELLPADDING=10><TR><TD><FONT SIZE=2>
<BODY>
<TABLE WIDTH="450" BORDER="0" CELLSPACING="6" CELLPADDING="4">
<TR>
<TD WIDTH="100%"><P> <B><FONT COLOR="#FF0000" SIZE=+2>Frequently Asked Questions</FONT></B></P>
<P><FONT COLOR="#006600" SIZE=+1>1 Compiling/Programming</FONT><BR>
1.1 <A HREF="#whatCompiler">What compiler did you use?</A><BR>
1.2 <A HREF="#WhereDrivers">Where do I get the most up to date versions
of the Ethernet Drivers?</A><BR>
1.3 <A HREF="#BugFound">I have found a bug, how do I report it?</A><BR>
1.4 <A HREF="#StopResp">I am trying to run the driver code as a complete
interrupt routine, but when I send a packet, the NIC stops responding. What
is happening?</A><BR>
1.5 <A HREF="#NoStats">From a PC, you can get ethernet statistics from the
card, but it is not in your driver, why?</A><BR>
1.6 <A HREF="#ReduceRAM">The buffers take up 3.5k aprox. Can I reduce this
overhead to reduce the amount of RAM I use?</A></P>
<P><FONT COLOR="#006600" SIZE=+1>2 Ethernet</FONT><BR>
2.1 <A HREF="#Mac1">The MAC Address of the card is displayed on the computer,
but I cannot ping the card. Whats wrong?</A><BR>
2.2 <A HREF="#StopResp2">The NIC works correctly for a time, then stops
sending out packets, what happening?</A></P>
<P><FONT COLOR="#006600" SIZE=+1>3 Miscelaneous</FONT><BR>
3.1 <A HREF="#Payment">Do I have to pay to use this driver?</A><BR>
3.2 <A HREF="#Development">Are you going to keep on developing the code
for this and other NICs?</A></P>
<P><HR ALIGN=LEFT></P>
<P><A NAME="whatCompiler"></A><A HREF="#whatCompiler">1.1 What compiler
did you use?</A><BR>
The compiler used to create this driver was Cross-32 Meta-Assembler, Version
4.01. The web site for more information is <A HREF="http://ourworld.compuserve.com/homepages/UCA/">here</A>.</P>
<P><A NAME="WhereDrivers"></A><A HREF="#WhereDrivers">1.2 Where do I get
the most up to date versions of the Ethernet Drivers?</A><BR>
Currently at the moment, any updated drivers will be availiable through
this tutorial until such time as I get a home page. You can download if
you click <A HREF="Files/8390.zip">here</A>.</P>
<P><A NAME="BugFound"></A><A HREF="#BugFound">1.3 I have found a bug, how
do I report it?</A><BR>
Email the details of the bug to <A HREF="mailto:ksmith@8052.com">here</A>,
including what it does, and I will advise, resolve or include in the next
update to the software.</P>
<P><A NAME="StopResp"></A><A HREF="#StopResp">1.4 I am trying to run the
driver code as a complete interrupt routine, but when I send a packet, the
NIC stops responding. What is happening?</A><BR>
You cannot run the driver as an all in one interrupt routine. The interrupt
routine can only service the NIC as far as getting a Packet from the ring
into RAM, or signalling the micro that it has finished transmitting. You
must use a flag to signal when a packet has arrived, and then process the
packet. The example code supplied with this driver shows an example of its
use. You cannot call SendPacket from within the interrupt routine, as it
requires to call the same interrupt during its use.</P>
<P><A NAME="NoStats"></A><A HREF="#NoStats">1.5 From a PC, you can get ethernet
statistics from the card, but it is not in your driver, why?</A><BR>
Because we are using a microprocessor that only has a limited amount of
memory and code space, this was left out of the driver as it is not essential
for its operation. There are no plans to incorporate it into the driver
at this stage. If you would like it implemented, then drop me a mail.</P>
<P><A NAME="ReduceRAM"></A><A HREF="#ReduceRAM">1.6 The buffers take up
3.5k aprox. Can I reduce this overhead to reduce the amount of RAM I use?</A><BR>
You can reduce the amount of RAM that is required to use this code. This
can be acheived by using the Receive buffer as a transmit buffer. When a
packet is received from the NIC, the ei_RXD flag is set. You could then
change the packet around as you like, then send the packet. Once the packet
has been sent, the ei_RXD flag can then be cleared, and EIGETPACKET called
to retrieve the next packet from the NIC. Also, you can reduce the amount
of memory being used, while still maintaining seperate send/receive buffers
by reducing the maximum buffer size for the send/receive packet. Note that
if you do this, you should implement the MTU/MRU function in the ICMP protocol.
This allows other devices to ask the microprocessor what its MTU/MRU sizes
are such that it doesn't send a packet greater than the receive buffer.</P>
<P><A NAME="Mac1"></A><A HREF="#Mac1">2.1 The MAC Address of the card is
displayed on the computer, but I cannot ping the card. Whats wrong?</A><BR>
There are many problems that may cause this symptom. The most common are
listed below.</P>
<UL>
<LI>Check to make sure that the cable connecting the card to the network
is good. If it is a coax cable, make sure that the network is terminated.
If it is 10BaseT, then there should be a link light up on the hub and on
the network card if it has one. If only one of the lights are active, then
there is probably a cable problem.
<LI>If you connecting the ethernet cable directly between the computer
and the NIC, is it a cross over cable? If you are connecting two devices
togeather without a hub, you need to use a cross-over cable.
<LI>Has the network card be set to Auto-Sense the type of network cable.
Some auto-sense cards incorrectly select the network type. It is best to
force it to be the type of connection that you are using, i.e. COAX, 10BaseT.
<LI>If you have link lights on both ends of the cable, when you ping the
card, do you see the activity light on the hub flash? Is so, then something
is being sent from the card.
<LI>If you are using Windows 95, Windows 98, or NT, use the ARP command
to see if an entry exists for the IP address programmed into the NIC. The
command syntax is <TT>arp -a.</TT> If so, then it has received this information
for the microprocessor.
<LI>Is the IP Address of the NIC, in the same network address space as
the computer you are using to Ping it? If they are not on the same subnet,
then the NIC will not respond.
</UL>
<P><A NAME="StopResp2"></A><A HREF="#StopResp2">2.2 The NIC works correctly
for a time, then stops sending out packets, what happening?</A><BR>
This may happen on a loaded network or where the network card is receiving
packets faster than the microprocessor can process them. The packets are
stored in the NIC is a round robin queue, and removed from the queue only
as fast as the microprocessor is instructed. If the head pointer reaches
the tail pointer, then the card will generate an interrupt to signal this
and turn the receiver off in the NIC. This is undesireable, but unavoidable.
This will most likely happen when the card is on a busy network where it
needs to service a lot of requests.</P>
<P><A NAME="Payment"></A><A HREF="#Payment">3.1 Do I have to pay to use
this driver?</A><BR>
This driver is currently freeware. You are free to use this code and modify
the code to suit your needs. However, if you modify the code in any way,
then I will may not support any problems you may experience. I request that
should your project go into production and you use this code, that my name
appears somewhere in the documentation. I would also like to know what your
project does for reference. Also, No warranty is also expressed or implied.
The author is not liable for any damage caused by the use of this code.</P>
<P><A NAME="Development"></A><A HREF="#Development">3.2 Are you going to
keep on developing the code for this and other NICs?</A><BR>
It is my intention to continue to develop this code, and remove any bugs
that may be present. Because there are many chipsets out that emulate the
8390 chipset, some bugs, may make themselves known to certain network cards.
In fact, looking in the Linux Code and certain other codes, there are many
workarounds for certain problems on some NICs. I hope to incorporate some
of these into the code as a conditional compilation during the continued
growth of this driver.</P>
<P ALIGN=CENTER><A HREF="index.phtml">Home</A></TD></TR>
</TABLE>
</BODY>
<HR>
<CENTER><FONT SIZE=1>
(C) Copyright 1997 - 2001 by <A HREF="http://www.vaultbbs.com">Vault Information Services</A>. All Rights Reserved.<BR>
Information provided "as-is" without warranty. Please <A HREF="../disclaim.htm">see details</A>.<BR>
<A HREF="../contact.htm">Contact us</A> for usage and copy permission.<BR>
</H6></CENTER><BR>
</TD></TR></TABLE>
</TD></TR></TABLE>
</TD></TR></TABLE>
</BODY>
</HTML>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -