2015-09-22 07:27 AM
Hi,
I am writing a small piece of demo code that is located at 0x08040000 that we call when our boot loader has completed execution. I have looked at the NVIC and everything looks clean when we exit the boot loader and jump to the demo app. I have followed the startup code in my small demo app and I notice that when the command to reset the CFGR register (RCC->CFGR = 0x00000000) is executed in the demo app the Interrupt Set-Pending Register and the Interrupt Clear-Pending Register becomes 0x00800000. Can someone help me understand what has happened? I don't know if that is my problem, but when I finish my demo app I try to jump back to the boot loader and it looks like the code is frozen somewhere in my boot loader. I am not sure if I am doing something wrong in the boot loader or in the demo app. This all started when I tried to port our legacy boot loader and demo test code to the new HAL libraries from ST, v1.7.0. Any comments would be greatly appreciated.Thanks,Bob2015-09-22 10:20 AM
Oops! Forgot to mention I am using an STM32F429.
Bob