【正文】
ommunication based on ARM embedded system Candidate: Xu Peng Department: School of Computer Science and Technology Speciality: Computer Application Technology Supervisor 1: Song Hui Supervisor 2: Zhang Ge Xiang Date: Nov. 4, 20xx 學位論文原創(chuàng)性聲明 本人鄭重聲明:所呈交的論文是本人在導師的指導下獨立進行研究所取得的研究成果。 作者簽名: 日期: 年 月 日 學位論文版權(quán)使用授權(quán)書 本學位論文作者完全了解學校有關(guān)保留、使用學位論文的規(guī)定,同意學校保留并向國家有關(guān)部門或機構(gòu)送交論文的復印件和電子版,允許論文被查閱和借閱。據(jù)本人所知,除了文中特別加以標注和致謝之處外,論文中不包含其他人已經(jīng)發(fā)表或撰寫過的研究成果,也不包含為獲得 西南科技大學 或其他教育機構(gòu)的學位或證書而使用過的材料。 (涉密的學位論文在解密后遵守此規(guī)定 ) 作者簽名: 導師簽名: ; 日 期: 日 期: ; 西南科技大學 工程 碩士學位論文 第 I 頁 摘 要 嵌入式系統(tǒng)是計算機技術(shù)、半導體技術(shù)和電子技術(shù) 的綜合體,已經(jīng) 廣泛應用于 科學研究、工程設(shè)計、國防軍事、自動化控制 等各個 領(lǐng)域。 論文選擇了 ARM 體系結(jié)構(gòu)的嵌入式 LPC2200 處理器 ,根據(jù)系統(tǒng)的需求, 在綜合各種設(shè)計方案的基礎(chǔ)上,選擇移植帶有 TCP/IP 協(xié)議的ucLinux 嵌入式操作系統(tǒng) 。 關(guān)鍵詞: 嵌入式系統(tǒng); ARM7TDMI; socket; TCP/IP 西南科技大學 工程 碩士學位論文 第 II 頁 Abstract The embedded system is a plex system with the puter technology, semiconductor technology and electronic technology .It has been widely used in scientific research, engineering, national defense, automation and other fields. With the rapid development of work munication technology,our production and life requires the terminal to plete the work munication function in a wide range of embedded systems. The Paper select the ARM7 TDMI for embedded development platform, develop the embedded work munication terminal. Socket is a munication chain handle, and sends work request or response to work requests. It is used to describe the IP address and port for both TCP / IP based protocol to municate between applications,. The paper select LPC2200 embedded ARM as processor architecture, with the system need, design the integration based on transplantation with TCP / IP protocol ucLinux embedded operating system. The paper build related file cutting and custom systems. On this basis, finished an application, and call the system function of Socket Communications, achieve server and client munication. The paper achieved the work access functions of the embedded device, the embedded with a work munication terminal can municate with each other, and expand and improve the application range of embedded devices, and has a greater significance for embedded systems. Key words: Embedded Systems; ARM7TDMI; socket; TCP/IP 西南科技大學 工程 碩士學位論文 第 III 頁 目 錄 1 緒論 .......................................................................................................................................................................1 嵌入式系統(tǒng) ...............................................................................................................................................1 國內(nèi)外現(xiàn)狀和趨勢 .................................................................................................................................2 選題必要性 ...............................................................................................................................................3 選題的目的和意義 .................................................................................................................................4 課題研究范圍及要達到的技術(shù)要求 ...............................................................................................5 2 需求分析 .............................................................................................................................................................6 任務概述 ....................................................................................................................................................6 系統(tǒng)的需求分析 .....................................................................................................................................6 系統(tǒng)的功能需求 ............................................................................................................................6 系統(tǒng)的性能需求 ............................................................................................................................6 系統(tǒng)設(shè)計思路 ..........................................................................................................................................6 3 系統(tǒng)概 要設(shè)計 ....................................................................................................................................................9 系統(tǒng)設(shè)計的基本原則 ............................................................................................................................9 系統(tǒng)設(shè)計方案分析 .................................................................................................................................9 概要設(shè)計 ................................................................................................................................................. 11 開發(fā)環(huán)境 ........................................................................................................................................ 11 ARM 開發(fā)環(huán)境的建立 ................................................................................................................. 12 建立程序運行調(diào)試交叉編譯環(huán)境 ....................................................................................... 15 模塊化的設(shè)計與分析 ......................................................................................................................... 15 開發(fā)板上完成的設(shè)計 ............................................................................................................... 15 PC 機上完成的程序開發(fā) ......................................................................................................... 16 設(shè)計基本流程 ....................................................................................................................................... 16 4 系統(tǒng)詳細設(shè)計 .................................................