Hello, I've lost the weekend over this issue so I'm posting this in hope it helps someone in the future. I'm porting an application from F4 to F7 and had issues with the bootloading. Bootloader and application worked fine on F4 with either the old ST Peripheral Library or ChibiOS. Yet hanged when the bootloader jumped to the application on F7. Running the application as standalone was no problem. It appears that before making the jump, the caches have to be disabled because the application will later try to enable them in __core_init() and will hang if they were already active :
Code: Select all
/* Usual cleanup before jump to application here */
SCB_DisableDCache();
SCB_DisableICache();
/* Usual jump to application here */