IAR因版本不容打不开工程文件解决.doc

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
本文给出IAR因版本不兼容打不开IAR工作区遇到的各种问题及解决方法,包括依据提示修改版本,删除未知名称(ewp文件)。若还没解决,则创建新工作区、工程,并拷贝相关文件,我想这是一种通用化的解决方法(很诡异)。 PS:本文以IAR工程项目ContikiCC2530Port为例,IAR for MCS-51版本是7.51A。本文记录了整个调试过程,实际场景,不妨先跳到第三部分,看行不行,不行的话,再按第二部分修改。 一、IAR错误提示 ? ??昨天,在GitHub下载了一个IAR工程项目ContikiCC2530Port,打开*.eww文件出现一系列错误,如下: 1.1 Broken options were detected in the project file.A backup copy will be made. 图1 IAR警告Broken options 1.2 The project file * was created by a newer version of project and cannot be opened 图2 IAR警告created by a newer version 1.3 The project * could not be open 图3 IAR警告could not be open Build区域显示如下信息: LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool General:燭he format of this file is not supported by this version of the workbench.?It appears to hallve been written by a newer version of the workbench. Diagnostics: Settings General: unsupported version - .?Options for General will be set to default. Creating backup of original project file.?LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool ICC8051: (Registry: unknown name: CompilerMisraRules04)?Options for ICC8051 will be set to default.?LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool XLINK: The format of this file is not supported by this version of the workbench. It appears to have been written by a newer version of the workbench.?燚iagnostics: Settings XLINK: unsupported version - .?Options for XLINK will be set to default. 如下图所示: 图4 IAR log windows信息 ? ??初步断定,这些警告是因为IAR版本不兼容引起的,但事实上没那么简单,之前也遇见用新版本IAR打开旧版本IAR工程文件,可以直接打开(给出提示信息),在这里还涉及到工程项目配置。解决方法是修改相关的IAR工程文件,描述IAR工程主要有.dep、.eww(Embedded Workbench Workspace)、.ewd(Embedded Workbench Debug)、.ewp(Embedded Workbench Project)文件。 dep --(我也不知道) eww --工作区文件,描述工作区包含哪些project? ewd --C-SPY调试器项目设置文件? ewp --IA项目的配置信息 二、Broken options ? ??Broken options是由于项目文件配置不对引起的,按提示信息修改。版本不对的,修改版本;unknown name的,则删去这些配置选项。

文档评论(0)

huang37168huan + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档