上海交通大学硕士学位论文基于Linux的ARM9嵌入式工控一体机的设计、实现与应用姓名:周杰申请学位级别:硕士专业:控制理论与控制工程指导教师:邵惠鹤20070101VLinuxARM9PC3CX86WinCELinux32ARMVI80%ARM9LinuxLinuxARM9RS232LinuxUSBSDLinuxLinuxLinux:LinuxMXLVIITHEDESIGN,REALIZATIONANDAPPLICATIONOFTHEEMBEDDEDINDUSTRIALCOMPUTERBASEDONARM9ANDLINUXABSTRACTWiththecomingofpostPCeraandthestrongdevelopmentof3Ctechnologies,embeddedsystemshavebeenappliedinmanyfields,suchascustomerelectronics,medicalinstrumentsandindustrialcontrol,whichpromotesgreatlysocialproductivity,improvespeople’slivingqualityandmakesthelifestylechanged.Asakindofspecialapplication-orientedcomputersystem,embeddedsystemshavedifferentformsfordifferentapplicationfields,wheretheycanberealizedasasingleproductorasystemcomponentofalargesystem.Itisthesameinfractionizedfieldsofindustrialcontrol,whereembeddedsystemsareimplementedascontrolsub-systemaspartofacomplexsystemorauniversalcommu-nicationandcontrolterminal.Theembeddedindustrialcomputerwediscussedhereisakindofportableterminalforindustrialspots.Nowadays,thecontrolofindustrialspotsisbecomingmoreandmorecomplexanddispersed,sothedevicesneedtobemoreandmoreVIIIintelligentaccordingly.Nodoubtly,thepopularizationofembeddedindustrialcomputerswillboosttheprocessforinformationreconstructionoftraditionalindustryandthedevelopmentofburgeoningembeddedindustry.However,theembeddedindustrialcomputersinmarketnow,aremainlyfromEurope,USAandTaiwan.TheyarebasedonX86CPUandWinCEoperatingsystem,andtheyhavegreatpowerconsumptionaswellashighprice,whichmakesthegeneralizationdifficultinourcountry.ThematurationandpopularizationofembeddedLinuxisagreatchancetochangethiscomplexion.TheopensourceofLinuxwillcostdowntheproduct,andmakethedeveloperbeabletomasterthecoretechnologyofoperatingsystem.Besides,32-bitARMmicroprocessorshavebeenappliedgreatlyandhavetakenup80%ofthemarketdependingontheirhighperformance,lowpowerconsumptionandlowcost.SodevelopingnewembeddedindustrialcomputerbasedonARM9microprocessorandembeddedLinuxisagoodchoice,whichhasfar-reachingmeaningforthegrowthinthisfield.ThisarticledescribesthedesignandimplementationofARM9embeddedindustrialcomputerbasedonLinux,andbrieflyintroducesanapplicationcase.First,thedemandofembeddedindustrialcomputerisanalyzed,andthemostimportanttwosystemelementsofembeddedmicroprocessorandembeddedoperatingsystemarechosen,basedonwhichthewholeIXsoftwareandhardwarearchitecturesofthesystemareintroducedaswellasthesystembootingflow.Afterthewholesystemdesign,thesystemhardwarerealizationispresented,includingstoragesub-system,userinterfacesmoduleandotherinterfaceslikeEthernetandRS232.Thenthesoftwarerealizationisfocusedon,whichdescribesdetailedlythesetupofsystemdevelopingenvironment,thedesignofbootloader,theportingofLinuxkernel,thedevelopmentofdevicedriversandtheimplementationofgraphicsuserinterface.Andinthisprocedure,themethodsofUSBdownloadandbootingLinuxdirectlyfromSDcardarebroughtforward,whichhavegreatapplicationvalue.Atlast,aninnovativecaseischosentodemotheapplicationoftheembeddedLinuxindustrialcomputer.Fromthesystemperformanceandthepractice,theembeddedLinuxindustrialcomputeristhoughttohavegoodpracticabilityandapplicationpotential,andtheprocessofitsdesignandrealizationhasgreatreferentialvalueforotherembeddedplatform.KEYWORDS:embeddedindustrialcomputer,embeddedLinux,MXL,GUIXIII1-1...........................................................................................21-2...........................................................................42-1.......................................................................................62-2MXLPXA250..............................................................................82-3...........................................................................................92-4..................................................................................112-5..........................................................................................122-6.................................................................................................132-7.................................................................................................143-1..............................................................................................153-2MC9328MXL..................................................................................163-3MXLSDRAM................................................................193-4NORFLASH...........................................................................203-5MMC/SD.....................................................................................213-6MMC/SD.........................................................................................213-7LCD.............................................................................................223-8LCD.........................................................................................223-9TSC2301...............................................233-10USBHOST..........................................................................243-11............