隨著技術的發展,單片機開發手段也越來越先進,而價格卻不斷下降。當FLASH型單片機被廣泛應用后,采用軟件模擬加寫片驗證成為一種經濟實用的實驗方法。而近年來很多單片機都具有了ISP功能,只要一根下載線即可以編程,不再需要編程器。 美國SST公司推出的SST系列單片機更是集成了仿真功能,配合Keil軟件,可使用戶的目標板直接具有仿真功能,將單片機的易用性推向一個新的高度。 SST89E564RD是美國SST公司推出的一款內嵌89C52核的單片機,除具有89C52的所有資源外,還增加了768字節的XRAM(地址范圍100H-2FFH);增加了64KBlock0的Flash(地址范圍:0000H-FFFFH),原89C52的8KFlash為Block1,占用10000H-11FFFH的地址空間。出廠時SST89E564RD中已經固化與Keil連接的仿真軟件SoftICE,該Firmware與Keil一起可將C或匯編生成的代碼通過串口直接下載到Block0中,且可在線調試,該軟件占用Block1的前4K和Block0的后1KFlash空間,調試時占用串口和定時器2。
上傳時間: 2014-12-27
上傳用戶:uuuuuuu
導言基于FLASH存儲器的微處理器,一個重要的需求是安裝到產品中后,仍具有升級固件(Firmware)的能力。這種能力稱為“在應用中編程”(In-application-programming,IAP)。這篇應用筆記以STM32F32位cortex-M3為例,闡述了構建IAP系統的一些通用概念。并提出了一種新的技術,有助于單片機開發人員更好的構建IAP系統。STM32系列微處理器基于FLASH存儲器。在FLASH中運行的固件可以擦寫FLASH本身。FLASH的頭4KB具有寫保護,適合存儲IAP固件(IAP BootLoader)。
上傳時間: 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.
標簽: Demonstration 3200 USB for
上傳時間: 2014-02-27
上傳用戶:zhangzhenyu
什么是JTAG 到底什么是JTAG呢? JTAG(Joint Test Action Group)聯合測試行動小組)是一種國際標準測試協議(IEEE 1149.1兼容),主要用于芯片內部測試。現在多數的高級器件都支持JTAG協議,如DSP、FPGA器件等。標準的JTAG接口是4線:TMS、 TCK、TDI、TDO,分別為模式選擇、時鐘、數據輸入和數據輸出線。 JTAG最初是用來對芯片進行測試的,基本原理是在器件內部定義一個TAP(Test Access Port�測試訪問口)通過專用的JTAG測試工具對進行內部節點進行測試。JTAG測試允許多個器件通過JTAG接口串聯在一起,形成一個JTAG鏈,能實現對各個器件分別測試。現在,JTAG接口還常用于實現ISP(In-System rogrammable�在線編程),對FLASH等器件進行編程。 JTAG編程方式是在線編程,傳統生產流程中先對芯片進行預編程現再裝到板上因此而改變,簡化的流程為先固定器件到電路板上,再用JTAG編程,從而大大加快工程進度。JTAG接口可對PSD芯片內部的所有部件進行編程 JTAG的一些說明 通常所說的JTAG大致分兩類,一類用于測試芯片的電氣特性,檢測芯片是否有問題;一類用于Debug;一般支持JTAG的CPU內都包含了這兩個模塊。 一個含有JTAG Debug接口模塊的CPU,只要時鐘正常,就可以通過JTAG接口訪問CPU的內部寄存器和掛在CPU總線上的設備,如FLASH,RAM,SOC(比如4510B,44Box,AT91M系列)內置模塊的寄存器,象UART,Timers,GPIO等等的寄存器。 上面說的只是JTAG接口所具備的能力,要使用這些功能,還需要軟件的配合,具體實現的功能則由具體的軟件決定。 例如下載程序到RAM功能。了解SOC的都知道,要使用外接的RAM,需要參照SOC DataSheet的寄存器說明,設置RAM的基地址,總線寬度,訪問速度等等。有的SOC則還需要Remap,才能正常工作。運行Firmware時,這些設置由Firmware的初始化程序完成。但如果使用JTAG接口,相關的寄存器可能還處在上電值,甚至時錯誤值,RAM不能正常工作,所以下載必然要失敗。要正常使用,先要想辦法設置RAM。在ADW中,可以在Console窗口通過Let 命令設置,在AXD中可以在Console窗口通過Set命令設置。
上傳時間: 2013-10-23
上傳用戶:aeiouetla
MAXQUSBJTAGOW評估板軟件:關鍵特性 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
標簽: MAXQUSBJTAGOW 評估板 軟件
上傳時間: 2013-10-24
上傳用戶:teddysha
MAXQUSBJTAGOW評估板軟件:關鍵特性 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
標簽: MAXQUSBJTAGOW 評估板 軟件
上傳時間: 2013-11-23
上傳用戶:truth12
通過以太網遠程配置Nios II 處理器 應用筆記 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.
上傳時間: 2013-11-22
上傳用戶:chaisz
利用EZ-USB接口芯片AN2131Q實現了基于TMS320C5409的水聲信號采集及混沌特性研究系統中的高速數據通信,提出了一種采用FIFO緩存芯片實現AN2131Q與TMS320C5409的連接方法,深入研究了EZ-USB序列接口芯片的固件、設備驅動和用戶程序開發過程。關鍵詞:AN2131Q; TMS320C5409; IDT72V02;數據通信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
上傳時間: 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.
標簽: seven-segment keyboard Program buttons
上傳時間: 2013-12-07
上傳用戶:小碼農lz
工控中PLC是最主要的設備之一,該源碼實現PLC內部Firmware對梯形圖的解釋,想國產PLC的人可以認真
上傳時間: 2015-03-11
上傳用戶:kiklkook