【正文】
linux為ARM 處理器提供的交叉開發(fā)工具下,完成基于TCP/IP協(xié)議的串口/以太網(wǎng)數(shù)據(jù)轉(zhuǎn)換設(shè)備的開發(fā)。該設(shè)備支持服務(wù)器和客戶機模式, 為傳統(tǒng)串口設(shè)備通過標準TCP/IP協(xié)議接入Inter提供了一種低成本解決方案。 關(guān)鍵詞 :串口 ;以太網(wǎng);S3C44BOX;RTL8019AS;TCP/IP ;uclinux ;武漢工業(yè)學(xué)院 2020 畢業(yè)論文第 2 頁 共 28 頁AbstractThis graduation project topic is “Serial port/Ether data transfer based on uClinux operation system ”, Embedded system based on ARM7 MCU S3C44BOX and work interface chip RTL80 1 9AS is developed,On which uClinux operation system is ported.Serial port/Ether data transfer device through TCP/IP protocol is developed under RH Linux 9.0 and uClinux cross envelopment tools for ARM.Server and client mode are supported.It provides a low—cost solution for traditional serial—interfaced equipment to connect with the Inter.This article describes the single serial port / Ether data transfer by TCP/IP protocol . It realizes RS232 serial data stream receive /transfer , Packaging / unsealed serial frame. Under the TCP protocol conversion module, these data could be sent serial UDP packet encapsulation in Ether frame buffer , and transmit IP layer。 uclinux武漢工業(yè)學(xué)院 2020 畢業(yè)論文第 3 頁 共 28 頁目 錄摘 要 .........................................................................................................................................................1ABSTRACT...............................................................................................................................................2前 言 ...........................................................................................................................................................4一 設(shè)計概述 ...............................................................................................................................................5 設(shè)計要求 .........................................................................................................................................5 系統(tǒng)結(jié)構(gòu)框圖 .................................................................................................................................5二 模塊電路的介紹 ...................................................................................................................................7 主控制器 S3C44BOX ......................................................................................................................7 TCP/IP 協(xié)議轉(zhuǎn)換模塊 ..................................................................................................................8 串口收發(fā)控制模塊 ...........................................................................................................................8 MAX232 接口電路 ............................................................................................................................8 以太網(wǎng)接口控制芯片 RTL8019AS..................................................................................................8三. 系統(tǒng)硬件選型 .....................................................................................................................................9 協(xié)議轉(zhuǎn)換處理 CPU 選擇 .................................................................................................................9 S3C44B0X 的引腳分析及系統(tǒng)配置電路 ........................................................................9 串口引腳描述及其與 S3C44B0X 的接口引腳描述 ......................................................10 電源電路 .......................................................................................................................11 晶振電路與復(fù)位電路 ...................................................................................................12 實時時鐘電路 ...............................................................................................................14 FLASH 存儲器接口電路 ................................................................................................................14 SDRAM 接口電路 ............................................................................................................................16 外圍接口電路設(shè)計 .......................................................................................................................17 JTAG 接口電路 ..............................................................................................................17 RS232 接口電路 ............................................................................................................18 通用 I/O 接口電路 .......................................................................................................19四. 硬件電路板的調(diào)試和測試 .........................................................................