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.

[参考译文] MSP430FR5994:EnergyTrace 在 main 函数末尾之前不会记录时间#39;t COUNT

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1119474/msp430fr5994-energytrace-doesn-t-count-time-util-the-end-of-the-main-function

器件型号:MSP430FR5994
主题中讨论的其他器件:ENERGYTRACE

Code Composer Studio 版本:8.3.1

在我启动调试会话后、我单击 Resume 以继续该程序。

但 EnergyTrace 在进入 abort 函数之前不会计入时间。

就像以下屏幕片段一样、时间保持为0、能量在1至5 mJ 之间波动。

完成主函数后、EnergyTrace 最终开始计算时间。

但能量图很奇怪、其中有两条蓝线!

但是、如果我单击 Free Run 继续我的程序、看起来不错。

以下 是我的 EnergyTrace 设置:

我的问题总结如下:

 1.为什么 EnergyTrace 在完成主函数之前不计算时间? 如何解决?

2.为什么我的能源图中有两条蓝线?

感谢你的帮助。