6 years, 1 month ago.

IAP not working for nucleo F072RB

Hello,

I am new to mbed world. I have bootloader and application use case and tried to follow how people have suggested it. However it is not working for me. Once bootloader jumps to application, nothing happens, device is stuck. I have compared application vector table and sram vector table after jump with stlink utility, they are not same.

I have attached both programs along with linker scripts renamed for reference. Programs just do hellow world.

These are my references: https://jcastellssala.com/2016/12/15/cortex-m0-boot/ http://marcelojo.org/marcelojoeng/2015/09/bootloader-on-stm32f0.html

I did this successfully for nucleo f401re. However it was easy there with mbed_application_start and setting VTOR offset.

/media/uploads/shleni/main_bootloader.cpp /media/uploads/shleni/stm32f072xb_bootloader_linker_script.cpp /media/uploads/shleni/main_application.cpp /media/uploads/shleni/stm32f072xb_application_linker_script.cpp

Be the first to answer this question.