Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: CCS 5.5 MSP430, cannot set S\W breakpoint in some cases

$
0
0

I am setting several S\W & H\W breakpoints on an MSP430G2755. The program and thus breakpoints are all located in FLASH. Of course, I can only enable on H\W breakpoint at a time when using S\W breakpoint support. That is all find and dandy.

However, I have found that at one particular spot in my code, the breakpoint will NOT set as a S\W breakpoint. I have deleted and re-added it a dozen times, no luck.

It is a simple if statement:

if(...) {...}

else if(...)

{

   2 code lines here and I am able to set a S\W BP

}

else if(pActiveAlarm->AlarmID == pAlarmNew->AlarmID)

{

       pAlarmNew = NULL;  // Unable to set a S\W BP at this line

}

Any ideas?

Regards,

Jim


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>