cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Cube MX bootloaded application

bruce239955
Associate II
Posted on September 27, 2016 at 09:56

Does anyone know if it is possible to get STM32 CubeMX to generate a project that is ''predefined'' to be loaded using a bootloader?

Essentially, this would involve being able to specify the program load address and vector table offset. The obvious place for this would be in the linker settings portion of the Project Settings dialog, along with the specification of the heap and stack size.

Failing that, does anyone know if there is already a way to achieve the same result using Cube? 

Thanks,
1 REPLY 1
Walid FTITI_O
Senior II
Posted on September 27, 2016 at 12:16

Hi boyd.bruce,

The CubeMX is a software tool that aims only to generate an initialization code for your application to start with and does not generate a complete ready to use applications.

To develop an in-application programmming application, I recommend the application note

http://www.st.com/content/ccc/resource/technical/document/application_note/27/38/37/58/c2/8c/40/07/DM00161366.pdf/files/DM00161366.pdf/jcr:content/translations/en.DM00161366.pdf

'' STM32 in-application programming (IAP) using the USART'' provided with a firmware that helps you

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-software/x-cube-iap-usart.html

.

-Hannibal-