ST意法半导体
直播中

王斌

7年用户 1350经验值
私信 关注
[问答]

使用Motor Control Workbench编译项目时出现问题

早上好,我无法编译我的项目以使用Motor Control Workbench 4.3 Monitor
我总结了初始过程:Open Workbench,New Project,选择NUCLEO-F303RE和STEVAL-IPM05F 3Sh以及我的定制电机配置文件后选择电源和控制。
现在可以保存我的项目,使用这个文件夹:
C: Program Files(x86) STMicroelectronics  FOC SDK  v4.3.0  STM32 PMSM FOC LIB  Web
设置完所有电机,功率级,驱动管理和控制级参数后,保存项目。
按“生成”并选择默认文件夹。现在它似乎是一个记住编程我的核心的弹出窗口。我将使用AC6,我打开这个文件:
C: Program Files(x86) STMicroelectronics  FOC SDK  v4.3.0  STM32 PMSM FOC LIB  Web  Project  AC6  STM32F30x_UserProject / .project
AC6启动,我会编译,但我可以为我的STM32F303选择4选项但没有。
当我尝试编译时有一个问题:
#error'配置无效:控制阶段parameters.h中的MCU定义与选定的板不兼容。请使用ST电机控制工作台根据您的系统配置固件。 STM32F30x_UserProject第88行,外部位置:C: Data  Software  STM32  Workbench  Web  Project  CrossCheck.h
make:*** [UI Library / src / UserInterfaceClass.o]错误1 STM32F30x_UserProject
我究竟做错了什么?
谢谢
Manuele

以上来自于谷歌翻译


以下为原文




Good morning, I can’t compile my project to use the Motor Control Workbench 4.3 Monitor
I summarize the initial process: Open Workbench, New Project, select Power and control after select NUCLEO-F303RE and STEVAL-IPM05F 3Sh and a my custom motor profile.
Now can Save my project, use this folder:
C:Program Files (x86)STMicroelectronicsFOC SDKv4.3.0STM32 PMSM FOC LIBWeb
After set all motor, power stage, Drive management and Control Stage parameters, save the project.
Press “generation” and select the default folder. Now it’s appear a pop-up to remember to program my nucleo. I will use AC6, I open this file:
C:Program Files (x86)STMicroelectronicsFOC SDKv4.3.0STM32 PMSM FOC LIBWebProjectAC6STM32F30x_UserProject/.project
AC6 start, I will compile but I can select  4 option but none for my STM32F303.
When I try to compile there are a 2 problem:
#error 'Invalid configuration: MCU definition in Control stage parameters.h not compatible with selected board. Please use the ST Motor Control Workbench to configure the firmware according your system.'  STM32F30x_UserProject                             line 88, external location: C:DataSoftwareSTM32WorkbenchWebProjectCrossCheck.h
make: *** [UI Library/src/UserInterfaceClass.o] Error 1              STM32F30x_UserProject
what am I doing wrong?
Thanks
Manuele

回帖(1)

王思敏

2018-12-4 16:31:14
我只有IAR作为IDE才有同样的问题。在下拉菜单中无法选择F303RE进行编译和下载/调试。
只有:
STM32F30x_UserProject - STM32303C-EVAL_SINGLEDRIVE
STM32F30x_UserProject - STM32303C-EVAL_DUALDRIVE
STM32F302_SINGLEDRRIVE
P-NUCLEO.IHM001_SINGLEDRIVE

以上来自于谷歌翻译


以下为原文




I am having the same problem only with IAR as IDE. There is no option to select F303RE in the drop-down menu for compilation and download/debug.
There is only:
STM32F30x_UserProject - STM32303C-EVAL_SINGLEDRIVE

STM32F30x_UserProject - STM32303C-EVAL_DUALDRIVE

STM32F302_SINGLEDRRIVE

P-NUCLEO.IHM001_SINGLEDRIVE
举报

更多回帖

发帖
×
20
完善资料,
赚取积分