PIC12F1822 UART problem [Solved]

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 114 times
Been thanked: 112 times
Contact:

PIC12F1822 UART problem [Solved]

Postby STibor » Fri Oct 26, 2018 6:04 am

Hello,

An error message is displayed when using the PIC12F1822 UART component.
C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_UART.c: FC_CAL_UART_Init_1()
370: APFCON = APFCON & ~();
^ (195) expression syntax
373: APFCON = APFCON & ~();
^ (195) expression syntax
(908) exit status = 1
(908) exit status = 1

C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1
Attachments
pic12f1822test.fcfx
(8 KiB) Downloaded 43 times
Last edited by STibor on Sat Oct 27, 2018 6:32 am, edited 1 time in total.

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

Re: PIC12F1822 UART problem

Postby Benj » Fri Oct 26, 2018 10:31 am

Hello,

Thanks for letting us know. I have now found and fixed the problem for you.

Simply copy the attached files into your "Flowcode 7/FCD/PIC" folder and restart Flowcode.

12F1822.fcdx
(17.43 KiB) Downloaded 51 times

12LF1822.fcdx
(17.44 KiB) Downloaded 50 times


Let us know how you get on.
These users thanked the author Benj for the post:
STibor (Fri Oct 26, 2018 6:30 pm)
Rating: 5.26%
 

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 114 times
Been thanked: 112 times
Contact:

Re: PIC12F1822 UART problem

Postby STibor » Fri Oct 26, 2018 6:32 pm

Thank you!