[ZLG-MCU] 使用LM LINK出现无法加载FLASH的错误

[复制链接]
2232|2
 楼主| sufeng983 发表于 2008-7-28 15:51 | 显示全部楼层 |阅读模式
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;第1个对话框显示如下:<br />Fetal&nbsp;error:There&nbsp;were&nbsp;warnings&nbsp;durings&nbsp;download&nbsp;of&nbsp;FLASH&nbsp;loader,&nbsp;see&nbsp;Log&nbsp;Window&nbsp;Session&nbsp;adorted!<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;第2个对话框显示如下:<br />the&nbsp;dbugging&nbsp;session&nbsp;could&nbsp;not&nbsp;be&nbsp;started.<br />Either&nbsp;the&nbsp;debugger&nbsp;initialization&nbsp;failed,orelse&nbsp;the&nbsp;file<br />&quot;E:        qyBuzzerObjectdebugExe&nbsp;LM3S_uCOS2.out&quot;&nbsp;was&nbsp;corrupt&nbsp;or&nbsp;of&nbsp;an&nbsp;unsupported&nbsp;format.<br />there&nbsp;might&nbsp;be&nbsp;more&nbsp;information&nbsp;in&nbsp;the&nbsp;debug&nbsp;log&nbsp;window.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;debug&nbsp;log显示:<br />Mon&nbsp;Jul&nbsp;28&nbsp;15:40:31&nbsp;2008:&nbsp;Loaded&nbsp;macro&nbsp;file:&nbsp;E:IAR&nbsp;SystemsEmbedded&nbsp;Workbench&nbsp;5.0&nbsp;EvaluationARMconfigflashloaderLuminaryFlashLM3Sxxxx64k.mac<br />Mon&nbsp;Jul&nbsp;28&nbsp;15:40:31&nbsp;2008:&nbsp;JTAG&nbsp;Speed&nbsp;is&nbsp;set&nbsp;to:&nbsp;3000&nbsp;kHz<br />Mon&nbsp;Jul&nbsp;28&nbsp;15:40:32&nbsp;2008:&nbsp;JTAG&nbsp;IDCODE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;0x3BA00477<br />Mon&nbsp;Jul&nbsp;28&nbsp;15:40:32&nbsp;2008:&nbsp;AHB-AP&nbsp;ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;0x14770011<br />Mon&nbsp;Jul&nbsp;28&nbsp;15:40:32&nbsp;2008:&nbsp;AHB-AP&nbsp;ROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;0xE00FF003<br />Mon&nbsp;Jul&nbsp;28&nbsp;15:40:32&nbsp;2008:&nbsp;ROM&nbsp;Component&nbsp;ID&nbsp;=&nbsp;0xB105100D<br />Mon&nbsp;Jul&nbsp;28&nbsp;15:40:32&nbsp;2008:&nbsp;Device&nbsp;ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;0x00000000&nbsp;()<br />Mon&nbsp;Jul&nbsp;28&nbsp;15:40:32&nbsp;2008:&nbsp;Software&nbsp;reset&nbsp;was&nbsp;performed<br />请问是什么原因导致
zlgmcu 发表于 2008-7-29 09:19 | 显示全部楼层

建议重新安装试试

看到“E:IAR&nbsp;Systems”,通常我们都会把IAR软件安装在“C:Program&nbsp;Files”下面,按正确的步骤操作,一般不会出错。<br />建议楼主卸载后再重新安装试试。请参考以下**:<br />【Luminary开发工具及开发指南】<br /><a href="http://www.zlgmcu.com/luminary/exploitation_guide.asp" target=_blank>http://www.zlgmcu.com/luminary/exploitation_guide.asp</a><br />重点看这篇**《“IAR+LM&nbsp;LINK+驱动库”安装使用快速入门》<br /><br />另外,编译时,要确保没有任何错误和警告再调试。
 楼主| sufeng983 发表于 2008-7-29 17:26 | 显示全部楼层

谢谢,ZLG工作人员的回复

&nbsp;&nbsp;找到错误原因了,是因为在调试程序中使用了定时时钟中断,却没用加JTAG保护程序导致的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

12

主题

101

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部