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.

[参考译文] MSP430F6721:我们应该保留多少可用 RAM?

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1349964/msp430f6721-how-much-free-ram-should-we-reserve

器件型号:MSP430F6721
主题中讨论的其他器件: MSP430F6723

您好!

我正在尝试优化我们一款器件的固件以实现批量生产。 如果我们是为 MSP430F6721构建、则 CCS 内存分配中显示的 RAM 用量为90%、而186B 是免费的。 器件在 MSP430F6721上似乎可以正常运行。 我仍然有一点担心、只有10%的 RAM 未分配、这可能不足以处理正常运行期间不发生的某些边缘情况。

我的问题是、10% RAM 预留空间是否足够? 或者我们应该继续使用具有更多 RAM 的 MSP430F6723吗?

请告知、谢谢。

ZL

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

    这完全取决于您的代码。 例如调用深度、自动变量的大小、动态分配和递归。