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.
您好!
我们在我们的一个 PCB 中使用了 msp430f5529。 这是由于 msp430f5529的交货周期较长。 我们将移植到 msp430f5527除了存储器大小之外、一切都相同、但它会意外工作。 什么地方出错了。 如果需要在固件中进行除重新编译之外的任何进一步修改、请指导我们。
谢谢!
你能详细说明一下"意外的"吗? (启动失败? 崩溃? 时间安排不对?)
1)我猜(?) 您更改了 MCU 名称(Build Settings"->"General->Variant")、该名称会切换链接器.cmd 和某些 define-s
2) 2)确保您始终包含在内 不会 。
3) 3)如果你使用大量的堆栈+堆、你可能已经(隐藏的)堆栈溢出、这些溢出现在随着较小的内存显示出来。
致谢 Bruce 问题现已解决、它是由于 msp430f5527中的 RAM 较低而导致的堆栈溢出。 感谢您的快速响应。