Proteus ,IAR for 8051 仿真 AT89 單片機(jī)報(bào)錯(cuò)
IAR for 8051 version 10.30 及更新版本沒(méi)有 Atmel 文件夾,Atmel 早就被 Microchip 收購(gòu),合并到 Microchip 文件夾。更舊版本沒(méi)試過(guò),不知道。在 IAR 編譯是沒(méi)問(wèn)題的,在 Proteus 仿真總是報(bào)錯(cuò),找不到文件,更改 IAR 設(shè)置選項(xiàng)也沒(méi)有用。搜索了一圈沒(méi)找到解決辦法。困擾了一段時(shí)間,重裝過(guò)幾個(gè) IAR 版本。今天突然想到可能是 Proteus 的哪些配置文件沒(méi)有及時(shí)更新,就找找看,發(fā)現(xiàn)問(wèn)題所在。
仿真報(bào)錯(cuò):

打開(kāi) C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\VSM Studio\compilers 的兩個(gè) .xml 文件。

搜索
全部替換為

重新啟動(dòng) Proteus 就可以正常編譯仿真。
附上 IAR 官方下載鏈接
IAR Embedded Workbench for 8051
最新版 10.40.1 需要打補(bǔ)丁,10.30.1 及更低版本可以用注冊(cè)機(jī)生成響應(yīng)文件離線激活。
https://netstorage.iar.com/FileStore/STANDARD/001/000/583/EW8051-10401-Autorun.exe
https://netstorage.iar.com/SuppDB/Protected/PRODUPD/013455/EW8051-10301-Autorun.exe
https://netstorage.iar.com/SuppDB/Protected/PRODUPD/013066/EW8051-10201-Autorun.exe
IAR Embedded Workbench for ARM
9.30 及更新版本需要打補(bǔ)丁。
https://netstorage.iar.com/FileStore/STANDARD/001/002/166/EWARM-9321-55115.exe
https://netstorage.iar.com/FileStore/STANDARD/001/001/320/EWARM-9204-47112.exe
IAR Embedded Workbench for MSP430
http://netstorage.iar.com/FileStore/STANDARD/001/000/585/EW430-7211-Autorun.exe