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.

[参考译文] CC2340R5:在自定义引导加载程序中保留 SRAM

Guru**** 2466550 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1550438/cc2340r5-reserved-sram-in-custom-bootloader

器件型号:CC2340R5


工具/软件:

在文档中、“CC23xx SimpleLink 无线微控制器单元技术参考手册“第 8.4.3 节指明在用户定义的引导加载程序中:

“引导加载程序可以使用除包含引导流程状态变量的区域 0x20000400-0x2000047F 之外的所有 SRAM。“

但是、在 Simplelink 低功耗 F3 SDK 版本 9.11.00.18 中、文件 UDMALPF3.h   在 SRAM 中使用硬编码基址 0x20000400 创建 DMA 控制表条目。

这是否意味着您不能在自定义引导加载程序中使用 DMA?

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

    您好 Brian、

    我查看了 UDMALPF3.h 文件、发现定义为默认区域位于  0x20000400-0x2000047 的 SRAM 区域内是正确的;我在自定义引导加载程序(MCUBoot 等其他内容除外)期间未自己使用 DMA、因此我暂时建议不要在自定义引导加载程序实现中使用 DMA。  

    谢谢、
    Alex F