I want to compile a new program done in Flowcode for AVR using the Atmega128. I am using the fcd file I found here on the forum.
When compiling the code it generates some error:
It seems, in the fcd file, some variables aren't defined in the right manner, is it?Generated by: Flowcode v3.3.5.45
Date: Tuesday, May 13, 2008 13:42:39
Licence: Professional
Registered to: Vidor Demeter
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode_AVR\Tools\MX_bats\avra.bat atmega128 "C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.elf" "C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c" "C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.lst"
C:\Documents and Settings\Vidor\My Documents\Flowcode>"C:\PROGRA~1\MATRIX~1\FLOWCO~1\Tools\MX_bats\..\bin\avr-gcc.exe" -mmcu=atmega128 -Os -funsigned-char -o "C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.elf" "C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c"
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c: In function 'FCM_Disp_Data':
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:187: warning: passing argument 1 of 'FCD_LCDDisplay0_PrintString' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:202: warning: passing argument 1 of 'FCD_LCDDisplay0_PrintString' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:217: warning: passing argument 1 of 'FCD_LCDDisplay0_PrintString' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:242: warning: passing argument 1 of 'FCD_LCDDisplay0_PrintString' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c: In function 'FCM_Receive_Data':
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:372: warning: passing argument 1 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:372: warning: passing argument 5 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:383: warning: passing argument 1 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:383: warning: passing argument 5 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:394: warning: passing argument 1 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:394: warning: passing argument 5 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:405: warning: passing argument 1 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:405: warning: passing argument 5 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c: In function 'FCM_Read_Ana_Inputs':
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c:512: warning: passing argument 2 of 'FCI_TOSTRING' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c: In function 'FCD_RS2320_SendRS232Char':
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: 'UCSRA' undeclared (first use in this function)
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: (Each undeclared identifier is reported only once
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: for each function it appears in.)
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: 'UDR' undeclared (first use in this function)
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c: In function 'FCD_RS2320_ReceiveRS232Char':
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: 'UCSRA' undeclared (first use in this function)
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: 'UDR' undeclared (first use in this function)
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.c: In function 'main':
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: 'UCSRA' undeclared (first use in this function)
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: 'UBRRL' undeclared (first use in this function)
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: 'UBRRH' undeclared (first use in this function)
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cerror: 'UCSRB' undeclared (first use in this function)
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cwarning: passing argument 2 of 'FCI_TOSTRING' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cwarning: passing argument 5 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cwarning: passing argument 2 of 'FCI_TOSTRING' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cwarning: passing argument 1 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cwarning: passing argument 3 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cwarning: passing argument 5 of 'FCI_CONCATENATE' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cwarning: passing argument 2 of 'FCI_TOSTRING' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cwarning: passing argument 2 of 'FCI_TOSTRING' discards qualifiers from pointer target type
C:\DOCUME~1\Vidor\MYDOCU~1\Flowcode\IndHeat_13-May-08_MT128.cwarning: passing argument 2 of 'FCI_TOSTRING' discards qualifiers from pointer target type
Error returned from [avr-gcc.exe]
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED

When I compile with Mega88 or Mega168 as the target CPU everithing is fine.

Can you help me out with this?

Thanks in advance
Regards
Vidor