cancel
Showing results for 
Search instead for 
Did you mean: 

From STM32F103 to STM32F107

morpeh89
Associate II
Posted on December 17, 2012 at 10:51

Hello!

We have a problem with the usage of STM32F107 microcontroller. We used STM32F103 before. Programming was made by IAR Embedded Workbench.

Now we have a working project for STM32F103, but it can not be loaded to STM32F107.

The question is: what changes should be done (maybe in project settings, or in program code, or in some configuration file), to make the same project work with STM32F107?

I'd like to say, that I'm just a beginner at microcontrollers, so I don't know many probably obvious features. So any help will be very desirable.

Thank You in advance!

#stm32f103 #stm32f107
2 REPLIES 2
Posted on December 17, 2012 at 13:57

Make sure to be using startup_stm32f10x_cl.s, or a device specific equivalent.

Make sure STM32F10X_CL is defined either in the files, or preprocessor defines with the project.

Make sure PLL and HSE values are set up appropriately.

Make sure you've selected the right target and flash algorithm for the new part.

Can you be more specific about the failure mode, and errors from the tools chain, etc.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
morpeh89
Associate II
Posted on December 19, 2012 at 13:16

Thank You for an answer! I succeeded to load program to STM32F107. I started my small project from trivial example (from IAR) - that helped to rid of warnings during downloading.