Long boot delay
Posted: Fri Apr 28, 2017 12:53 pm
Hi
in my application i've got a bootloader and application code, this is on F4 device.
Bootloader lives in the first 48K, the application above that.
Everything works ok, at reset the bootloader jumps to the application and the application runs fine.
Both bootloader and application code are using chibios.
One issue i do have through is when the bootloader jumps to the application there is a long delay in the application starting, long as in 5-6 seconds.
I believe this is happening in the application startup code i.e. stm32_clock_init() or maybe hal/sysinit().
Trying to debug it is difficult as once the jump is done you dont have any debug info for the application and thus cant step through.
Just wondering what thoughts are on this problem ?
in my application i've got a bootloader and application code, this is on F4 device.
Bootloader lives in the first 48K, the application above that.
Everything works ok, at reset the bootloader jumps to the application and the application runs fine.
Both bootloader and application code are using chibios.
One issue i do have through is when the bootloader jumps to the application there is a long delay in the application starting, long as in 5-6 seconds.
I believe this is happening in the application startup code i.e. stm32_clock_init() or maybe hal/sysinit().
Trying to debug it is difficult as once the jump is done you dont have any debug info for the application and thus cant step through.
Just wondering what thoughts are on this problem ?