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.

RE: Wolverine

I have a new project for the FRAM Wolverine MSP430FR5969.  The project compiles without errors or warnings but when I click on Debug it loads the code to the micro and immediately starts running the code instead of stopping at main so I can single step.  If I then click on Pause it complains it cannot find the source:

Can't find a source file at "/tmp/TI_MKLIBeR36VQ/SRC/copy_decompress_rle.c"
Locate the file or edit the source lookup path to include its location.

I have "run to main" selected.  This is a new project that I started from scratch so I probably just have something set up wrong. 

ideas welcome!

  • Hi Don,

    I split this into a new thread since it is a new question.

    Your issue sounds quite similar to this post: http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/252258.aspx

    I would guess that your watchdog timer is timing out before main - there's more information in the thread linked above and some useful links there. You can get around this by defining the system_pre_init or low_level_init function (depending on if you use CCS or IAR) to disable the watchdog at startup before variables are initialized or other actions that happen before you reach main: http://processors.wiki.ti.com/index.php/MSP430_FAQ#WDT_fires_during_C_startup_code

    Regards,

    Katie

  • Ah, a thread split. That’s why the browser couldn’t find the post anymore J

     Katie already answered to the cause of the non-working breakpoint: the CPU never gets there but is reset before by the watchdog.

    But about the error message: it is normal and to be expected. When hitting the stop button, the CPU was executing code from a pre-compiled library (in this case, the startup code from the runtime library).
    The debugger finds debug information in the library, including the position of the source code for this position. However, you never compiled this library yourself, so the source code reference points to where the source was on the PC where the library was compiled. And of course the debugger cannot find it in your machine. Hence the error. It will also happen if you step into a library function like printf.

**Attention** This is a public forum