AnsweredAssumed Answered

STM32Cube IAP (USART) for the STM32F070CB Microcontroller.

Question asked by drd.Francois on Feb 17, 2017
Latest reply on Feb 21, 2017 by T J

Hi, I need to use STM32Cube IAP (USART) for the STM32F070CB processor.  The closest code (STM32F0 microcontroller) I found is from GitHub: https://github.com/borgel/STM32Cube-F0-Releases/tree/master/

IAP is implemented only for STM32091C_EVAL board which uses a STM32F091VCT6 microcontroller. (I also looked at https://sourceforge.net/projects/bootstm32/ but the closest processor is a STM32F1) .I tried to adapt the project for my processor. The original code compiles correctly. I got a lot of compiling errors after my modifications. I can try to resolve these errors but before doing it, I'd like to know if there's a better way to reach my goal. Here are the steps I've done up to now:

 

1. Change startup_stm32f091xc.s to startup_stm32070xb.s from STM32Cube-F0-Releases-master\Projects\STM32F070RB-Nucleo\Applications\FreeRTOS\FreeRTOS_ThreadCreation\MDK-ARM.

 

2. Modify Project.uvoptx: Compare with STM32F070RB-Nucleo FreeRTOS project. There are some fields differences not obvious!! I'll have to compare from MDK device database probably...

 

3. Modify Project.uvprojx: Compare with STM32F070RB-Nucleo FreeRTOS project. There are some fields differences not obvious as well !!

 

Anyone has a better idea? Thanks.

 

Outcomes