Electronics - IAR Systems - Errors using the Embedded Workbench IDE

Using the IAR Embedded Workbench can be really helpful.

But what happens when come errors during development?

Let's try to solve problems encounter with this IDE.

Chosen derivative (F20X1_G2X0X_G2X1X) and actual hardware (MSP430G2XX3) do not match

This kind of error appers when the IDE is not already setup with the correct microcontroller.

In our case, we would like to use the MSP430G2553 microcontroller board in order to compile a project.

But there another board in the settings. So the IDE could not compile anything.

To resolve this problem click Project > Options > General Options > Target > Device > Click the tiny icon with an arrow > MSP430Gxxx Family > MSP430G2553 > OK.

There was 1 warning during the initialization of the debugging session.
The stack pointer for stack 'CSTACK' (currently 0x00000000) is outside the stack range (0x20000000 to 0x20000800)

You could find the solution just by setting the right debugger.


You are now free to use your IAR Embedded workbench more quietly.
Good job, you've made it! cool



I am trying to download and debug using the simulator option in the debugger and i am getting the same error what should I do?

Thank you


Hello Sanjay,

Did you install the microcontroller (MSP430) drivers?


i am using iar workbench for stm32f030r8t6 i am facing the same problem but some slightly different manner, my compiling is ok and even program gets downloaded, but when i break the debugger by clicking on the hand icon then it shows same warning.
can you please suggest any way to get rid of this.

thank you


Hello mukul,

Did you specified your microcontroller in the option settings?

Did you param correctly the debugger as suggested in the tutorial above?


Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.