Toolbar problem and Pic18F24K22 compiler error

Moderator: Benj

Post Reply
User avatar
Bruno
Posts: 67
Joined: Thu Jan 18, 2018 2:11 pm
Been thanked: 21 times
Contact:

Toolbar problem and Pic18F24K22 compiler error

Post by Bruno »

Hi Benj
I recently purchased the license of flowcode8 and I encountered two problems: the toolbar cannot be moved as in flowcode7 or flowcode6, as shown in the attached photo.
Tool_Bar.png
(24.73 KiB) Downloaded 130 times
The second problem is with a Pic18F24K22, the compiler gives the following error:

Title:
Description:
Device: PIC.18F.18F24K22
Generated by: Flowcode v8.2.2.15
Date: Saturday, May 16, 2020 23:59:31
Users: 1
Registrato a:b.sgammato
Chiave di licenza:XXXXX
https://www.matrixtsl.com
Avvio del compilatore...
C:\Program Files (x86)\Flowcode v8\pic\batch\pic_xc8_comp.bat 18F24K22 "C:\Users\BRUNO_~1\Desktop\TEST_P~1\" "Test_Array_Bit"

C:\Users\BRUNO_~1\Desktop\TEST_P~1>C:\PROGRA~2\FLOWCO~3\pic\batch\..\bin\xc8.exe --chip=18F24K22 "Test_Array_Bit.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler (Free Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

C:\PROGRA~2\FLOWCO~3\pic\include\pic18f24k22.h:
8244: extern volatile unsigned char TRISE @ 0xF96;
(985) qualifiers redeclared ^
^ (1098) conflicting declarations for variable "TRISE" (Test_Array_Bit.c:29)
(908) exit status = 1
(908) exit status = 1

Error returned from [xc8.exe]

C:\Program Files (x86)\Flowcode v8\pic\batch\pic_xc8_comp.bat ha riportato il codice di errore 1


Thanks
best regards

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Toolbar problem and Pic18F24K22 compiler error

Post by medelec35 »

Hi Bruno
While waiting for the bug to be fixed, there is a workaround.
Select Help, Check for Updates,
Select Show Up to-date files
Select the 18F24K22.fcdx so its ticked.
Change the New Revision number from 3 to 2 then select Download
Finally Select Exit then Reload (third from the left at top,next to Save)

As for the toolbar.
Select View, Global options
Within Flowchart tab, untick Bind an icon toolbar to each programming view
Martin

User avatar
Bruno
Posts: 67
Joined: Thu Jan 18, 2018 2:11 pm
Been thanked: 21 times
Contact:

Re: Toolbar problem and Pic18F24K22 compiler error

Post by Bruno »

Hi medelec35
I followed your instructions and solved the problems
thanks for your help

best regards

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: Toolbar problem and Pic18F24K22 compiler error

Post by Benj »

Should be fixed now, thanks :D

User avatar
Bruno
Posts: 67
Joined: Thu Jan 18, 2018 2:11 pm
Been thanked: 21 times
Contact:

Re: Toolbar problem and Pic18F24K22 compiler error

Post by Bruno »

Hi Beny
Yes with revision 4 it works, thanks :D :D

User avatar
Bruno
Posts: 67
Joined: Thu Jan 18, 2018 2:11 pm
Been thanked: 21 times
Contact:

Re: Toolbar problem and Pic18F24K22 compiler error

Post by Bruno »

Sorry ..... Benj :) :)

Post Reply