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.

CCS4.2.5 - error during debugging

Other Parts Discussed in Thread: CC430F5137

Hi there,

i receive a strange error when running my program with debugger.
When activating a device function by button press, the device stops running and i receive a list of errors
(in code this simply is a transition in the state machine):

MSP430: Trouble Reading Memory Block at 0xffffe on Page 0 of Length 0x2: Invalid parameter(s)
MSP430: Trouble Reading Memory Block at 0xffffe on Page 0 of Length 0x2: Invalid parameter(s)
MSP430: Trouble Reading Memory Block at 0xffffe on Page 0 of Length 0x2: Invalid parameter(s)
MSP430: Trouble Reading Memory Block at 0xffe46 on Page 0 of Length 0x1ba: Invalid parameter(s)
MSP430: Trouble Reading Memory Block at 0xffdc6 on Page 0 of Length 0x23a: Invalid parameter(s)
MSP430: Breakpoint Manager: Could not read Enhanced Emulation Module register

It seems like the debugger loses connection to the MSP430.

When trying to reset the target, i receive the latest message:
MSP430: Breakpoint Manager: Could not read Enhanced Emulation Module register

Is there any known behavior that may cause these messages?
I know i am using an older version of CCS, maybe this is fixed in newer versions?

Otherwise i would have to find any settings or changes in the project or code that may cause this behavior.

Best regards,
Sven

EDIT:
According to the thread "CC430F5137 Debugging Problem: Could not read Enhanced Emulation Module register" this behavior might be related to HW issues.
In this case i was able to use the exact same setup for a longer period of time, while the error appears since yesterday evening.
I don't have an explanation, and didn't change any hardware connections.

EDIT 2:
Sometimes i can program the device. When i try to send any commands (e.g. Reset), sometimes i receive the message FATAL ERROR: 0x0002.
What does this mean? I couldn't find any description

  • Hi Sven,

    would you be able to provide a bit of context?  Are you using breakpoints?  If so how many and what type?  One thing that I am wondering is whether some breakpoints are not being cleared from a previous session and causing an error with the breakpoint manager.  If you reload the workspace do you still see these errors?

    Best Regards,
    Lisa 

  • Hi Lisa,

    i tried different approaches, all with the same result:
    - Removing all breakpoints
    - Closing and re-opening the project
    - Different Hardware, Debugger, programming cable
    - Restarting CCS
    - Restarting the computer

    For unknown reasons programming and debugging worked after i restarted the computer for the third time.

    Thank you for the support

  • Hi Sven,

    ok, thanks for the update and happy to hear that you have things restored.

    All the best with development.

    Best Regards,
    Lisa