下载中心
Loading Code into the 71M651x without Using an In-Circuit Empdf
1星 发布者: crazyjackson

2013-09-22 | 1积分 | 62.31KB |  1 次下载

下载 收藏 评论

文档简介
标签: circuit

circuit

71M651x

circuit

Loading Code into the 71M651x without Using an In-Circuit Emulator The Teridian 71M6511 and 71M6513 power meter ICs can be programmed without having to use an in-circuit emulator (ICE). The tools and procedures required to do this are described in this application note. Introduction The program code for the MPU of the 71M6511 and 71M6513 is stored in flash memory, while the program code for the CE is stored in XRAM. A device with totally erased flash memory requires either an in-circuit emulator (ICE) or specialized programmer (download board) to be programmed. However, once the device has been programmed with demo code, data can be downloaded into various memory spaces of the device using the serial interface. Downloading in the context of this application note means storing code from an external device (host PC) in the 71M6511 or 71M6513. UploadingCode Download means copying code from the 71M6511 or 71M6513 to a file on the host PC. Code download requires the so called Download Board which can be obtained from TERIDIAN. This board is con-siderably more affordable than an in-circuit emulator and is useful for cases where a chip has lost its code due to inadvertent code erasure or where existing code in a chip must be upgraded or replaced. The download utility (DOS or Windows program) that is shipped with the Download Board must be installed in the host PC. Procedure The Download Board is connected to J14 on the Demo board. The DB-9 cable of the Download Board is plugged into a COM port of a PC. The target code for the 71M6511 or 71M6513, i.e. the file in Intel Hex Record format (*.hex file name extension) is loaded using the file menu of the download utility. A typical program transfer to the Demo Board takes only a few seconds. After the program is transferred, the connection to J14 is removed, and the Demo Board is reset by pressing SW2. Data Download The target 71M6511 or 71M6513 must have Demo Code or an equivalent program running, and access must be possible to the serial interface. This is accomplished most easily by using the Demo Board with its companion Debug Board. A serial cable is plugged into the 9-pin D-sub connector of the Debug Board on one side and into a COM port of a PC on the other side. Some sort of terminal program, such as HyperTerminal must be used on the PC in conjunction with a simple ASCII (text) editor, such as Wordpad. Code to be downloaded into the 71M6511 or 71M6513 must be in Intel Hex Record format. Typically, the file extension for this file format is *.hex.

评论
相关视频
  • littlefulse 多元新技术赋能安全可靠和高效

  • cadence allegro 快速入门实战100讲

  • PSpice简单入门教程

  • 集成电路版图设计技术

  • Digital VLSI Design (RTL to GDS)

  • Altium Designer常见问题解答500例视频合集

推荐帖子
精选电路图
  • PIC单片机控制的遥控防盗报警器电路

  • 使用ESP8266从NTP服务器获取时间并在OLED显示器上显示

  • 带有短路保护系统的5V直流稳压电源电路图

  • 如何构建一个触摸传感器电路

  • 如何调制IC555振荡器

  • 基于ICL296的大电流开关稳压器电源电路

×