separate configuration settings for C and C++ modules.
the generated lint command files are stored in the output folder configured for object files.
Extended: the ARM-Compiler version selection in Options for Target dialog adds the option to select the latest installed version of ARM Compiler 5 and ARM Compiler 6.
Improved: the MDK-ARM installer creates a backup of the TOOLS.ini file in case an existing installation folder is used.
在用仿真器的时候,发现如下问题,JLink v8 仿真器用不了,V9可以用,
但是在用V9的时候,JTAG这些引脚初始化(复用功能)要设置好(TCK TDI TDO TMS TRST),不要被占用了
正常电平如下:
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
否则会出现类似下面的提示:
* JLink Info: Could not measure total IR len. TDO is constant high.
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
**JLink Warning: CPU could not be halted
***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
***JLink Error: Can not read register 0 (R0) while CPU is running
***JLink Error: Can not read register 1 (R1) while CPU is running
用SW的方式也是一样的,就是不要占用SW的引脚,否则也会出错。
在用仿真器的时候,发现如下问题,JLink v8 仿真器用不了,V9可以用,
但是在用V9的时候,JTAG这些引脚初始化(复用功能)要设置好(TCK TDI TDO TMS TRST),不要被占用了
正常电平如下:
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
否则会出现类似下面的提示:
* JLink Info: Could not measure total IR len. TDO is constant high.
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
**JLink Warning: CPU could not be halted
***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
***JLink Error: Can not read register 0 (R0) while CPU is running
***JLink Error: Can not read register 1 (R1) while CPU is running
用SW的方式也是一样的,就是不要占用SW的引脚,否则也会出错。
以管理员身份运行Keil uVision5软件,再添加License。记得不要直接双击运行,要右键菜单选择“以管理员身份运行”。
用管理员权限运行安装试试看
不过最近IAR也出了8.x版本,编译也很慢。