STM32F7 Bootloader

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: RoccoMarco, barthess

Koen
Posts: 35
Joined: Mon Dec 21, 2015 12:15 am
Been thanked: 5 times

STM32F7 Bootloader

Postby Koen » Mon Jan 25, 2016 9:46 am

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 */

Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 18 guests