完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电机控制器:STM3210B-MCKIT:错误示例设计不链接
以上来自于谷歌翻译 以下为原文 Motor Controllers: STM3210B-MCKIT: Error Example Designs don't link |
|
相关推荐
8个回答
|
|
你好,
我无法在不进行任何修改的情况下构建套件中包含的PMSM和ACIM示例。 这不完全正确。如果我构建它们一次,则不会报告错误。如果我第二次构建它们(只需按下“构建”按钮。没有其他修改)对于PMSM,我收到以下消息 错误[Li005]:没有''STO_Init''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM Debug Obj main.o的副本] 错误[Li005]:没有''STO_InitSpeedBuffer''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT stm32固件库v1.0 STM32_FOC_PMSM EWARM Debug 的复制 OBJ main.o] 错误[Li005]:没有''STO_Get_Speed''的定义[从C: Program Files STMicroelectronics STM32MC-KIT 引用stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM Debug Obj MC_State_Observer_Interface.o] 错误[Li005]:没有''STO_Gains_Init''的定义[引用自C: Program Files STMicroelectronics STM32MC-KIT stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM Debug Obj 的副本 MC_State_Observer_Interface.o] 错误[Li005]:没有''__ program_start''的定义[从C: Program Files STMicroelectronics STM32MC-KIT引用 stm32固件库v1.0 STM32_FOC_PMSM EWARM Debug Obj 的复制 stm32f10x_vector.o] 错误[Li005]:没有''STO_Get_Electrical_Angle''的定义[引用自C: Program Files STMicroelectronics STM32MC-KIT stm32固件库v1.0 STM32_FOC_PMSM EWARM 调试的OBJ stm32f10x_it.o] 错误[Li005]:没有''STO_Get_wIalfa_est''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM Debug 的复制 OBJ stm32f10x_it.o] 错误[Li005]:没有''STO_Get_wIbeta_est''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM Debug 的复制 OBJ stm32f10x_it.o] 错误[Li005]:没有''STO_Get_wBemf_alfa_est''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM 的副本 调试的OBJ stm32f10x_it.o] 错误[Li005]:没有''STO_Get_wBemf_beta_est''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM 的副本 调试的OBJ stm32f10x_it.o] 错误[Li005]:没有''STO_Calc_Rotor_Angle''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM 的副本 调试的OBJ MC_State_Observer_Interface.o] 错误[Li005]:没有''STO_IsSpeed_Reliable''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM 的副本 调试的OBJ MC_State_Observer_Interface.o] 错误[Li005]:没有''STO_Calc_Speed''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT stm32 foc固件库v1.0 STM32_FOC_PMSM EWARM Debug Obj 的副本 stm32f10x_Timebase.o] 错误[Li005]:没有''STO_Gains_Update''的定义[引用自C: Program Files STMicroelectronics STM32MC-KIT stm32固件库v1.0 STM32_FOC_PMSM EWARM Debug OBJ MC_State_Observer_Interface.o] 分析代码,表明除了.h文件之外,没有这些函数的定义。实际上,如果我搜索包含单词STO_Init的文件,则不存在定义这些函数的.c文件。有一个MC_State_observer_lib.r79我无法使用IAR工具链接。我在这里做错了吗? 对于ACIM示例,它第一次构建正常,但在第二次构建时,我得到以下错误。 构建配置:STM32_FOC_ACIM - 发布 更新构建树... 链接 错误[Li005]:没有''__ program_start''的定义[引自C: Program Files STMicroelectronics STM32MC-KIT 复制stm32 foc固件库v1.0 STM32_FOC_ACIM EWARM Release Obj stm32f10x_vector.o] 运行链接器时出错 请帮助。 谢谢, 以上来自于谷歌翻译 以下为原文 Hello, I am unable to build the PMSM and ACIM examples included with the kit without making any modification. That's not completely true. If I build them once, no errors are reported. If I build them a second time, (just by pushing the ''build'' button. No other modification) For the PMSM, I get the following messages Error[Li005]: no definition for ''STO_Init'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARMDebugObjmain.o] Error[Li005]: no definition for ''STO_InitSpeedBuffer'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARMDebug Objmain.o] Error[Li005]: no definition for ''STO_Get_Speed'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARMDebugObj MC_State_Observer_Interface.o] Error[Li005]: no definition for ''STO_Gains_Init'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARMDebugObj MC_State_Observer_Interface.o] Error[Li005]: no definition for ''__program_start'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARMDebugObj stm32f10x_vector.o] Error[Li005]: no definition for ''STO_Get_Electrical_Angle'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARM DebugObjstm32f10x_it.o] Error[Li005]: no definition for ''STO_Get_wIalfa_est'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARMDebug Objstm32f10x_it.o] Error[Li005]: no definition for ''STO_Get_wIbeta_est'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARMDebug Objstm32f10x_it.o] Error[Li005]: no definition for ''STO_Get_wBemf_alfa_est'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARM DebugObjstm32f10x_it.o] Error[Li005]: no definition for ''STO_Get_wBemf_beta_est'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARM DebugObjstm32f10x_it.o] Error[Li005]: no definition for ''STO_Calc_Rotor_Angle'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARM DebugObjMC_State_Observer_Interface.o] Error[Li005]: no definition for ''STO_IsSpeed_Reliable'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARM DebugObjMC_State_Observer_Interface.o] Error[Li005]: no definition for ''STO_Calc_Speed'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARMDebugObj stm32f10x_Timebase.o] Error[Li005]: no definition for ''STO_Gains_Update'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KITCopy of stm32 foc firmware libraries v1.0STM32_FOC_PMSMEWARMDebug ObjMC_State_Observer_Interface.o] Analyzing the code, shows that, aside from .h files, there is no definition of these functions. Indeed, if I search for files containing the words STO_Init, no .c file exist which defines these function. There is a MC_State_observer_lib.r79 which I'm unable to link in using the IAR tool. Is there something I'm doing wrong here? For the ACIM example, again it builds fine the first time, but on the second build I get the following error. Building configuration: STM32_FOC_ACIM - Release Updating build tree... Linking Error[Li005]: no definition for ''__program_start'' [referenced from C:Program FilesSTMicroelectronicsSTM32MC-KIT Copy of stm32 foc firmware libraries v1.0STM32_FOC_ACIMEWARMReleaseObjstm32f10x_vector.o] Error while running Linker Pleae help. Thanks, |
|
|
|
我想我解决了ACIM示例的问题。
事实证明,projects / options / linker下的一个灰色选项是从''__iar_program_start''开始。 所以,如果我将以下行添加到stm32f10x_vector.c #define __program_start __iar_program_start 该项目编制。我明天会看它是否运行/调试。 仍然坚持PMSM的例子。任何帮助,将不胜感激。关于项目如何确定入口符号的任何解释也将令人感到安慰。 谢谢, Ø.. 以上来自于谷歌翻译 以下为原文 I think I solved the problem for the ACIM example. Turns out that one of the grayed out options under projects/options/linker is to start at ''__iar_program_start''. So, if I add the following line to stm32f10x_vector.c #define __program_start __iar_program_start The project compiles. I'll see if it runs/debugs tomorrow. Still stuck with PMSM example though. Any help would be appreciated. Also any explanation as to how the project determines entry symbols would be comforting too. Thanks, O.. |
|
|
|
你好猎户座,
我相信你遇到的问题与你正在使用的EWARM版本有关。您尝试编译的代码与EWARM版本4.42(仍可在www.iar.com下载)兼容,而不是与版本5.11(IAR最新版本)兼容。 我建议您通过打开IDE并单击“帮助菜单”中的“关于”来检查工具版本。 我希望它会对你有所帮助。 问候, 利诺 以上来自于谷歌翻译 以下为原文 Hello Orion, I believe the problems you're facing are related to the EWARM version you're using. The code your trying to compile is compatible with EWARM version 4.42 (still available for download at www.iar.com) and not with version 5.11 (latest from IAR). I'd suggest you to check for the tool version by opening the IDE and clicking on ''About'' in the ''Help menu''. I hope it will help you. Regards, Lino |
|
|
|
你好猎户座,
我相信你遇到的问题与你正在使用的EWARM版本有关。您尝试编译的代码与EWARM版本4.42(仍可在www.iar.com下载)兼容,而不是与版本5.11(IAR最新版本)兼容。 我建议您通过打开IDE并单击“帮助菜单”中的“关于”来检查工具版本。 我希望它会对你有所帮助。 问候, 利诺 以上来自于谷歌翻译 以下为原文 Hello Orion, I believe the problems you're facing are related to the EWARM version you're using. The code your trying to compile is compatible with EWARM version 4.42 (still available for download at www.iar.com) and not with version 5.11 (latest from IAR). I'd suggest you to check for the tool version by opening the IDE and clicking on ''About'' in the ''Help menu''. I hope it will help you. Regards, Lino |
|
|
|
是的,恢复到以前的版本正确编译链接和调试。
谢谢, Ø.. 以上来自于谷歌翻译 以下为原文 Yes, reverting to the previous version compiles links and debugs correctly. Thanks, O.. |
|
|
|
亲爱的大家..
我在网站上找不到(UM0483:STM32F103xx交流感应电机IFOC软件库V2.0)和(UM0492:STM32F103xx永磁同步电机FOC软件库V2.0)。请帮我找到它。或者发送给我。电子邮件:houkun@vista.aero。谢谢~~~ 最好的祝福 HouKun 以上来自于谷歌翻译 以下为原文 Dear all.. I can't find (UM0483: STM32F103xx AC induction motor IFOC software library V2.0) and (UM0492: STM32F103xx permanent-magnet synchronous motor FOC software library V2.0)in web site. Please help me find it. Or send them to me. Email:houkun@vista.aero. THANKS~~~ Best Regards HouKun |
|
|
|
我在PMSM项目中遇到了同样的问题。我使用Keil而不是ARM。我猜我错过了一个lib文件。不幸的是,MC_State_observer_lib.r79与Keil不兼容。
我在哪里可以获得MC_State_observer_lib或Keil兼容版本的源代码? 谢谢, 理查德 以上来自于谷歌翻译 以下为原文 I've hit the same problem with the PMSM project. I'm using Keil rather than ARM. I'm guessing that I'm missing a lib file. Unfortunately, the MC_State_observer_lib.r79 isn't compatible with Keil. Where can I obtain the source code for MC_State_observer_lib or a Keil compatible version? Thanks, Richard |
|
|
|
你好RichardE,
STM32 FOC FW库也支持Keil(通过KEIL RVMDK v.3.22验证)。 为方便起见,我附加了.lib文件。 问候, Billino 以上来自于谷歌翻译 以下为原文 Hello RichardE, the STM32 FOC FW library does support Keil as well (validated with KEIL RVMDK v. 3.22). For your convenience I'm attaching the .lib files. Regards, Billino |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1338浏览 4评论
198浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 01:35 , Processed in 1.183850 second(s), Total 91, Slave 75 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号