> 技术文档 > KEIL报错:Error: CreateProcess failed, Command: ‘C:\\Keil_v5\\ARM\\ARMCC\\bin\\fromelf.exe --bin --outpu_keil createprocess failed

KEIL报错:Error: CreateProcess failed, Command: ‘C:\\Keil_v5\\ARM\\ARMCC\\bin\\fromelf.exe --bin --outpu_keil createprocess failed

这个错误信息表明 Keil 在尝试调用 fromelf.exe 工具将 .axf 文件转换为 .bin 文件时,系统无法执行该命令(CreateProcess failed)。以下是可能的原因和解决方案:

根据你的实际路径 D:\\01_chengxu\\02_keil\\ARM\\BIN,需修改 Keil 的 ​​工具链路径​​ 和 ​​输出文件配置​​。以下是具体操作步骤:


​1. 修改 Keil 工具链路径​

  1. 打开 Keil,进入 ​​Project → Options for Target → Target​​ 标签页。

  2. 进入 ​​Options for Target → User​​ 标签页。

  3. 找到 ​​After Build/Rebuild​​ 部分的命令,修改为:fromelf --bin -o \"$L@L.bin\" \"#L\"