随着技术的发展,单片机开发手段也越来越先进,而价格却不断下降。当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