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.

Question relating to:

The Arch Max is an mbed enabled development board for rapid prototyping. It's based on a STM32F407VET6 microcontrolle with an ARM Cortex-M4F core running at 168MHz. It includes an open …
Be the first to answer this question.