This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM2431:当在 MPU 中写入0x60000000时、OSPI 不能正常工作

Guru**** 2535750 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1411160/am2431-ospi-doesnot-work-well-when-i-the-0x60000000-in-mpu

器件型号:AM2431

工具与软件:

我正在使用 sdk8.3.0 (我知道它是一个非常旧的版本、但我必须使用它)

在定制电路板上、我使用 USB 和 OSPI 闪存。

为使用 USB、我添加了 MPU 作为熔断


.baseAddr = 0x60000000u、
.size = MpuP_RegionSize_256M、
.attrs ={
.isEnable = 1、
.isCacheable = 1、
.可 缓冲性= 1、
.isSharable = 0、
.isExecuteNever = 0、
.tex = 1、
.accessPerm = MpuP_AP_ALL_R、
.subregionDisableMask = 0x0u
}、

添加该设置后、 我无法 通过 ospi 闪存读取/写入。

我知道 ospi 闪存也使用地址0x60000000

我想问、当我使用地址0x60000000设置 MPU 时、为什么 ospi 闪存无法正常工作?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、乔、

    感谢您访问德州仪器(TI) E2E 支持论坛。

    指派的专家目前不在办公室、下周早些时候将回来。 对该线程的响应将被延迟。

    感谢您的合作。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    非常感谢您的耐心。

    [报价 userid="523085" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1411160/am2431-ospi-doesnot-work-well-when-i-the-0x60000000-in-mpu "]

    为使用 USB、我添加了 MPU 作为熔断


    .baseAddr = 0x60000000u、
    .size = MpuP_RegionSize_256M、
    .attrs ={
    .isEnable = 1、
    .isCacheable = 1、
    .可 缓冲性= 1、
    .isSharable = 0、
    .isExecuteNever = 0、
    .tex = 1、
    .accessPerm = MpuP_AP_ALL_R、
    .subregionDisableMask = 0x0u
    }、

    [报价]

    您能解释一下如何通过上述添加来使用 USB 吗? 为什么大小配置为256 MB?

    从0x60000000开始、您希望执行哪些所有操作?

    如果您希望同时使用 OSPI、建议不要触摸0x60000000。 上述位置用于将 QSPI/OSPI NOR 闪存的内容直接映射到0x60000000。 这有助于 DAC 操作、主要是 DAC 读取、与间接读取相比速度更快。  

    此致、

    Vaibhav