天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

SWD協(xié)議的研究及ARM程序下載器的設(shè)計(jì)

發(fā)布時(shí)間:2018-09-15 19:23
【摘要】:如今ARM公司設(shè)計(jì)的Cortex-M3處理器因具有高性能、高代碼密度和小硅片面積的優(yōu)點(diǎn),已大面積地成為了低成本單片機(jī)、汽車電子、數(shù)據(jù)通信、工業(yè)控制和消費(fèi)類產(chǎn)品理想的處理平臺(tái)。ARM處理器一般都使用JTAG調(diào)試接口,使得仿真、調(diào)試工具統(tǒng)一而廉價(jià),方便用戶的開(kāi)發(fā)。但JTAG調(diào)試接口至少要占用芯片的5-6個(gè)引腳,這對(duì)于一些引腳較少的MCU來(lái)說(shuō)非常不便。但Cortex-M3在保持原來(lái)JTAG調(diào)試的基礎(chǔ)上還支持串行調(diào)試(SWD)。使用SWD(Serial wire debugger)只占用2個(gè)引腳即可進(jìn)行所有的仿真和調(diào)試,節(jié)省了調(diào)試用引腳。 現(xiàn)在市場(chǎng)上使用的支持SWD模式的程序調(diào)試下載器有SEGGER公司的JLINK、KEIL公司的ULINK和ST公司的STLINK,但國(guó)內(nèi)在此方面存在一定的開(kāi)發(fā)難度,主要原因在于外國(guó)公司并沒(méi)有完全開(kāi)放SWD協(xié)議的相關(guān)資料說(shuō)明。本文針對(duì)公司的需求量身訂做了一個(gè)支持SWD協(xié)議的程序調(diào)試下載器,具有非常現(xiàn)實(shí)的意義。本文重點(diǎn)研究了Cortex-M3的整體架構(gòu)、嵌入式平臺(tái)的SPI接口及通信協(xié)議、SWD協(xié)議和STM32flxx芯片。并通過(guò)三個(gè)模塊實(shí)現(xiàn)基于SWD協(xié)議的燒寫(xiě)系統(tǒng),三個(gè)模塊分別是:SWD協(xié)議實(shí)現(xiàn)模塊;目標(biāo)板bootloader模塊;SPI通信模塊。文章的最后通過(guò)系統(tǒng)的聯(lián)調(diào)和多次反復(fù)的測(cè)試對(duì)SWD程序燒寫(xiě)器進(jìn)行了驗(yàn)證,保證其功能的完整性和使用的可靠性。
[Abstract]:Today, the Cortex-M3 processor designed by ARM Company has become a low-cost single-chip computer, automotive electronics and data communication because of its advantages of high performance, high code density and small silicon chip area. The ideal processing platform for industrial control and consumer products .arm processor generally uses JTAG debugging interface which makes the simulation and debugging tools unified and cheap and convenient for the development of users. But the JTAG debug interface requires at least 5-6 pins, which is inconvenient for some MCU with fewer pins. However, Cortex-M3 also supports serial debugging (SWD). On the basis of keeping the original JTAG debugging. Only 2 pins can be used to simulate and debug with SWD (Serial wire debugger), which saves the pin for debugging. At present, the program debugging and downloading devices that support SWD mode used in the market include ULINK of JLINK,KEIL Company of SEGGER Company and STLINK, of ST Company, but there are some difficulties in developing this aspect in our country. The main reason is that foreign companies are not fully open to the SWD protocol related information. According to the demand of the company, this paper makes a program debug download which supports SWD protocol, which has very practical significance. This paper focuses on the whole architecture of Cortex-M3, SPI interface of embedded platform, communication protocol and STM32flxx chip. The burn writing system based on SWD protocol is implemented by three modules. The three modules are respectively the implementation module of the SWD protocol and the bootloader module of the target board. At the end of the paper, the SWD program burner is verified by the combination of the system and repeated tests to ensure the integrity of its function and the reliability of its use.
【學(xué)位授予單位】:湖北大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP368.1;TP332

【參考文獻(xiàn)】

相關(guān)期刊論文 前1條

1 趙海艦,甘萌;嵌入式系統(tǒng)中的Flash編程技術(shù)研究[J];計(jì)算機(jī)工程與設(shè)計(jì);2005年11期

相關(guān)碩士學(xué)位論文 前1條

1 左敏江;嵌入式生產(chǎn)測(cè)試工具Product Assistant的設(shè)計(jì)與實(shí)現(xiàn)[D];電子科技大學(xué);2006年

,

本文編號(hào):2244261

資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/2244261.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶7c9aa***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com