一、网上有各个IAR版本的下载地址:
IAR官网的下载地址:
https://www.iar.com/products/architectures/arm/iar-embedded-workbench-for-arm/
有人总结的下载地址:
https://www.armbbs.cn/forum.php?mod=viewthread&tid=99548
二、安装好后,将下述的exe拷贝到对应的目录后,一定要双击执行,否则不生效:
(1)若安装的是比较新的IAR版本,则将licpatcher64.exe分别拷贝到如下三个目录,并在这三个目录下分别双击执行licpatcher64.exe:
C:\Program Files\IAR Systems\Embedded Workbench x.x\arm\bin\
C:\Program Files\IAR Systems\Embedded Workbench x.x\arm\bin\jet\bin\
C:\Program Files\IAR Systems\Embedded Workbench x.x\common\bin\
(2)若安装的是比较旧的IAR版本,则将iarpatcher32.exe分别拷贝到如下三个目录,并在这三个目录下分别双击执行iarpatcher32.exe:
C:\Program Files (x86)\IAR Systems\Embedded Workbench x.x\arm\bin
C:\Program Files (x86)\IAR Systems\Embedded Workbench x.x\arm\bin\jet\bin\
C:\Program Files (x86)\IAR Systems\Embedded Workbench x.x\common\bin\
三、按照上述操作后,即使使用IARkg_Unis.exe注册License失效(比如提醒The generation feature is not of version 18),也不会影响到代码的正常编译(Make)和将代码烧录进芯片板子(Download and Debug);同时既可以解决同一个IAR版本申请14 Days Evaluation License过期后又使用新的14 Days Evaluation License时报错的问题"......Status code 0x25......",也可以解决IAR编译代码时遇到的License检查失败的问题"License check failed. Use the IAR License Manager to solve the problem. Failed to obtain feature:“ARM.EW.COMPLER_STD” verion: “1.18”."