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.

[参考译文] MSPM0G3507:Uniflash 刷写错误

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1483873/mspm0g3507-uniflash-flashing-error

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

工具与软件:

您好、TI 团队:

编译器:arm-none-eabi-gcc  版本: 14.2.rel1

我编译和调试了一个程序、看起来运转良好。 但是、当我使用 uniflash 下载时、它会报告以下错误、并且程序不起作用。

[错误] Cortex_M0P:闪存编程器:映像大小错误。 块的长度为4636、但由于闪存编程器以64位、写入、因此应该可以被8整除

BR、

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

    我认为这不是编译器的问题。 但在链接器命令文件中、需要确保相关闪存部分是64位对齐的。 原始映像大小应为8的大小倍数。 如果您需要相关帮助、请将链接器命令文件发布在此处。

    此致、Frank