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.

[参考译文] MSPM0L1306:CCS 程序加载

Guru**** 2434470 points
Other Parts Discussed in Thread: MSPM0L1306, UNIFLASH

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1257560/mspm0l1306-ccs-program-load

器件型号:MSPM0L1306
主题中讨论的其他器件: UNIFLASH

我使用下面 wiki 中的 boot_application 示例、在具有64KB 内部闪存的 MSPM0L1306 LaunchPad 评估套件上运行 MCU 引导。 编译的 boot_application_lp_MSPM0L1306_nortos_ticlang.out 为232KB、我能够使用 CCS 很好地调试应用。 但是、存储器查看器的最大大小为0x4600。 请找到映射文件。

存储器配置

        名称           源   长度     已使用    未使用  属性   填充
----------------  ----------------  ----------------  ----------------  ----------------  ----------------  
 闪存                00000000  0000fff8 00004600 0000b9f8  R X
 SRAM                 20000000  00001000 00000c70 00000390   RW X

问题:

CCS Theia 如何能够获取232KB 并只将相关的部分刷写到 MCUBOOT 槽?

最终我需要在出厂时将 boot_application 编程到 MCUBOOT 时隙。

参考资料: dev.ti.com/.../node

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

    一旦我单击调试应用、我看到 CCS 正在0x0处从0加载到17920 (0x4600)字节的程序

    我的目标是使用一些工具来剥离与 CCS 程序加载程序类似的不必要的符号、将 boot_application_lp_MSPM0L1306_nortos_ticlang.out 刷写到新的评估套件。

    问题:

    我是否可以将 tiarmhex 实用程序转换为.hex 文件并使用 uniflash 对新 Launchpad 上的闪存进行编程?

    software-dl.ti.com/.../uniflash_quick_start_guide.html

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [报价 userid="56981" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1257560/mspm0l1306-ccs-program-load "] CCS Theia 如何能够获取232KB 并只将相关部分闪存到 MCUBOOT 插槽?

    Uniflash (使器件闪烁的实用程序)可以接受可执行 ELF 文件作为输入。   

    能否将 tiarmhex 实用程序转换为.hex 文件并使用 uniflash 对新 Launchpad 上的闪存进行编程?

    也许吧。  对不起、我缺乏确切的专业知识。  我知道是 将 ELF 文件转换为十六进制文件的严格要求。  我将通知相关专家有关该主题的情况。

    谢谢。此致、

    -乔治

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

    更新、让他人受益。 生成的.out 文件包含所有符号、因此我们使用 tiarmhex 实用程序去除符号(--dwarf-off)并创建了一个 bin/txt/hex 文件。 因此、我们可以使用 uniflash 成功刷写 bin 文件。