STM32F4xx上的Core Coupled Memory可执行文件? [英] Core Coupled Memory executable on STM32F4xx?

查看:145
本文介绍了STM32F4xx上的Core Coupled Memory可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图从STM32F429s CCM运行代码,但我总是在遇到CCM中的第一条指令时就立即设置IBUSERR标志来进行硬故障。

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.

该指令有效且对齐良好。
STM32F4xx是否可能不允许从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

推荐答案

CCM在这些部分中仅连接到数据总线。无法从此存储器中获取指令-只能将闪存,SRAM1和外部存储器用于代码。

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.

这篇关于STM32F4xx上的Core Coupled Memory可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆