TCP-IP
所属分类:DSP编程
开发工具:C/C++
文件大小:2321KB
下载次数:8
上传日期:2011-09-16 15:09:08
上 传 者:
hakdas
说明: TCP-IP Stack For CCS
文件列表:
TCP-IP\PC Demos\about.txt (722, 2006-03-06)
TCP-IP\PC Demos\Source\Sockets.dcu (36446, 2005-09-01)
TCP-IP\PC Demos\Source\Sockets.pas (38164, 2005-08-10)
TCP-IP\PC Demos\Source\TCPServer.bdsproj (9054, 2005-08-10)
TCP-IP\PC Demos\Source\TCPServer.bdsproj.local (557, 2005-08-10)
TCP-IP\PC Demos\Source\TCPServer.cfg (488, 2005-08-10)
TCP-IP\PC Demos\Source\TCPServer.dpr (226, 2005-08-10)
TCP-IP\PC Demos\Source\TCPServer.identcache (125, 2005-08-19)
TCP-IP\PC Demos\Source\TCPServer.res (3372, 2005-08-10)
TCP-IP\PC Demos\Source\TCP_client.bdsproj (7760, 2005-08-10)
TCP-IP\PC Demos\Source\TCP_client.bdsproj.local (1578, 2005-08-10)
TCP-IP\PC Demos\Source\TCP_client.cfg (488, 2005-08-10)
TCP-IP\PC Demos\Source\TCP_client.dpr (227, 2005-08-10)
TCP-IP\PC Demos\Source\TCP_client.identcache (126, 2005-08-19)
TCP-IP\PC Demos\Source\TCP_client.res (3372, 2005-08-05)
TCP-IP\PC Demos\Source\TCP_client_mainU.dcu (9839, 2005-09-01)
TCP-IP\PC Demos\Source\TCP_client_mainU.dfm (2414, 2005-09-01)
TCP-IP\PC Demos\Source\TCP_client_mainU.pas (7069, 2005-08-19)
TCP-IP\PC Demos\Source\TCP_Server_mainU.dcu (11847, 2005-09-01)
TCP-IP\PC Demos\Source\TCP_Server_mainU.dfm (3201, 2005-09-01)
TCP-IP\PC Demos\Source\TCP_Server_mainU.pas (10548, 2005-08-19)
TCP-IP\PC Demos\Source\UDP.bdsproj (7753, 2005-08-15)
TCP-IP\PC Demos\Source\UDP.bdsproj.local (98, 2005-08-15)
TCP-IP\PC Demos\Source\UDP.cfg (488, 2005-08-17)
TCP-IP\PC Demos\Source\UDP.dpr (206, 2005-08-15)
TCP-IP\PC Demos\Source\UDP.identcache (112, 2005-08-19)
TCP-IP\PC Demos\Source\UDP.res (3372, 2005-08-10)
TCP-IP\PC Demos\Source\UDP_example.nfm (2359, 2005-08-05)
TCP-IP\PC Demos\Source\UDP_example.pas (600, 2005-08-05)
TCP-IP\PC Demos\Source\UDP_mainU.dcu (8502, 2005-09-01)
TCP-IP\PC Demos\Source\UDP_mainU.dfm (3019, 2005-09-01)
TCP-IP\PC Demos\Source\UDP_mainU.pas (5853, 2005-08-19)
TCP-IP\PC Demos\Source\__history\TCPServer.bdsproj.~1~ (7759, 2005-08-05)
TCP-IP\PC Demos\Source\__history\TCPServer.dpr.~1~ (226, 2005-08-05)
TCP-IP\PC Demos\Source\__history\TCP_client.bdsproj.~1~ (8242, 2005-08-05)
TCP-IP\PC Demos\Source\__history\TCP_client.bdsproj.~2~ (8242, 2005-08-05)
TCP-IP\PC Demos\Source\__history\TCP_client.dpr.~1~ (212, 2005-08-05)
TCP-IP\PC Demos\Source\__history\TCP_client.dpr.~2~ (227, 2005-08-05)
TCP-IP\PC Demos\Source\__history\TCP_client_mainU.dfm.~10~ (2368, 2005-08-08)
... ...
DISCLAIMER:
-------------------------------
This code was written by Microchip. This code
was ported by CCS. This source code may only be used
by licensed users of the CCS C compiler. Also, you
must follow any license agreements that accompanied
the original Microchip TCP/IP stack.
See "TCPIP Stack End User License.pdf" for Microchip's
license agreement.
IMPORTANT READING:
-------------------------------
This stack is officialy a Microchip 'product'. As
such they have provided a few documents:
AN833 - Detailed information about using the
stack in your application; information
about the API and how to develop with it.
Be aware that this document hasn't been updated
in many years and contains many errors.
39563b - Information about Microchip's PICdem.net
board.
CHANGES MADE BY CCS:
-------------------------------
For people experienced with Microchip's TCP/IP
stack, here are changes made by CCS to this
version:
* Will only compile with PCH. Will not compile
with PCM or other compilers (C18, HiTech).
* No linker. CCS does not yet have a linker, so
all C files have to be compiled into one object.
To do this all the modules (IP.C, MAC.C, etc)
are included in STACKTASK.C.
* All hardware and software configuration moved
to hardware.h.
* TickTask changed from a poll method to an
interrupt.
* PPP added. The API is the same as Ethernet or
SLIP, just the hardware layer is changed. For
help on creating a PPP link for the hardware
layer, see the documentation in ppp.h and the
example programs provided by CCS.
* Microchip File System, FTP server, HTTP server
removed. These were removed for two reasons;
first because they relied heavily on pointers
to constants which CCS doesn't support in V3.
Second, to make the source easier for CCS to
port. If these are necessary you can
add them and port them yourself.
* CCS wrote their own HTTP server that uses HTML pages
stored into the program memory.
* Microchip's XEEPROM driver removed. Use
CCS's 24LC256 driver instead (which is located
in the driver directory of your PCH installation.)
* Microchip's XLCD driver removed. Use the
provided clcd.c instead.
* SLIP is not tested. The driver is pretty
ugly, which reads/writes to the UART SFR's
directly.
* All I/O ports are set to Fast mode. Therefore
you will have to maintain the TRIS settings
manually.
NOTE: CCS Version4 will have both a Linker and pointers
to constants - making it easier for the end user to manually
port the C18 version of the stack and not have to use
this ported version.
CCS TCP/IP DEVELOPMENT BOARDS:
-------------------------------
CCS is selling three TCP/IP Development Boards.
First is the Embedded Internet board (AKA PICNET).
It includes a PIC18F6722, an LCD, a Realtek 8019 NIC IC for
Ethernet, and a 56k modem for PPP.
Second is the Embedded Ethernet board (AKA PICENS).
It includes a PIC18F4620, an LCD, a Microchip ENC28J60 for
Ethernet, a serial EEPROM and a MMC/SD card reader.
Third is the Embedded Ethernet board with PIC18F67J60 (AKA PICEEC).
This is a PIC with an integrated internal ethernet peripheral.
Otherwise it is practically the same as the PICENS board.
EXAMPLES BY CCS:
-------------------------------
CCS has provided two simple examples to demonstrate
this stack:
ex_st_email.c - Sends an email, using SMTP, after
you press the button. Uses DNS to resolve
the IP address of the SMTP hostname.
ex_st_webserver.c - A webserver where you can read the
A/D readings, and change the display on the LCD.
ex_st_upd.c - A simple demo using UDP to transfer and receive simple
packets. This example works best if you have two development
boards to talk to each other.
These examples will work with either the CCS PICNET,
CCS PICENS or CCS PICEEC. You must change the #define's at the
beginning of each example to specify which demo board
is going to be used.
For help with these examples refer to the comments
in the header of these examples.
You will also find example files called ex**.c, where
** is the corresponding chapter in the CCS Embedded Internet
or Embedded Ethernet tutorial. All documenation for those
examples are in the tutorial book.
EXAMPLE HEX FILES
--------------------------------
The above examples have been compiled with PCH
and tested, and the firmware HEX files have been provided
in this release. There are two directories, one set
of HEX files is for the CCS PICNET board (with NIC and PPP
versions) and another set for the CCS PICENS board.
EXAMPLE PC PROGRAMS
--------------------------------
In the 'PC Demos' folder you will find a few PC programs (and
their accompanying source code). These PC programs were originally
created to be used with the tutorial booklet CCS provides, but these
may provide useful for other applications. See the file 'about.txt' in
the 'PC Demos' folder for more information.
近期下载者:
相关文件:
收藏者: