Design and implementation of embedded Ethernet based on the RX62N microcontroller
Zhihong Guo,Chun Shi,Gang Wu
DOI: https://doi.org/10.1109/CAC.2013.6775729
2013-01-01
Abstract:In recent years, along with the development of industrial control equipments and electric vehicles, the control and communication communities have witnessed the growing demand of system interconnection, intercommunication, and interoperation. Therein a key issue is to connect these objects to a network through embedded control chips. In this paper, we design and implement an embedded Ethernet system based on the Renesas RX62N. The Renesas RX62N 32-bit chip has an embedded Ethernet Controller. To achieve stable and reliable embedded network connection, we transplant μC/OS-II, a realtime operating system written by Micriμm Company, to the platform; In the TCP/IP layer, we write device drivers of the DP83640 physical chip and the RX62N Ethernet controller such that they are compatible to the μC/TCP-IP protocol stack; In the application layer, the main challenge is dynamic IP address assignment, which is solved by μC/DHCPc protocol stack. After obtaining the address, a simple TCP client-server socket application is implemented. The embedded Ethernet system is verified in a real-world network environment. Experiments demonstrate that the system is able to fulfill basic network communication.