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.

error regarding msp430fg4618

Other Parts Discussed in Thread: MSP430FG4618

Sir,

       I am working on MSP430FG4618 experiment board. The LED1 led2 and led4 are not blinking after connection and also the LCD display is in OFF condition.Please inform me what is the problem regarding this.and also when i perform programming using IAR workbench it is showing some error for MSP430FG4618. the error is given below.....

Building configuration: testMy_FFT - Debug
Updating build tree...

9 file(s) deleted.
Updating build tree...
MyFFT.c
Error[Pe169]: expected a declaration C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 1
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error while running C/C++ compiler
MyFFT_Example.c
Error[Pe169]: expected a declaration C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 1
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe007]: unrecognized token C:\Program Files\IAR Systems\Embedded Workbench 5.4 Kickstart_2\430\INC\msp430fg4618.h 5
Error[Pe020]: identifier "WDTCTL" is undefined C:\Documents and Settings\AG\My Documents\FFTDesigner\Output\MyFFT_Example.c 42
Error[Pe020]: identifier "WDTPW" is undefined C:\Documents and Settings\AG\My Documents\FFTDesigner\Output\MyFFT_Example.c 42
Error[Pe020]: identifier "WDTHOLD" is undefined C:\Documents and Settings\AG\My Documents\FFTDesigner\Output\MyFFT_Example.c 42
Error while running C/C++ compiler
MyFFT_Tables.c
MyFFT_TestHarness.c

Total number of errors: 19
Total number of warnings: 0

but if it is done using MSP430 only then it is not showing any error.

please suggest me what should i do?

Thank You,

  • Hi Samsaptak,

    I assume you are porting code between IAR and CCS for the MSP-EXP430FG4618, as you will not be able to download and debug with the current errors. This introduces several issues for the C/C++ compiler: e2e.ti.com/.../1275778

    It isn't possible to debug your code output issues without having the source itself. I suggest that you get started with a code example (CCS and IAR provided) to get familiarized with the EVM's firmware structure and hardware design: www.ti.com/.../getliterature.tsp

    Regards,
    Ryan

**Attention** This is a public forum