Hello Matrix Team,
I just purchased FC9 Prof. Version and I want to download the PIC8 Toolchain shortly.
Three questions came up!!
1. Will this new FC9 Pic toolchain may create a conflict with my existing FC8 Prof. Pic-8 toolchain??
2. I´m using the Mircrochip Pro-Compiler version 1.45 with my old FC8. Will this may create problems with the new FC9 compiler toolchain.
3. Will the Microchip Pro-Compiler work with FC9 too?
Tanks in advance
Dirk
FC9 vs. FC toolchain and Microchip Pro-Compiler
-
- Posts: 96
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 04, 2020 11:03 am
- Has thanked: 6 times
- Been thanked: 12 times
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: FC9 vs. FC toolchain and Microchip Pro-Compiler
There should be no conflict. We have been using both toolchains side-by-side without problem.
I’ve not specifically tested this, but I can’t see there being a problem.
Yes and no. FC9 uses v2 of the compiler and supports the newer chips. The code generated by Flowcode should work on both v1 and v2 compiler toolchains, but we test v9 mainly with the v2 compiler and you would also lose support for the newer chips. However, your pro compiler version will add code optimisations and have other benefits for you.
It should be relatively simple to switch which toolchain is being used by editing the location in the “locations” tab of Flowcode’s global options.
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: FC9 vs. FC toolchain and Microchip Pro-Compiler
Hi Steve,
I did not think 2 was included in this release?Steve-Matrix wrote: ↑Mon Feb 01, 2021 12:39 pmFC9 uses v2 of the compiler and supports the newer chips.
Martin
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: FC9 vs. FC toolchain and Microchip Pro-Compiler
I aslo did not know this I suppose we can down load the V2 from the FC web pageSteve-Matrix wrote: ↑Mon Feb 01, 2021 12:39 pmwe test v9 mainly with the v2 compiler and you would also lose support for the newer chips

Regards Peter - QME Electronics
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: FC9 vs. FC toolchain and Microchip Pro-Compiler
Hi
I believe v9 will work with v1 or v2 compiler. If you have v1 installed from v8 then it will work fine with this. If you download the compiler from the flowcode.co.uk site then that will be v2.
I believe v9 will work with v1 or v2 compiler. If you have v1 installed from v8 then it will work fine with this. If you download the compiler from the flowcode.co.uk site then that will be v2.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: FC9 vs. FC toolchain and Microchip Pro-Compiler
Thanks Steve & Ben
However, I don't believe the batch file is correct.
Loaded a flowchart and compiled with the default v2 batch file:
Results:
Tried again with batch file from here:Results are:
That's why I stated about v1 as originally downloaded from matrixtsl site.
However, I don't believe the batch file is correct.
Loaded a flowchart and compiled with the default v2 batch file:
Code: Select all
@REM $(chip) "$(outdir)" "$(target)"
@PUSHD %~2
%~dp0..\pic\bin\xc8.exe --chip=%~1 "%~3.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
@POPD
@IF %ERRORLEVEL% NEQ 0 GOTO Error
@ECHO.
@ECHO Compilation successful!
@EXIT 0
:Error
@ECHO.
@ECHO Error returned from [xc8.exe]
@EXIT %ERRORLEVEL%
Code: Select all
Memory Summary:
Program space used 3612h ( 13842) of 4000h bytes ( 84.5%)
Data space used E5h ( 229) of 300h bytes ( 29.8%)
Configuration bits used 7h ( 7) of 7h words (100.0%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
ID Location space used 0h ( 0) of 8h bytes ( 0.0%)
Data stack space used 0h ( 0) of 212h bytes ( 0.0%)
Code: Select all
@REM $(chip) "$(outdir)" "$(target)"
@PUSHD %~2
"C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8-cc.exe" -mcpu=%~1 "%~3.c" -w=359,1273,1388 -fshort-float -fshort-double -std=c90 -Os
@POPD
@IF %ERRORLEVEL% NEQ 0 GOTO Error
@ECHO.
@ECHO Compilation successful!
@EXIT 0
:Error
@ECHO.
@ECHO Error returned from [xc8.exe]
@EXIT 1
Aa
Code: Select all
Memory Summary:
Program space used 2C9Ch ( 11420) of 4000h bytes ( 69.7%)
Data space used C7h ( 199) of 300h bytes ( 25.9%)
Configuration bits used 7h ( 7) of 7h words (100.0%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
ID Location space used 0h ( 0) of 8h bytes ( 0.0%)
Data stack space used 0h ( 0) of 22Fh bytes ( 0.0%)
Martin
Re: FC9 vs. FC toolchain and Microchip Pro-Compiler
First many thanks for your feedback friends!!
I will give it a try in the next 2 or 3 weeks.
I´ll give you d feedback then.
BR
Dirk
I will give it a try in the next 2 or 3 weeks.
I´ll give you d feedback then.
BR
Dirk
Happy FC9, FC-8 and FC-6 professional user 

Re: FC9 vs. FC toolchain and Microchip Pro-Compiler
Hello together,
like I promised some weeks ago here is my feedback.
1. Microchip Pro-Compiler 1.45 with my old FC8 and new FC9 is working fine!!
2. No problems observed with the toolchain too.
Just finished my new project!!
Great job Matrix Team!!
THX
Dirk
like I promised some weeks ago here is my feedback.
1. Microchip Pro-Compiler 1.45 with my old FC8 and new FC9 is working fine!!
2. No problems observed with the toolchain too.
Just finished my new project!!
Great job Matrix Team!!
THX
Dirk
Happy FC9, FC-8 and FC-6 professional user 
