Hello
Trying to Compile a simple flowchart it compiles to C ok but Not to HEX.
Maybe doing something wrong cos long time not using Pic MCU's
Here I Include Fcfx and Error message files
Thanks
PIC12F509 Compile Error
-
- Posts: 173
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 7:23 pm
- Has thanked: 52 times
- Been thanked: 25 times
-
- Matrix Staff
- Posts: 1624
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 576 times
- Been thanked: 543 times
Re: PIC12F509 Compile Error
Hi Alan
I would not recommend using 12F509 as the memory is too low to do anything with.
The error is just stating the target device has run out of memory.
For example, if you change the target device to 12F1840, not only will it run a lot faster, but there will also be much more memory available.
I would not recommend using 12F509 as the memory is too low to do anything with.
The error is just stating the target device has run out of memory.
For example, if you change the target device to 12F1840, not only will it run a lot faster, but there will also be much more memory available.
Martin
-
- Valued Contributor
- Posts: 1320
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 321 times
- Been thanked: 462 times
Re: PIC12F509 Compile Error
Hi Martin
I thought that too but also noticed another strange thing. If you add in IntOsc Helper it informs that there isn't an option for such despite it being a feature of that chip.
Regards
PS
Agree that it would be better to use a newer chip if available
I thought that too but also noticed another strange thing. If you add in IntOsc Helper it informs that there isn't an option for such despite it being a feature of that chip.
Regards
PS
Agree that it would be better to use a newer chip if available
Re: PIC12F509 Compile Error
Hi ,
I will be using Pic12F683 for this but until they arrive I wanted to experiment with the
509 since I have a couple in stock .
The Pic12F509 has 1.5Kb of memory it should be more then enough for what I want to accomplish
the error is present even if I place just an 1 output in the code .
Is maybe V10 has some overheads in the code , cos that would mean that this 509 is not supported any more .
Also I have license for flowcode 7 and 9 will one of them maybe work ?
I will be using Pic12F683 for this but until they arrive I wanted to experiment with the
509 since I have a couple in stock .
The Pic12F509 has 1.5Kb of memory it should be more then enough for what I want to accomplish
the error is present even if I place just an 1 output in the code .
Is maybe V10 has some overheads in the code , cos that would mean that this 509 is not supported any more .
Also I have license for flowcode 7 and 9 will one of them maybe work ?
-
- Valued Contributor
- Posts: 1320
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 321 times
- Been thanked: 462 times
Re: PIC12F509 Compile Error
Hi
The 509 only has a few dozen bytes of RAM, but should work none the less.
Worth trying on v7/9 and I've earlier versions too that I can try, but not until later.
Regards
The 509 only has a few dozen bytes of RAM, but should work none the less.
Worth trying on v7/9 and I've earlier versions too that I can try, but not until later.
Regards
-
- Matrix Staff
- Posts: 1901
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 494 times
- Been thanked: 668 times
Re: PIC12F509 Compile Error
Hello,
It's compiling correctly for me in v10. Do you have the latest library updates?
Aha sorry it's me, the latest PIC_CAL_String library file is causing the problems.
We will investigate.
It's compiling correctly for me in v10. Do you have the latest library updates?
Code: Select all
Memory Summary:
Program space used 95h ( 149) of 400h words ( 14.6%)
Data space used 10h ( 16) of 29h bytes ( 39.0%)
EEPROM space None available
Data stack space used 0h ( 0) of 10h bytes ( 0.0%)
Configuration bits used 1h ( 1) of 1h word (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
We will investigate.
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: 1901
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 494 times
- Been thanked: 668 times
Re: PIC12F509 Compile Error
Hopefully solved for you now with the latest library updates.
Please reload your project after applying the update and that should solve the compilation error for you. It basically takes the string library out of the compile process for limited memory devices.
Please reload your project after applying the update and that should solve the compilation error for you. It basically takes the string library out of the compile process for limited memory devices.
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