This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

hex6x转换out文件时提示出错:cannot open input file '/.out'”: no such file or directory(aborting)

我用hex6x转化out文件时,运行"hex6x.exe hello.cmd"命令时提示fatal error: "hello.cmd", line 14: cannot open input file '/.out'”: no such file or directory(aborting).

其中:hello.out是我编译生成的out文件,hello.cmd是自己写的cmd文件。我已经将out文件,cmd文件以及hex6x放在了一个文件夹中。

hello.cmd文件如下:

hello.out //待转换的out 文件名

-a //二进制转换格式,这里用ASCII-Hex

-memwidth  8 //系统内存储器的每字节的位数,这里和Flash 一致,8 位;

-boot //生成引导程序表

-bootorg 0x02000400 //第二次载入程序的首地址

-bootsection .boot_load 0x02000000 //二次引导程序的首地址

ROMS

{

   FLASH: org = 0x02000000, len = 0x1000000,romwidth = 8, files = {hello.hex}

}

请问问题出在哪?谢谢!!!

x 出现错误。请重试或与管理员联系。