STM32 IAP bootliader does not work with user application >50kb
Hi, I have STM32F407VET6 with a bootloader which reads microSD card, checks for user application update, flashes if it exist and jumps to use application 0x08004000.
All was working fine when my user application was <48kb. I wrote some additional code (which should not impact the start of the application), and now id does not work.
Previously debbugging started at "HAL_Init()" like it should when user application was <48kb
But now, when user application is >50kb it starts debugging at some kind of wrong address:
It does not hit "HAL_Init()" anymore like it should.
Why user application size could impact that? Or it could be some kind of different issue?
How could I fix this?
