GPS 8Bit Pic not compile!

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
jgu1
Posts: 615
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Flowcode v10 GPS 8Bit Pic not compile!

Post by jgu1 »

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
Attachments
GPS_876_Selv.fcfx
(12.66 KiB) Downloaded 10 times
GPS_test2_Uno.msg.txt
(5.18 KiB) Downloaded 9 times
GPS_test2_876.msg.txt
(1.92 KiB) Downloaded 12 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: GPS 8Bit Pic not compile!

Post by medelec35 »

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

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

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: GPS 8Bit Pic not compile!

Post by jgu1 »

Hi Martin!

Thank you for fast reply :D 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

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: GPS 8Bit Pic not compile!

Post by medelec35 »

Hi Jorgen.
Sorry, corrected the link, so it should work now
Martin

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: GPS 8Bit Pic not compile!

Post by jgu1 »

Mealwhile I found it Martin, thank you. :D Install the Toolchain and first still not compile, same, but then I (as you say change to "bigger chip) I can compile :D

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 10 times
GPS_18f25k22_Selv.fcfx
(12.85 KiB) Downloaded 10 times

Post Reply