热搜关键词: 数字信号处理RTOSC语言Linux射频电路

pdf

Loading Code into the 71M651x without Using an In-Circuit Em

  • 1星
  • 2013-09-22
  • 62.31KB
  • 需要2积分
  • 1次下载
标签: circuit

circuit

71M651x

circuit

Loading  Code  into  the  71M651x  without  Using  an  In-Circuit  Emulator    The  Teridian  71M6511  and  71M6513  power  meter  ICcan  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.

展开预览

猜您喜欢

评论

登录/注册

积分规则

意见反馈

求资源

回顶部

推荐内容

热门活动

热门器件

随便看看

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版 版权声明

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved
×