bug with RS232 in 24FJ64GB002

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
HjH
Posts: 108
Joined: Sat Jul 03, 2010 4:38 pm
Been thanked: 2 times

bug with RS232 in 24FJ64GB002

Post by HjH »

Hallo,

Flowcode : 6.0.3
MCU : 24FJ64GB002
Tact : 32MHz
Baudrate : 115200

in the porperties the RS232 panel is a bug. (see attached file)
The TX and the RX phrase can't overwrite. This ends with following error:

C:\PR930E~1\24FJ64~1>pic30-gcc -c -mcpu="24FJ64GB002" -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\FLOWCO~2\COMPIL~1\pic16\BATCHF~1\..\support\h".

Error:
C:\PR930E~1\24FJ64~1>pic30-gcc -c -mcpu="24FJ64GB002" -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\FLOWCO~2\COMPIL~1\pic16\BATCHF~1\..\support\h".

-I"C:\PROGRA~2\FLOWCO~2\COMPIL~1\pic16\BATCHF~1\..\MX_support" -Wall -std=gnu99 "Start_V1".c -o "Start_V1".o
In file included from C:\Program Files (x86)\Flowcode 6\CAL\includes.c:560,
from Start_V1.c:143:
C:\Program Files (x86)\Flowcode 6\CAL\/PIC16BIT\PIC16BIT_CAL_UART.c: In function 'FC_CAL_UART_Init_1':
C:\Program Files (x86)\Flowcode 6\CAL\/PIC16BIT\PIC16BIT_CAL_UART.c:279: error: syntax error before '=' token
Start_V1.c: In function 'FCD_01_RS232__SendString':
Start_V1.c:198: warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness
Start_V1.c: In function 'FCD_01_RS232__ReceiveString':
Start_V1.c:278: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
Start_V1.c:278: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness

Error returned from [pic30-gcc.exe]
Completed compilation, return = 1

C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat Hat den Fehlercode 1 gemeldet


BEENDET
Error.JPG
Error.JPG (51.71 KiB) Viewed 3003 times

HjH

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: bug with RS232 in 24FJ64GB002

Post by Benj »

Hello,

The device your using has remappable peripherals. You should be able to select the RX and TX pins using the TX Remap and RX Remap properties. Once you have done this the program should compile. The Remap feature is quite new so if you have any problems then let me know, you might need a new FCD to populate the Remap properties correctly.

Could do with a better error message here. I'll have a think.

Post Reply