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.

MSP430FR6989 Ultra Low Power Debug

Other Parts Discussed in Thread: MSP430FR6989

Greetings, everyone!

I'm using MSP430FR6989 and when trying to put a breakpoint in my code I get the error message:


"EEM module not accessible while running in Ultra Low Power Debug Mode - Deactivate Ultra

Low Power Debug mode to enable this feature"


I was able to fix this by following this thread:

e2e.ti.com/.../464151

and by unchecking

"Project properties -> Debug -> MSP43x Options -> Low power mode settings -> Enable Ultra Low Power debug / LPMx.5 debug"


BUT I DONT UNDERSTAND - WHY?

First of all I don't use low power modes in my code. I have turned off all optimizations.

Second - let's assume that I enter this low power mode (LPMx.5) somehow due to some

unknown optimizations. Then why do I have to UNCHECK the "Enable Ultra Low Power debug /

LPMx.5 debug" ? What does it do?



Regards,
L. B.

  • There is no "WHY". This is how the debugger designed to do. It doesn't allow you to set breakpoints if the target is running when the option is enabled. But you can still set a breakpoint if the target is paused (stopped).

    LPMx.5 debug is quite useful if your system need to enter LPM3.5 or LPM4.5 and then wake-up later. In these two states, the clock and power to CPU is turned off. Since the CPU is off, how to debug CPU? This is what the option wants to solve.

**Attention** This is a public forum