Core Coupled Memory executable on STM32F4xx?

醉酒当歌 提交于 2019-12-13 02:33:59

问题


Trying to run code from a STM32F429s CCM but I always get a Hard Fault with the IBUSERR flag set as soon as I hit the first instruction in the CCM.

The instruction is valid and well aligned. Is it possible that the STM32F4xx does not allow execution from the CCM? (Data access works well).

alios


回答1:


The CCM in these parts is only connected to the data bus. Instructions cannot be fetched from this memory -- only flash memory, SRAM1, and external memory should be used for code.

For more information, refer to section 2.1 ("System Architecture") of the reference manual, which is where the above image came from.



来源:https://stackoverflow.com/questions/49768163/core-coupled-memory-executable-on-stm32f4xx

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!