#345 Workaround for errata in STM32F4-A devices.


My STM32F407 rev.A randomly crashes with enabled optimizations AND enabled data/instruction caching from flash.
This issue http://forum.chibios.org/phpbb/viewtopic.php?f=3&t=645 looks related too. Without caching code runs slightly slower but this is better than regular crashes. Patch included.


  • barthess

    barthess - 2012-11-12
  • Giovanni Di Sirio

    • summary: Random crashes with enabled optimizations. --> Workaround for errata in STM32F4-A devices.
  • Giovanni Di Sirio

    Will be fixed in 2.4.3stable and 2.5.1unstable, fixed in repository.

    Note that I found a requirement for that loop in the patch, ST libraries don't do that too, so that part has not been added.

  • Giovanni Di Sirio

    • labels: --> STM32 drivers
    • priority: 5 --> 4
    • assigned_to: nobody --> gdisirio
    • milestone: 953057 --> 2.4.0
    • status: open --> open-fixed
  • Giovanni Di Sirio

    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks