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-Q1:CMAKE 进入复位处理程序

Guru**** 2533390 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1338485/mspm0g3507-q1-cmake-entry-into-reset-handler

器件型号:MSPM0G3507-Q1

大家好、

我有一个客户正在尝试使用适用于 MSPM0的 CMAKE 在外部进行构建。 他们使用 PE Micro 工具(https://software-dl.ti.com/msp430/esd/MSPM0-SDK/1_00_00_04/docs/chinese/tools/doc_guide/doc_guide-srcs/pemicro_CN.html#)并成功使用了开箱即用示例。 但是、当它们闪存其应用程序时、 M0会引导到默认处理程序中。 这似乎源于我的.out 文件中的应用起点地址为0xC0、而它应为0xC4。 他们通过在链接器脚本顶部添加 entry (Reset_Handler)添加了一种权变措施、但希望检查是否 存在其他可能导致其自动进入默认处理程序的问题、而这些问题可以修复。 有什么想法可能会导致这种情况?

我附加了他们的 CMAKE 文件以供参考。

谢谢!

-Jacke2e.ti.com/.../CMakeLists.txt

e2e.ti.com/.../device_5F00_linker.lds

e2e.ti.com/.../gcc_5F00_arm_5F00_eabi_5F00_mspM0_5F00_toolchain.cmake

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

    如果您这样对启动文件进行一些更改、该怎么办? 然后、您将知道 DEFAULT_handler 的原因