2012-12-17 01:51 AM
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 #stm32f1072012-12-17 04:57 AM
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.2012-12-19 04:16 AM
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.