2016-11-29 10:09 AM
Hello.
I am trying to use .I was able to use successfully, but now I wanted to test a more powerful motor.I have already corrected all project includes and selected the correct target (stm32f031x6).The compiler compiles everything without errors, but the generated binary is too big for to be able to program the STSPIN32F0.Someone can help me?https://s3.postimg.org/s71nme2oj/Capturar.png
Project download:https://meocloud.pt/link/12b5a145-26c4-4c9b-bac3-24fef6e41006/STM32F0xx_UserProject/
Thank you. #foc-sdk-4.3 #foc-sdk-4.3 #stspin #stspin32f0 #stspin32f02016-11-29 10:47 AM
Is this correct?
2016-11-30 02:34 AM
I've made some more changes, but I'm not able to lower the size of the binary file.
Please check this situation.PS: I'm using AC6 projects2016-11-30 04:05 AM
This is the aspect of my workspace.
The original file that was in the ''startup'' folder was not the correct one for this EVB. I already changed to the correct one.The compiler continues to generate large files.2016-11-30 08:27 AM
This looks like a ghost house.
Can someone from ST please help me use their own EVB?Can someone help me before December 2nd?The forum has not yet closed ... but the help is no longer present.2016-12-05 04:50 PM
I just received the same evaluation board and also find nothing works for programming this. I have installed Keil uVision 5 and the micro must not be supported yet (I hope soon) as it takes to the package installer whenever I try to connect to the eval board. I hope you are having more luck than I am...so far this is only useful for holding some papers down.
2016-12-06 01:59 AM
To reduce the size of the generated binary under AC6, you can request the linker to use the nano libc library instead of the standard one.
For this, you have to add the option:
--specs=nano.specs in the linker flags.
Else, there is the STSW-SPIN3201, a firmware example of the FOC 4.3 library which is dedicated for the STSPIN32F0. It has this option by default. It is provided here:
2021-06-15 04:33 AM
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