Hi MM!
I think there is an issue with the GPS component In 10, tested both.
I Have an old examble with the GPS. If I compile something in XC8 error, if I change to Arduino it compile.
As soon I add the GPS component to the dashboard and initialise and try to compile, the compiler come with an error. I try to make a new testprogram with Pic16f876 not possible to compile, am I doing something wrong
EDIT, now also without using the GPS component:
C:\Flowcode10\MMeksembler\GPStest>"C:\Program Files (x86)\Flowcode\Common\Compilers\pic\bin\xc8-cc.exe" -mcpu=16F876 "Fjern.c" -w=359,1273,1388 -fno-short-float -fno-short-double -std=c90 -Os
'"C:\Program Files (x86)\Flowcode\Common\Compilers\pic\bin\xc8-cc.exe"' is not recognized as an internal or external command,
operable program or batch file. ?
No problem in FC9
Br Jorgen
GPS 8Bit Pic not compile!
-
- Posts: 615
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
GPS 8Bit Pic not compile!
- Attachments
-
- GPS_876_Selv.fcfx
- (12.66 KiB) Downloaded 21 times
-
- GPS_test2_Uno.msg.txt
- (5.18 KiB) Downloaded 18 times
-
- GPS_test2_876.msg.txt
- (1.92 KiB) Downloaded 18 times
-
- Matrix Staff
- Posts: 1464
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 514 times
- Been thanked: 474 times
Re: GPS 8Bit Pic not compile!
Hi Jorgen.
There are two issues.
First is it looks like the wrong PIC toolchain has been installed.
Can you go to here and download the 8bit tool chain, install that.
The correct path should be
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" 16F15386 "D:\Flowcode Testing\" "GPS_876_Selv"
Not
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\pic\" 16F876 "C:\Flowcode10\MMeksembler\GPStest\" "GPS_test2_876"
Or it could be the path is wrong within Global Options > Locations
For the PIC: entry, it should be
Also, there is not enough memory available using your current target.
You will need to change for a target device with more memory.
There are two issues.
First is it looks like the wrong PIC toolchain has been installed.
Can you go to here and download the 8bit tool chain, install that.
The correct path should be
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" 16F15386 "D:\Flowcode Testing\" "GPS_876_Selv"
Not
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\pic\" 16F876 "C:\Flowcode10\MMeksembler\GPStest\" "GPS_test2_876"
Or it could be the path is wrong within Global Options > Locations
For the PIC: entry, it should be
Code: Select all
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\
Also, there is not enough memory available using your current target.
You will need to change for a target device with more memory.
Martin
-
- Posts: 615
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
Re: GPS 8Bit Pic not compile!
Hi Martin!
Thank you for fast reply First the problem is on my second Laptob, not use this very often, I have a master PC, think the 8 bit work on this.
Your link "here" doesnt work, could you please check Martin, then I will install the Toolchain this evening and see if it is possible to compile to hex.
Many thank´s in advance
Jorgen
Thank you for fast reply First the problem is on my second Laptob, not use this very often, I have a master PC, think the 8 bit work on this.
Your link "here" doesnt work, could you please check Martin, then I will install the Toolchain this evening and see if it is possible to compile to hex.
Many thank´s in advance
Jorgen
-
- Posts: 615
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 509 times
- Been thanked: 132 times
Re: GPS 8Bit Pic not compile!
Mealwhile I found it Martin, thank you. Install the Toolchain and first still not compile, same, but then I (as you say change to "bigger chip) I can compile
But this is a very simpel and small program with gps, is this gps take so much space in the pic16F876?
Will it be a good idea to reinstall all the toolchain or are they not newer version?
Att. new device.
EDIT. I remember that I have used similar project almost equal in FC5 with target pic16f876, there I have no problem with enough space? Please
Jorgen
But this is a very simpel and small program with gps, is this gps take so much space in the pic16F876?
Will it be a good idea to reinstall all the toolchain or are they not newer version?
Att. new device.
EDIT. I remember that I have used similar project almost equal in FC5 with target pic16f876, there I have no problem with enough space? Please
Jorgen
- Attachments
-
- 2. GPS Time and Date 876FC5.msg.txt
- (6.54 KiB) Downloaded 18 times
-
- GPS_18f25k22_Selv.fcfx
- (12.85 KiB) Downloaded 15 times