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.

MSP430F5342: MSP-EXP430G2 LaunchPad debug in IAR For MSP430 7.12.1

Part Number: MSP430F5342

Debug Software:IAR For MSP430 V7.12.1

Debug Tool:MSP-EXP430G2 LaunchPad

Debug Platform:Self-Designed MSP430F5342 Circuit

There is something wrong with my Debug.The program download and verify successfully.However,it cannot debug correctly and with these errors as follow:

Thu Jun 27, 2019 11:56:22: Loaded debugee: C:\Users\Administrator.USER-20190403YJ\Desktop\MSP430Solution\Output\Exe\MSP430Solution.d43
Thu Jun 27, 2019 11:56:22: Target reset
Thu Jun 27, 2019 11:56:22: <internal:40>(1,44): [syntax error, unexpected TYPE_NAME, expecting IDENTIFIER]
Thu Jun 27, 2019 11:56:22: Error when defining macro
Thu Jun 27, 2019 11:56:22: There were 2 errors during the initialization of the debugging session.

  • Hi,

    There should be some error in your source code which led to the error you met. Please review your code and take the IAR guide to update your code.

    Thu Jun 27, 2019 11:56:22: <internal:40>(1,44): [syntax error, unexpected TYPE_NAME, expecting IDENTIFIER] 
    Thu Jun 27, 2019 11:56:22: Error when defining macro

    BTW, the MSP-EXP430G2 LaunchPad can't support the MSP430F5342 you are using. Please refer to the table 1 of the MSP debuggers User's Guide  for which debuggers support your device.

**Attention** This is a public forum