IAR因版本不兼容打不开工程文件解决.doc_第1页
IAR因版本不兼容打不开工程文件解决.doc_第2页
IAR因版本不兼容打不开工程文件解决.doc_第3页
IAR因版本不兼容打不开工程文件解决.doc_第4页
IAR因版本不兼容打不开工程文件解决.doc_第5页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

本文给出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 options1.2 The project file * was created by a newer version of project and cannot be opened图2 IAR警告created by a newer version1.3 The project * could not be open图3 IAR警告could not be openBuild区域显示如下信息:LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool General: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. 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.Diagnostics: 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 -工作区文件,描述工作区包含哪些projectewd -C-SPY调试器项目设置文件ewp -IA项目的配置信息二、Broken options Broken options是由于项目文件配置不对引起的,按提示信息修改。版本不对的,修改版本;unknown name的,则删去这些配置选项。2.1 General2.1.1 Settings General: unsupported version(1)错误提示LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool General: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.Diagnostics:Settings General: unsupported version - . Options for General will be set to default. Creating backup of original project file.(2)解决 找一个IAR现版本可以找开的工程文件,查看General的版本,并将工程文件的版本改成可支持的版本,如下图所示:2.1.2 unknown name: PDATA 8-15 register address(1)错误提示LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool General: (Registry: unknown name: PDATA 8-15 register address)Options for General will be set to default. Creating backup of original project file.(2)解决在.ewp文件找到PDATA 8-15 register address,删去.,如下:PDATA 8-15 register address0xA02.1.3 unknown name: PDATA 16-31 register address(1)错误提示LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool General: (Registry: unknown name: PDATA 16-31 register address)Options for General will be set to default. Creating backup of original project file.(2)解决 同2.1.2,在.ewp文件找到PDATA 16-31 register address,删去.2.1.4 unknown name: General Far22 Heap Size(1)错误提示LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool General: (Registry: unknown name: General Far22 Heap Size)Options for General will be set to default. Creating backup of original project file.(2)解决 同2.1.2,在.ewp文件找到General Far22 Heap Size,删去.2.1.5 GeneralMisraVer(1)错误提示LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool General: (Registry: unknown name: GeneralMisraVer)Options for General will be set to default. Creating backup of original project file.(2)解决 同2.1.2,在.ewp文件找到GeneralMisraVer,删去.2.1.6 GeneralMisraRules04(1)错误提示LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool General: (Registry:unknown name: GeneralMisraRules04)Options for General will be set to default. Creating backup of original project file.(2)解决 同2.1.2,在.ewp文件找到GeneralMisraRules04,删去.2.2 ICC8051(ARM平台为ICCARM)2.2.1 Settings ICC8051: unsupported vesion(1)错误提示LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool ICC8051: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.Diagnostics:Settings ICC8051: unsupported version -.Options for ICC8051 will be set to default. Creating backup of original project file.(2)解决 同2.1.1,找一个IAR现版本可以找开的工程文件(或者自己创建一个工程文件),查看ICC8051的版本,并将工程文件的版本改成可支持的版本,如下图所示:2.2.2 unknown name: CompilerMisraRules04(1)错误提示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. Creating backup of original project file.(2)解决 同2.1.2,在.ewp文件找到CompilerMisraRules04,删去.2.2.3 unknown name: CompilerMisraRules04(1)错误提示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. Creating backup of original project file.(2)解决 同2.1.2,在.ewp文件找到CompilerMisraRules04,删去.2.3 XLINK2.3.1 Settings XLINK: unsupported vers(1)错误提示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.Diagnostics:Settings XLINK: unsupported version - .Options for XLINK will be set to default. Creating backup of original project file.(2)解决 同2.1.1,找一个IAR现版本可以找开的工程文件(或者自己创建一个工程文件),查看XLINK的版本,并将工程文件的版本改成可支持的版本,如下图所示:2.3.2 unknown name: Linker Far22 Heap Size(1)错误提示LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains broken options for tool XLINK: (Registry: unknown name: Linker Far22 Heap Size)Options for XLINK will be set to default. Creating backup of original project file.(2)解决 同2.1.2,在.ewp文件找到Linker Far22 Heap Size,删去.2.3.3 unknown name: Linker Far22 Heap S(1)错误提示LOAD: Configuration ContikiBankedRelease in the project ContikiCC253xProj contains b

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论