cancel
Showing results for 
Search instead for 
Did you mean: 

To migrate application base on library 2.0 from STM32F103 to STM32F051,

1835116269
Associate II
Posted on June 21, 2014 at 05:40

Hello all,

          I,recently?want to migrate  application base on library 2.0 of FOC from STM32F103 to STM32F051,and finally found the fowlling error:

1:..\Output\svpwm.axf: Error: L6366E: mc_foc_methods.o attributes are not compatible with the provided cpu and fpu attributes .

2:..\Output\svpwm.axf: Error: L6366E: mc_state_observer.o attributes are not compatible with the provided cpu and fpu attributes .

      Want to the help of the predecessors.

#foc-2.0
4 REPLIES 4
Gigi
Senior
Posted on July 01, 2014 at 08:47

Ciao yongfei.liu

My suggestion is to move to the new version of the MC library that supports STM32F051

Ciao

Gigi

1835116269
Associate II
Posted on July 06, 2014 at 15:16

Ciao Gigi

My professor want to study the logical relationship of code for FOC algorithm,and migrate the application to stm32f051xx in the end,so i do that.However I found some functions included in MC_FOC_Methods_lib.lib and MC_State_Observer_lib.lib,containing some assembly instructions based on Cortex-M3,so as to generate    the above errors.The Motor Control Firmware and Software for 3.4 with support  of  the  STM32F0x  family   don't open source code to us .Now I want to know whether your company can open the source codes to our university or not?  E-mail: lyfczjl@sina.com  or 1835116269@qq.com   Best wishes for you�?�?�?�?�?�?
Gigi
Senior
Posted on July 14, 2014 at 11:43

Ciao yongfei.liu

I'm sorry, at the moment some parts of the code can't be released with open sources without a signed NDA with the customer and without a real businnes beyond.

Ciao

Gigi 

Laurent Ca...
Lead II

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards