Skip to main content
Duy Tran
Associate III
September 28, 2018
Question

STM32F767ZI In Application Programming bootloader fault

  • September 28, 2018
  • 1 reply
  • 519 views

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

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
September 28, 2018

>>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 (See Profile) Up vote any posts that you find helpful, it shows what's working..