Computer and Modernization

Previous Articles     Next Articles

 
Embedded Network Communication Module Based on uC/OS-II

  

  1.  
    (1. Key Laboratory of Opto-Technology and Intelligent Control, Ministry of Education, Lanzhou Jiaotong University, Lanzhou 730070, China;
    2. College of Information Science and Technology, Gansu Agricultural University, Lanzhou 730070, China)
  • Received:2013-09-26 Online:2014-02-14 Published:2014-02-14

Abstract: In order to provide a small and resource saving network communication module for embedded system, after the transplantation of uC/OS-II, this paper introduces an embedded network communication module based on ENC28J60 and uIP stack, detailedly describes the register configuration methods, provides the chip initialization code, implements the driver of ENC28J60 and shows how to use uIP stack. Besides, a method is also proposed and implemented to fix the bug of uIP in UDP communication. The test results show that a TCP connection can be established between PC and evaluation board, UDP communication can also be carried on.

Key words: uC/OS-II, embedded network communication module, ENC28J60, uIP stack

CLC Number: