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.

[FAQ] [参考译文] [常见问题解答] AM263P4:在 AM263PX 中启用 XIP

Guru**** 2401935 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1373279/faq-am263p4-enabling-xip-in-am263px

器件型号:AM263P4

工具与软件:

如何在 AM263PX 中创建和启用 XIP (分步指南)?

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

    1.如何导入 example.projectspec?

    • 打开 CCS。
    • 打开项目资源管理器:转至"View" →"Project Explorer"
    • 右键点击 "Project Explorer"→"Import" →"CCS Projects"。                                              
    • 选择"Browse"并转至 MCU_PLUS_SDK 目录
    • 选择"REQUIRED PROJECT" 、然后 点击"Finish"

    2.更改了 SysConfig 中用于启用 XIP 的内容

    • 打开 example.syscfg。
    • 转到"software">"MPU ARMv7"
    • 添加新的  MPU ARMv7

    • 转到"Software">"Memory Region"
    • 添加  闪存  中的"Memory Region"

    • 转到软件>部分>文本段
    • 添加新的  文本段中的输出段
      • 请将其命名为:.rodata.cfg

      • 在.rodata.cfg 中、"启用带填充对齐"

    • 添加新的  部分的所有内容→章节

      • 根据需要将部分命名为:CIO_Grp1
      • 将加载存储器设置为"OCRAM"

      •   在 CIO_Grp1中添加输出段
        • 姓名:CIO   
        •  在 CIO_Grp1中添加输入段
        • 名称:-llibsysbm.a (.text)

    • 转到  软件→章节
    • 来实现该操作  "代码和只读数据"部分。
    • 将"Load Memory"和"Run Memory"更新为闪存

    此致、
    Gunjan