cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F767ZI In Application Programming bootloader fault

Duy Tran
Associate II

Hello,

I am working on a IAP project with STM32F767ZI-NUCLEO board, I followed the AN4657 document and I also follow the STM32Cube-IAP-using-UART example from ST. The MCU did jump to the new application but sometimes the system init or may be the HAL didn't init (I used the debugger to debug). I tried the deinit the HAL before jumping to the new application but it also not working. Can I have some of your advices? Thank you!

Best regards,

Duy

1 REPLY 1

>>Can I have some of your advices?

Debug harder..

Instrument the code until you understand what is happening.

Watch for interrupts, especially things like SysTick

Look at what you're initializing and why. If your loader has already brought up the clocks and PLL and is running at 216 MHz, do you need to do that *again* or not?

Make sure the vector table is correctly situated and the vectors point at the routines at the expected addresses, and the SCB->VTOR points at the new table.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..