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 doesn't count time util the end of the main function

Part Number: MSP430FR5994
Other Parts Discussed in Thread: ENERGYTRACE

Code Composer Studio Version: 8.3.1

After I started the Debug session, I clicked the Resume to continue the program.

But EnergyTrace doesn't count time util entering the abort function.

Just like the following screen snippet, Time kept 0, and Energy fluctuated between 1 and 5 mJ.

After finishing the main function, EnergyTrace finally start to count Time.

But the Energy plot is strange, there are two blue lines in it!

However, if I click Free Run to continue my program, it looks fine.

The following is my EnergyTrace setting:

I summary my questions below:

1. Why doesn't EnergyTrace count time util finishing my main function? How to fix it?

2. Why are there two blue lines in my Energy plot?

Thanks for your help.

**Attention** This is a public forum