cancel
Showing results for 
Search instead for 
Did you mean: 

MDK6.2.1 Error in. a file not found after generating MDK5.32 environment code

浚钱.1
Associate III

1.After generating the code, this. a file will directly display an exclamation mark;

347b96728ffb68981bb308b46bda66fd.png

2.I deleted this file again and then loaded it in. Compilation still reports errors.

1_0-1706605514277.png

 

3. The error message is as follows: There are no Chinese characters in the path.

 

Centrifuge_MC\Centrifuge_MC.axf: error: L6002U: Could not open file centrifuge_mc\libmp-g4-mdk-arm-armv7-m.o: No such file or directory

 

求解答。

 

5 REPLIES 5
浚钱.1
Associate III

我重新试了一下,MC6.2.0的版本,生成没有问题。

Su
Associate

兄弟,刚刚我也出现这个问题,检查后发现找不到的这个库文件是因为生成的库文件名写错了。把 "MCSDK_v6.2.1-Full\MotorControl" 目录下的 "libmp-G4-MDK-ARM-ARMv7-M", 改为“libmp-G4-MDK-ARM_ARMv7-M”就能编译通过了。

浚钱.1
Associate III

哈哈,感谢感谢,我是把版本回退到6.2.0了,然后解决问题了。

浚钱.1
Associate III

兄弟,有接触SPING4的芯片吗?我这边遇到个问题。一使能定时器就报错误,(上桥臂处于打开状态)VDS保护,不知道啥情况;板子是借鉴官方的方案。

1_0-1709889807254.png

 

我把libmp-G4-MDK-ARM-ARMv7-M.a从工程中删除,也能编译成功,运行起来也正常啊
看起来是冗余的库。