STM32F4 tip: reset the cache
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-12-08 6:10 PM
Posted on December 09, 2012 at 03:10
I had a head-slap moment a few days ago. I eliminated much of the ''quirky behavior'' of my STM32F4Discovery board by having SystemInit() disable and reset the cache.
The STM32F4Discovery was my first ST-Link product as well as my first STM32F4 development board. I had somehow concluded that the ST-Link interface was a little flaky, and had more or less resigned myself to killing the power after every flash to get the new code to run properly. This seems obvious in retrospect; I may be the only one who frequents the board that was not aware of it. But since the results of my search for ''cache'' were sparse (and strange) I'll post the tip. #stm32f4-cache
Labels:
- Labels:
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-12-21 8:14 AM
Posted on December 21, 2012 at 17:14 Very interesting. I have long been mystified by the erratic behavior of the board after flashing and debugging using gdb via the atollic stlinkv2 gdbserver. I will give your tip a try.
