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.

MSP430FR2355: Breakpoint not working correctly

Part Number: MSP430FR2355

I'm having an issue when I place a breakpoint at the front end of an application.  I then hit go and break as expected.  However I am confident that this initialization code is re-running multiple times (as I flash an LED each re-boot).  The issue is the code NEVER breaks a second time.  What is going on?

  • I think you'll have to be more specific. Where is the front end of the application? First line of main? Second? The reset entry _c_int00 [or whatever it's called]? The first line of main in particular is tricky since the debugger sets a temporary breakpoint there, and I've seen it remove an explicit breakpoint I set there. I suggest either the second line of main or the reset entry.

    My observation is that the code-download procedure routinely involves one or more reset sequences (I often see my previous program starting up). Is it possible this is what you're seeing?

  • I'm learning the value of well documented code here.....Long story short is this has been plaguing me for two days....Decided to salvage my library and build up the main application from scratch this afternoon / evening.  Having much better results.  I had to be tramping on some memory somewhere but trying to track it down on one debugger with a host and client RF was enough to drive me nuts.

    For the record the front end of the main application configured a radio.  I placed the breakpoint after this configuration.  (after I/O config, clock config, timer config then radio config).  

    The short is somewhere along the line I began to build a house on sticks and not concrete and well...... I paid the price.

**Attention** This is a public forum