加入收藏夹
域名:www.kincony.com    www.hificat.com       English Version || 公司简介|| 汇款须知 || 汇款确认及留言 || 论坛 || 淘宝网店


PIC以太网开发板——基于微芯最新ENC28J60以太网控制器

Microchip TCP/IP Stack v3.75.6 协议栈说明介绍

Introduction

This modified version of the TCP/IP stack is based on the original distribution of the Microchip TCP/IP stack v3.75.

The main goal for creating this version was to be able to have a consistent and common source code base across different projects and reference designs, more easy to configure, better organized and easier to read and modify.

While most of the code in this version follows the same logic as the original version, some of the differences with previous versions are the directory structure, file names and the way the stack options and hardware configurations are defined.

There are also some fixes and improvements, such as the LCD routines that have been replaced with new code that includes support for a character LCD module using the standard parallel interface or the SPI interface using a Microchip MCP23S08 port extender.

Another addition is for example support for the new Microchip 25LC1024 1Mb serial EEPROM and better code selection to handle 24 and 32 bit addressing.

All the source code is organized in the src directory with subdirectories for each of the major modules, such as the code for the TCP/IP stack in the net directory, the LCD driver functions in the lcd directory, etc.

Each of these subdirectories also contain an include subdirectory where the associated header files for each module are located.

All the files went through a clean up process to improve readability and better code organization, some definitions have been moved to other include files, all configuration options have been moved to the main config.h and hardware configuration files, all the header and source code files have been reorganized in sections and in an order such as the prototype definitions for every and each function could be removed eliminating a substantial amount of clutter from the source files.

All the code heritage or version log history has been preserved but reorganized, all tabs replaced by white spaces to permit using any text viewer or editor without loosing the indentation for easy readability.

Most of the files now follow a common editing style.

There are several modifications based on suggestions, findings and comments from many members of the Microchip User's forum and some ideas taken out from the latest release (v4.02) of the original Microchip TCP/IP stack code.

Note: The current version DOES NOT support the HI-TECH or CCS compilers yet.

--->>>返回首页

以上部分内容转载于网上,如有涉及到版权问题,请即通知本人删除 ICP备05019516号
联系地址:浙江省杭州市拱墅区普金家园11-3-702 徐玮 邮政编码:310015 Email:hificat@163.com xu169@sina.com
电话:0571-85956028 传真:0571-88230070 手机:13185018567 QQ:420951892 MSN:hificat@hotmail.com
杭州晶控电子有限公司 版权所有 COPYRIGHT2003——2007 HANGZHOU KinCony ELECTRONICS CO.,LTD All rights reserved