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.

Compiler/MSP430F5131: IAR workbench compiling error

Part Number: MSP430F5131

Tool/software: TI C/C++ Compiler

Hello ,

I'm using IAR embedded workbench and compiled my code without any errors , although when i click on download and debug button i get this error  (in red):

  • Hello Omer,

    The address the error is throwing up is between Ram and Flash for this device, which is invalid memory space. I would check your project settings to make sure you are compiling for the correct device. You may also have to look at your linker file to make sure it is for the correct device, and possibly reset the linker file to default. The easiest way of doing this to start a new project and copy/paste your main.c to your new one.
  • I have opened a new project and selected the correct device in the general option to MSP430F5131. i compiled the program again and in the Trace tab i see the same error...

    I didnt try to actually download the file through the debugger i was trying to simulate it . maybe this is the reason it poped that error up?

  • Hi!

    You're looking at the "Trace" window, which prints instructions as they are executed. When something is printed in red in the trace window, it indicates that a new trace sequence has begun. This always occurs at the start of program execution, but also if the trace probe has lost and restored connection.

    As far as I can tell, this is perfectly normal.

        -- Anders Lindgren, IAR Systems

**Attention** This is a public forum