隨著技術(shù)的發(fā)展,單片機(jī)開(kāi)發(fā)手段也越來(lái)越先進(jìn),而價(jià)格卻不斷下降。當(dāng)FLASH型單片機(jī)被廣泛應(yīng)用后,采用軟件模擬加寫(xiě)片驗(yàn)證成為一種經(jīng)濟(jì)實(shí)用的實(shí)驗(yàn)方法。而近年來(lái)很多單片機(jī)都具有了ISP功能,只要一根下載線即可以編程,不再需要編程器。 美國(guó)SST公司推出的SST系列單片機(jī)更是集成了仿真功能,配合Keil軟件,可使用戶的目標(biāo)板直接具有仿真功能,將單片機(jī)的易用性推向一個(gè)新的高度。 SST89E564RD是美國(guó)SST公司推出的一款內(nèi)嵌89C52核的單片機(jī),除具有89C52的所有資源外,還增加了768字節(jié)的XRAM(地址范圍100H-2FFH);增加了64KBlock0的Flash(地址范圍:0000H-FFFFH),原89C52的8KFlash為Block1,占用10000H-11FFFH的地址空間。出廠時(shí)SST89E564RD中已經(jīng)固化與Keil連接的仿真軟件SoftICE,該firmware與Keil一起可將C或匯編生成的代碼通過(guò)串口直接下載到Block0中,且可在線調(diào)試,該軟件占用Block1的前4K和Block0的后1KFlash空間,調(diào)試時(shí)占用串口和定時(shí)器2。
上傳時(shí)間: 2014-12-27
上傳用戶:uuuuuuu
導(dǎo)言基于FLASH存儲(chǔ)器的微處理器,一個(gè)重要的需求是安裝到產(chǎn)品中后,仍具有升級(jí)固件(firmware)的能力。這種能力稱為“在應(yīng)用中編程”(In-application-programming,IAP)。這篇應(yīng)用筆記以STM32F32位cortex-M3為例,闡述了構(gòu)建IAP系統(tǒng)的一些通用概念。并提出了一種新的技術(shù),有助于單片機(jī)開(kāi)發(fā)人員更好的構(gòu)建IAP系統(tǒng)。STM32系列微處理器基于FLASH存儲(chǔ)器。在FLASH中運(yùn)行的固件可以擦寫(xiě)FLASH本身。FLASH的頭4KB具有寫(xiě)保護(hù),適合存儲(chǔ)IAP固件(IAP BootLoader)。
上傳時(shí)間: 2013-11-07
上傳用戶:lalaruby
The μPSD32xx family, from ST, consists of Flash programmable system devices with a 8032 MicrocontrollerCore. Of these, the μPSD3234A and μPSD3254A are notable for having a complete implementationof the USB hardware directly on the chip, complying with the Universal Serial Bus Specification, Revision1.1.This application note describes a demonstration program that has been written for the DK3200 hardwaredemonstration kit (incorporating a μPSD3234A device). It gives the user an idea of how simple it is to workwith the device, using the HID class as a ready-made device driver for the USB connection.IN-APPLICATION-PROGRAMMING (IAP) AND IN-SYSTEM-PROGRAMMING (ISP)Since the μPSD contains two independent Flash memory arrays, the Micro Controller Unit (MCU) can executecode from one memory while erasing and programming the other. Product firmware updates in thefield can be reliably performed over any communication channel (such as CAN, Ethernet, UART, J1850)using this unique architecture. For In-Application-Programming (IAP), all code is updated through theMCU. The main advantage for the user is that the firmware can be updated remotely. The target applicationruns and takes care on its own program code and data memory.IAP is not the only method to program the firmware in μPSD devices. They can also be programmed usingIn-System-Programming (ISP). A IEEE1149.1-compliant JTAG interface is included on the μPSD. Withthis, the entire device can be rapidly programmed while soldered to the circuit board (Main Flash memory,Secondary Boot Flash memory, the PLD, and all configuration areas). This requires no MCU participation.The MCU is completely bypassed. So, the μPSD can be programmed or reprogrammed any time, anywhere, even when completely uncommitted.Both methods take place with the device in its normal hardware environment, soldered to a printed circuitboard. The IAP method cannot be used without previous use of ISP, because IAP utilizes a small amountof resident code to receive the service commands, and to perform the desired operations.
標(biāo)簽: Demonstration 3200 USB for
上傳時(shí)間: 2014-02-27
上傳用戶:zhangzhenyu
什么是JTAG 到底什么是JTAG呢? JTAG(Joint Test Action Group)聯(lián)合測(cè)試行動(dòng)小組)是一種國(guó)際標(biāo)準(zhǔn)測(cè)試協(xié)議(IEEE 1149.1兼容),主要用于芯片內(nèi)部測(cè)試。現(xiàn)在多數(shù)的高級(jí)器件都支持JTAG協(xié)議,如DSP、FPGA器件等。標(biāo)準(zhǔn)的JTAG接口是4線:TMS、 TCK、TDI、TDO,分別為模式選擇、時(shí)鐘、數(shù)據(jù)輸入和數(shù)據(jù)輸出線。 JTAG最初是用來(lái)對(duì)芯片進(jìn)行測(cè)試的,基本原理是在器件內(nèi)部定義一個(gè)TAP(Test Access Port�測(cè)試訪問(wèn)口)通過(guò)專用的JTAG測(cè)試工具對(duì)進(jìn)行內(nèi)部節(jié)點(diǎn)進(jìn)行測(cè)試。JTAG測(cè)試允許多個(gè)器件通過(guò)JTAG接口串聯(lián)在一起,形成一個(gè)JTAG鏈,能實(shí)現(xiàn)對(duì)各個(gè)器件分別測(cè)試。現(xiàn)在,JTAG接口還常用于實(shí)現(xiàn)ISP(In-System rogrammable�在線編程),對(duì)FLASH等器件進(jìn)行編程。 JTAG編程方式是在線編程,傳統(tǒng)生產(chǎn)流程中先對(duì)芯片進(jìn)行預(yù)編程現(xiàn)再裝到板上因此而改變,簡(jiǎn)化的流程為先固定器件到電路板上,再用JTAG編程,從而大大加快工程進(jìn)度。JTAG接口可對(duì)PSD芯片內(nèi)部的所有部件進(jìn)行編程 JTAG的一些說(shuō)明 通常所說(shuō)的JTAG大致分兩類,一類用于測(cè)試芯片的電氣特性,檢測(cè)芯片是否有問(wèn)題;一類用于Debug;一般支持JTAG的CPU內(nèi)都包含了這兩個(gè)模塊。 一個(gè)含有JTAG Debug接口模塊的CPU,只要時(shí)鐘正常,就可以通過(guò)JTAG接口訪問(wèn)CPU的內(nèi)部寄存器和掛在CPU總線上的設(shè)備,如FLASH,RAM,SOC(比如4510B,44Box,AT91M系列)內(nèi)置模塊的寄存器,象UART,Timers,GPIO等等的寄存器。 上面說(shuō)的只是JTAG接口所具備的能力,要使用這些功能,還需要軟件的配合,具體實(shí)現(xiàn)的功能則由具體的軟件決定。 例如下載程序到RAM功能。了解SOC的都知道,要使用外接的RAM,需要參照SOC DataSheet的寄存器說(shuō)明,設(shè)置RAM的基地址,總線寬度,訪問(wèn)速度等等。有的SOC則還需要Remap,才能正常工作。運(yùn)行firmware時(shí),這些設(shè)置由firmware的初始化程序完成。但如果使用JTAG接口,相關(guān)的寄存器可能還處在上電值,甚至?xí)r錯(cuò)誤值,RAM不能正常工作,所以下載必然要失敗。要正常使用,先要想辦法設(shè)置RAM。在ADW中,可以在Console窗口通過(guò)Let 命令設(shè)置,在AXD中可以在Console窗口通過(guò)Set命令設(shè)置。
上傳時(shí)間: 2013-10-23
上傳用戶:aeiouetla
MAXQUSBJTAGOW評(píng)估板軟件:關(guān)鍵特性 Easily Load and Debug Code Interface Provides In-Application Debugging Features Step-by-Step Execution Tracing Breakpointing by Code Address, Data Memory Address, or Register Access Data Memory View and Edit Supports Logic Levels from 1.1V to 3.6V Supports JTAG and 1-Wire Protocols Each Adapter Has Its Own Unique Serial ID, Allowing Multiple Adapters to be Connected Without COM Port Conflicts Has In-Field Upgradable Capability if firmware Needs to be Upgraded Enclosure Protects from Shorts and ESD
標(biāo)簽: MAXQUSBJTAGOW 評(píng)估板 軟件
上傳時(shí)間: 2013-10-24
上傳用戶:teddysha
MAXQUSBJTAGOW評(píng)估板軟件:關(guān)鍵特性 Easily Load and Debug Code Interface Provides In-Application Debugging Features Step-by-Step Execution Tracing Breakpointing by Code Address, Data Memory Address, or Register Access Data Memory View and Edit Supports Logic Levels from 1.1V to 3.6V Supports JTAG and 1-Wire Protocols Each Adapter Has Its Own Unique Serial ID, Allowing Multiple Adapters to be Connected Without COM Port Conflicts Has In-Field Upgradable Capability if firmware Needs to be Upgraded Enclosure Protects from Shorts and ESD
標(biāo)簽: MAXQUSBJTAGOW 評(píng)估板 軟件
上傳時(shí)間: 2013-11-23
上傳用戶:truth12
通過(guò)以太網(wǎng)遠(yuǎn)程配置Nios II 處理器 應(yīng)用筆記 firmware in embedded hardware systems is frequently updated over the Ethernet. For embedded systems that comprise a discrete microprocessor and the devices it controls, the firmware is the software image run by the microprocessor. When the embedded system includes an FPGA, firmware updates include updates of the hardware image on the FPGA. If the FPGA includes a Nios® II soft processor, you can upgrade both the Nios II processor—as part of the FPGA image—and the software that the Nios II processor runs, in a single remote configuration session.
標(biāo)簽: Nios 遠(yuǎn)程 處理器 應(yīng)用筆記
上傳時(shí)間: 2013-11-22
上傳用戶:chaisz
利用EZ-USB接口芯片AN2131Q實(shí)現(xiàn)了基于TMS320C5409的水聲信號(hào)采集及混沌特性研究系統(tǒng)中的高速數(shù)據(jù)通信,提出了一種采用FIFO緩存芯片實(shí)現(xiàn)AN2131Q與TMS320C5409的連接方法,深入研究了EZ-USB序列接口芯片的固件、設(shè)備驅(qū)動(dòng)和用戶程序開(kāi)發(fā)過(guò)程。關(guān)鍵詞:AN2131Q; TMS320C5409; IDT72V02;數(shù)據(jù)通信ABSTRACT: Using AN2131Q as the control chip, the communication between DSP and PC in the underwater acoustic signal acquisition and chaotic characteristics study system is realized. The method is proposed that using FIFO to realize the connectivity between AN2131Q and TMS320C5409. The development of programming firmware、device driver and user application are thoroughly researched.Key words: AN2131Q; TMS320C5409; IDT72V02; data communication
標(biāo)簽: EZ-USB 數(shù)據(jù)傳輸 接口設(shè)計(jì)
上傳時(shí)間: 2014-04-03
上傳用戶:hahayou
This Program uses the 2131 dev board s push buttons and seven-segment LED for limited keyboard functionality and is based on the EZ-USB firmware frameworks.
標(biāo)簽: seven-segment keyboard Program buttons
上傳時(shí)間: 2013-12-07
上傳用戶:小碼農(nóng)lz
工控中PLC是最主要的設(shè)備之一,該源碼實(shí)現(xiàn)PLC內(nèi)部firmware對(duì)梯形圖的解釋,想國(guó)產(chǎn)PLC的人可以認(rèn)真
上傳時(shí)間: 2015-03-11
上傳用戶:kiklkook
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1