由于突如其来的疫情,被迫在宅工作。
匆忙中从公司拿了IAR的功能安全版本的加密狗回家,但是有的同事拿的是普通版本的IAR,为了确保大家环境都OK,所以只能无奈破解下以便确认工程正常。简单来说,和之前破解IAR CCRH的逻辑类似。
只记录破解方法,不提供破解结果。
使用雷锋破解器激活
这一步直接跳过吧,遍地都能搜索到。

然后新建工程,编译得到错误:The generation feature is not of version 18.
test - Debug
Reading project nodes...
main.c
Fatal Error[LMS001]: License check failed. Use the IAR License Manager to resolve the problem.
The generation feature is not of version 18.
Total number of errors: 1
Total number of warnings: 0
Build failed
使用IDA打开iccarm.exe
- strings窗口搜索
The generation feature is not of version 18

- 双击进入反汇编

- 按
X
跳转至调用处


修改jge
为jl

- 保存exe,重新编译,写个小错误也被成功识别

License窗口和调试
之前在RH850编译器破解时候有修改LicenseInfo.exe
和rh850sim.dll
。
估计IAR ARM也是一样逻辑,不过这两个模块我暂时用不到,能试着编译成功就行了。