Flowcode 10: bug o interrupt block for PIC16F18444

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
CamargoF
Posts: 17
http://meble-kuchenne.info.pl
Joined: Tue Mar 16, 2021 9:47 pm
Has thanked: 6 times

Flowcode 10: bug o interrupt block for PIC16F18444

Post by CamargoF »

Dear Steve,

I hope you can help me in this issue with the PIC16F18444.

I have a FCFX-file that compiles for PIC16F18345, but reports error when I changed the target to PIC16F18444.
It looks like there is a bug in the Flowcode implementation for PIC16F18444.

I was able to reduce the program to a single macro where the root cause is the interrupt block. The problem happen even if the interrupt block is disabled!
Image

I recreate the 2D console with components from flowcode 10 to mitigate any problem on migration from PIC16F18345 to PIC16F18444, since there was some components for 3D only (on Flowcode 10) and my original code uses 2D only. Nothing change on error messages.

On my original code, the c-file line was pointed to a blank line before my first block of code.

Code: Select all

D:\Comum\CONSENG\_Clientes\4Ground\_PROD\KO11\SW\Alternativa=PIC16F18444>"C:\Program Files (x86)\Flowcode\Compilers\picv2\bin\xc8-cc.exe" -mcpu=16F18444 "FC20250430_3v8_TheErrorIsRHere.c" -w=359,1273,1388 -fno-short-float -fno-short-double -std=c90 -Os 
FC20250430_3v8_TheErrorIsRHere.c:7135:16: error: (255) not a member of the struct/union ""
FC20250430_3v8_TheErrorIsRHere.c:7135:19: error: (182) illegal conversion between types
int -> volatile union S862
FC20250430_3v8_TheErrorIsRHere.c:7157:20: error: (255) not a member of the struct/union ""
FC20250430_3v8_TheErrorIsRHere.c:7157:40: error: (255) not a member of the struct/union ""
FC20250430_3v8_TheErrorIsRHere.c:7157:41: error: (199) logical type required
NOT volatile union S844
FC20250430_3v8_TheErrorIsRHere.c:7157:41: error: (199) logical type required
NOT volatile union S862
FC20250430_3v8_TheErrorIsRHere.c:7160:16: error: (255) not a member of the struct/union ""
FC20250430_3v8_TheErrorIsRHere.c:7160:19: error: (182) illegal conversion between types
int -> volatile union S844
(908) exit status = 1

Error returned from xc8.exe
Attachments
FC20250430_3v8_TheErrorIsRHere.fcfx
(78.3 KiB) Downloaded 15 times
FC20250430_3v8_soMainVoltandoPIC.msg.txt
(3.47 KiB) Downloaded 18 times
reducedMacro.png
reducedMacro.png (122.11 KiB) Viewed 1111 times

Steve-Matrix
Matrix Staff
Posts: 1476
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 207 times
Been thanked: 349 times

Re: Flowcode 10: bug o interrupt block for PIC16F18444

Post by Steve-Matrix »

Thanks. I can see the problem and will ask for a fix to be released.

Steve-Matrix
Matrix Staff
Posts: 1476
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 207 times
Been thanked: 349 times

Re: Flowcode 10: bug o interrupt block for PIC16F18444

Post by Steve-Matrix »

It should be fixed now - please download the new 16F18444.fcdx file via Library Updates.

Post Reply