Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 10 months ago.
Prefetch buffer.
I am trying to enable the prefetch buffer, but this causes the MCU to crash. See below for code snippet.
/* STM32F405x/407x/415x/417x Revision Z devices: prefetch is supported */ if (HAL_GetREVID() == 0x1001) { /* Enable the Flash prefetch */ __HAL_FLASH_PREFETCH_BUFFER_ENABLE(); }
Can some one tell me if this is supported in the mbed lib, or why it does not work.