Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download two short videos (registration required) highlighting:

System Workbench for STM32


You are viewing a reply to FPU going too slow  

FPU going too slow

France

Just one precision to my previous message: To be sure flash memory prefetch and caching is enabled, check the FLASH_ACR register; there are 3 bits significant in this case:

  • ICEN - Instruction Cache Enable, that enables an (64 lines of 16 bytes) instruction cache in front of the flash
  • DCEN - Data cache Enable, that enables caching up to 8 lines of 64 bytes for data access to the flash (for accessing data pools for example)
  • PRFTEN - Prefetch Enable, that enables prefetching instructions

These bit are not set on reset, but may be set by firmware initialization; if they are not you should set them in your own code to benefit from these... But don’t forget to reset the caches before enabling them (by setting DCRST and ICRST in the same register); be careful *not* to change the flash latency that will have been set by the firmware when raising the CPU frequency.

Hope this helps,

Bernard (Ac6)

 

Newest Forum Posts

  1. Firmware Installation Process Issue by goymame, 04:56
  2. Project is locked out when deleted from Project Explorer by roland.berg@rolab.se, 2019-12-15 18:56
  3. Firmware Installation Process Issue by valkundesuyash@gmail.com, 2019-12-12 16:14
  4. STM32F746-Discovery by stanandrzej, 2019-12-12 13:55
  5. Can't debug by deksnys4life, 2019-12-12 08:16
  6. Can't download StdPeriph library during project creation by klopi90, 2019-12-09 08:46
  7. Building project - subdir.mk error by nupurkohadkar1997, 2019-12-06 18:10
  8. openOCD Wrong device detected by maxim221, 2019-12-06 12:32
  9. STM32429I_Discovery board with printf float support problem by johannes.visser@msc-technologies.eu, 2019-12-05 16:08
  10. malloc heap issue with CubeMX Project by johannes.visser@msc-technologies.eu, 2019-12-05 16:04

Last-Modified Blogs