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 .

Conclusion

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