-
本文给出
IAR
因版本不兼容打不开
IAR
工作区遇到的各种问题及解决方法,
包括依
据提示修改版本,
删除未知名
称
(ew
p
文件
)
。若还没解决,则创建新工作
区、工程,并拷贝相关文件,我想这是一种通用化的解决方法
(
很诡
异
)
。
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': 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
p>
打开旧
版本
IAR
工程文件,可以直接打开
(
给出提示信息
)
,在这里还涉及到工程项目配置。解决方法是修改相关的
I
AR
工程文件,描述
IAR
工程主要有
.dep
、
.eww(Embedde
d Workbench
Workspace)
、
.ewd(Embedded
Workbench
Debug)
、
.ewp(Embedded Workbench
Project)
文件。
dep
--(
我也不知道
)
eww
--
工作区文件,描述工作区包含哪些
project
ewd
--C-SPY
调试器项目设置文件
ewp --IA
项目的配置信息
二、
Broken
options
Broken
options<
/p>
是由于项目文件配置不对引起的,按提示信息修改。版本不对的,修改版本;
unknown
name
的,则删去这些配置选项。
2.1 General
2.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
的版本,
并
将工程文件的版本改成可支持的版本
,
如
p>
下图所示:
2.1.2 unknown name: PDATA 8-15 register
address
-
-
-
-
-
-
-
-
-
上一篇:ALLEGRO的基本指令及后处理
下一篇:AltiumDesigner中各层的含义