Breakpoints for RAM code being bypassed

Comments

2 comments

  • Avatar
    Jon Elliott

    Can you try setting the Debugger Options > Startup Completion Breakpoint project property to "main".

    0
    Comment actions Permalink
  • Avatar
    Bryan Audiffred

    I had tried the Startup Completion property  before, and the IDE would crash with an internal error when debug began.  You mentioned "main", and this program has no main function, ie. APP_ENTRY_POINT in thumb_crt0.s was not a function named "main".  I added a main function residing in flash that immediately called my entry point in RAM, and breakpoints are working properly.  The problem is now effectively resolved, but I am not uncertain how.  

    0
    Comment actions Permalink

Please sign in to leave a comment.