About the occasional chip reboot and the top address of the stack being modified
The chip used here is STM32F205RGT6 and has the function of using IAP. BootLoader program is placed on 0x08000000,APP is placed on 0x08010000.
With a large number of devices using the same version of BootLoader and APP, occasionally a few devices will have two strange problems:
1.Some devices are constantly rebooting because the devices are running in different cities and can't find the same patterns. When testing, I found that I occasionally entered BusFault_Handler, UsageFault_Handler, and HardFault_Handler. We can't find the root cause
2.The same program, some devices run normally for a long time, and suddenly the top address of the stack on 0x08000000 after a power on is modified, resulting in failure to start normally. The address at the top of the stack should be 0x20004650 in normal circumstances, but 0x00000440 in the case of an exception.(This is shown in Figs. 1 and 2)



