【正文】
s more, c。s products is its prominent feature is a small, low power consumption, reduced instruction set, interference, reliability, strong analog interface, the code of confidentiality is good, most of the chip has its patible FLASH program memory chips. EMC SCM: Elan39。s internal procedures have bee easier. About mon single chip STC microcontroller STC39。s intelligence and grasp the knowledge of intelligent design. MCU applications starting from the learning technology applications in today39。s, radio has created several generations of the world elite, then today39。s autopilot, engine monitoring systems. Embedded system is primarily a puter system, followed by it being embedded into the object system, objects in the object system to achieve required data collection, processing, status display, the output control functions, as embedded in the object system, embedded system puter does not have an independent form and function of the puter. SCM is entirely in accordance with the requirements of embedded system design, so SCM is the most typical embedded systems. SCM is the early application of technical requirements in accordance with the design of embedded puter chip integration, hence the name single chip. Subsequently, the MCU embedded applications to meet the growing demands of its control functions and peripheral interface functions, in particular, highlight the control function, so has international name the single chip microcontroller (MCU, Microcontroller Unit). 2 MCU modern electronic systems consisting of electronic systems will bee mainstream MCU is a devicelevel puter systems, it can be embedded into any object system to achieve intelligent control. Small to micromachinery, such as watches, hearing aids. Lowcost integrated devicelevel, lowto a few dollars, ten dollars, enough to spread to many civilian SCM appliances, electronic toys to go. SCM constitutes a modern electronic systems has indepth to the households, are changing our lives, such as home audio, televisions, washing machines, microwave ovens, telephones, security systems, and air conditioners. SCM innovation the original electronic systems, such as microwave ovens use SCM, it can easily set the clock, the program memory, power control。 while the latter requires reliable operation in the target environment, the external physical parameters on highspeed acquisition, analysis and processing logic and the rapid control of external objects. It will add an early generalpurpose puter data acquisition unit, the output driver circuit reluctance to form a heat treatment furnace temperature control system. This generalpurpose puter system is not possible for most of the electronic system used, and to make generalpurpose puter system meets the requirements of embedded applications, will inevitably affect the development of highspeed numeric processing. In order to solve the contradiction between the development of puter technology, in the 20th century 70s, semiconductor experts another way, in full accordance with the electronic system embedded puter application requirements, a microputer39。 report issued from the radio amateur radio stations。缺點 RAM 空間過小,抗干擾較好。AT90 系列單片機是增強 RISC 結(jié)構(gòu)、全靜態(tài)工作方式、內(nèi)載在線可編程 Flash 的單片機 ,也叫AVR 單片機 . PHLIPIS 51PLC 系列單片機 (51 單片機 ): PHILIPS 公司的單片機是基于 80C51 內(nèi)核的單片機 ,嵌入了掉電檢測、模擬以及片內(nèi) RC 振蕩器等功能 ,這使 51LPC 在高集成度、低成本、低功耗的應(yīng)用設(shè)計中可以滿足多方面的性能要求 . HOLTEK 單片機: 臺灣盛揚半導(dǎo)體的單片機 ,價格便宜 ,種類較多 ,但抗干擾較差 ,適用于消費類產(chǎn)品 . TI 公司單片機 (51 單片機 ): 德州儀器提供了 TMS370和 MSP430兩大系列通用單片機 .TMS370系列單片機是 8 位 CMOS 單片機 ,具有多種存儲模式、多種外圍接口 模式 ,適用于復(fù)雜的實時控制場合 。加上單片機應(yīng)用場合廣泛,銷售量大,廠商間委托加工與技術(shù)轉(zhuǎn)讓頻繁,大量技術(shù)資料外瀉,使得利用該類芯片的設(shè)計漏洞和廠商的測試接口,并通過修改熔絲保護位等侵入型攻擊或非侵入型攻擊手段來讀取單片機的內(nèi)部程序 變得比較容易。這樣,使用簡單的編程器就能直接讀出程序存儲器的內(nèi)容。由于設(shè)計有缺陷,因此,只要切斷從保護熔絲到其它電路的某一根信號線,就能禁止整個保護 功能。在編程模式下,重啟讀過程并連接探針到另外的數(shù)據(jù)線上就可以讀出程序和數(shù)據(jù)存儲器中的所有信息。 由于某種原因,芯片鎖定位在編程模式下并不鎖定對存儲器的訪問。對于這種類型的單片機,一般使用微探針技術(shù)來 讀取存儲器內(nèi)容。將保護熔絲暴露在紫外光下5~10分鐘就能破壞 掉保護位的保護作用,之后,使用簡單的編程器就可直接讀出程序存儲器的內(nèi)容。若沒有顯微鏡,則采用將芯片的不同部分暴露到紫外光下并觀察結(jié)果的方式進行簡單的搜索。最后一步是尋找保護熔絲的 位置并將保護熔絲暴露在紫外光下。沒有超聲池,一般就跳過這一步。該過程一般在非常干燥的條件下進行,因為水的存在可能會侵蝕已暴露的鋁線連接。 芯片上面的塑料可以用小刀揭開,芯片周圍的環(huán)氧樹脂可以用濃硝酸腐蝕掉。第一種方法需要將芯片綁定到測試夾具上,借助綁 定臺來操作。有兩種方法可以達到這一目的:第一種是完全溶解掉芯片封裝,暴露金屬連線。與之相反,侵入型的探針攻擊則不需要太多的初始知識,而且通??捎靡徽紫嗨频募夹g(shù)對付寬范圍的產(chǎn)品。在某些場合非侵入型攻擊是特別危險的,但是因為非侵入型攻擊所需設(shè)備通??梢宰灾坪蜕?,因此非常廉價。所有的微探針技術(shù)都屬于侵入型攻擊。 (4)探針技術(shù) 該技術(shù)是直接暴露芯片內(nèi)部連線,然后觀察、操控、干擾單片機以達到攻擊目的。時 鐘瞬態(tài)跳變也許會復(fù)位保護電路而不會破壞受保護信息。使用最廣泛的過錯產(chǎn)生攻擊手段包括電壓沖擊和時鐘沖擊。這樣通過使用特殊的電子測量儀器和數(shù)學(xué)統(tǒng)計方法分析和檢測這些變化,即可獲取單片機中的特定關(guān)鍵信息。 (2) 電子探測攻擊 該技術(shù)通常以高時間分辨率來監(jiān)控處理器在正常操作時所有電源和接口連接的模擬特性,并通過監(jiān)控它的電磁輻射特性來實施攻擊。軟件攻擊取得成功的一個典型事例是對早期ATMEL AT89C 系列單片機的攻擊。投身到單片機世界來,將使你一生受益。高級水平可開發(fā)機器人,如機器人足球賽,開發(fā)工業(yè)控制單元,網(wǎng)絡(luò)通信等,并用匯編語言或高級語言設(shè)計應(yīng)用程序。初級水平可開發(fā)智能玩具, 用宏指令編程。 3 單片機帶你進入最具魅力的電子世界 獨具魅力的單片機能使你體會到電腦的真諦,你可以用單片機親自動手設(shè)計智能玩具,可以設(shè)計不同的應(yīng)用程序?qū)崿F(xiàn)不同的功能。在使用計算機的人們中,只有從事嵌入式系統(tǒng)應(yīng)用的人才真正地進入到計算機系 統(tǒng)的內(nèi)部軟、硬件體系中,才能真正領(lǐng)會計算機 的智能化本質(zhì)并掌握智能化設(shè)計的知識。這也是當(dāng)前許多家用電器功能大量增設(shè)的因素之一。在無人值守時,可給定各種自動運行功能。單片機應(yīng)用系統(tǒng)的硬件結(jié)構(gòu)給予電子系統(tǒng) “身軀 ”,單片機應(yīng)用系統(tǒng)的應(yīng)用程序賦予其 “生命 ”。 五、單片機將造就新一代電子精英 如果說五十年代起,無線電世界造就了幾代精英,那么當(dāng)今的單片機世界將會造就出新一代電子精英。這就使原來經(jīng)典電子系統(tǒng)的天地愈來愈小。 3 嵌入式系統(tǒng)帶動了整個電子產(chǎn)業(yè) 目前電子元器件產(chǎn)業(yè)除了微 處理器、嵌入式系統(tǒng)器件外,大多是圍繞現(xiàn)代電子系統(tǒng)配套的元器件產(chǎn)業(yè),例如滿足人機交互用的按鍵, LED/LCD顯示驅(qū)動、 LED/LCD 顯示單元、語音集成器件等,滿足數(shù)據(jù)采集通道要求的數(shù)字傳感器、 ADC、數(shù)據(jù)采集模塊、信號調(diào)理模塊等,滿足伺服驅(qū)動控制的 DAC、固體繼電器、 步進電機 控制器、變頻控制單元等,滿足通信要求的各種總線驅(qū)動器、電平轉(zhuǎn)換器等。單片 機革新了原有電子系統(tǒng),如微波爐采用單片機控制后,可方便地進行時鐘設(shè)置、程序記憶、功率控制;空調(diào)機采用單片機后不但遙控參數(shù)設(shè)置方便,運行狀態(tài)自動變換,還可實現(xiàn)變頻控制。集成器件級的低價位,低到幾元、十幾元,足以使單片機普及到許多民用家電、電子玩具中去。 2 單片機構(gòu)成的現(xiàn)代電子系統(tǒng)將成為主流電子系統(tǒng) 單片機是器件級計算機系統(tǒng),它可以嵌入到任何對象體系中去,實現(xiàn)智能化控制。早期的單片機只 是按嵌入式應(yīng)用技術(shù)要求設(shè)計的計算機單芯片集成,故名單片機。嵌入式系統(tǒng)首先是一個計算機系統(tǒng),其次它被嵌入到對象體系中、在對象體系中實現(xiàn)對象要求的數(shù)據(jù)采集、處理、狀態(tài)顯示、輸出控制等功能,由于嵌入在對象體系中,嵌入式系統(tǒng)的計算機沒有計算機的獨立形式及功能。因此,當(dāng)前單片機在電子系統(tǒng)中的廣泛使用,使經(jīng)典電子系統(tǒng) 迅速過渡到智能化的現(xiàn)代電子系統(tǒng)。單片機能最好地滿足嵌入式應(yīng)用的環(huán)境要求,例如,芯片級的物理空間、大規(guī)模集成電路的低價位、良好的外圍接口總線和突出控制功能的指令系統(tǒng)。 早期雖然有通用計算機改裝而成的嵌入式計算機系統(tǒng),而真正意義上的嵌入式系統(tǒng)始于單片機的出現(xiàn)。單片機問世后,在計算機領(lǐng)域中開始出現(xiàn)了通用計 算機系統(tǒng)和嵌入式系統(tǒng)的兩大分支。這樣的通用計算機系統(tǒng)不可能為大多數(shù)電子系