WinIDEA报错CPU variant not found

背景描述:

不知道什么原因,使用WinIdea打开workspace,打开xjrf文件,报错CPU variant not found。

经过一番努力,最后解决办法如下:

解决办法是Recreate database,本地的WinIDEA版本为9.21.21,可以采用command进行Recreate database,也可以采用Manually recreate the database。具体操作方法见网址: How to clean and recreate a corrupted SFR database? - iSYSTEM Support

网址内容如下

 

How to clean and recreate a corrupted SFR database?

 

Possible errors are:

  • CPU variant not found
  • Invalid SoC
  • Error reading INI file (Errors when trying to perform memory writes contained in an initialization file)
  • SoC not specified.
  • Empty Programmable memory devices list in Hardware menu / Options
  • Empty Boot Core selection in Hardware menu / CPU Options / Reset
  • Empty Special Functions Registers (SFR) window
  • Error in the initialization file or error message: Line 7: [SoCCore.cpp]
  • If your INI or CPP file is reported missing
  • Error 88

Possible solution:

For winIDEA version 9.21.41 and newer SFR database corruption is detected and SFRs are recreated automatically.

When SFR database is recreated, custom SFRs are deleted. 

For other winIDEA versions go here:

winiDEA 9.21.38 - 9.21.40: 

First check if the folder for SFR database location exist on your PC:

1. Open Tools menu / Options / SFRs. 

2. If the SFR database does exist (indicated in the Default field), then press Recreate database

3. Create a new workspace and open the SFR Window via View menu / Special Function Registers. You should see SFRs of your configured device.

It is recommended to prepare PC working environment and set up winIDEA Temporary files.

winIDEA 9.21.30 - 9.21.11:

Command Recreate database is located in Debug menu / Debug Options / SFRs. 

winIDEA 9.21.10 and older:

Manually recreate the database:

1. Press Open in Debug menu / Debug Options / SFRs. This will open the folder which contains the SFR database.

2. Close winIDEA.

3. In the opened folder, go up one level and delete the SFR folder.

4. Open winIDEA. The SFR database will be recreated.

Depending on your PC it might take a couple of minutes.

:以后遇到winidea的其他问题,均可以去网址 Knowledge Base - iSYSTEM Support 中查找解决办法。

右上角的search tips栏可以查找关键词来快速查找解决办法

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值