Benj hello, look at the attached file was made with FC7 if I fill in FC7 me error if you compile with fc6 using boost.c is fine indeed runs twice as fast! the problem is the interrrupt .... if you disable the TMR12 in main program , then you must also complete version 7 ... know how to explain? who gives me the configuration for use boost.c in Flow code 7? I tried but I can not
thank you
error compile interrupt xc8.1.xx
Moderator: Benj
- 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: error compile interrupt xc8.1.xx
Thanks for letting us know of the problem.
Here is an updated definition file for your device that should solve the compilation problem. Just add the file to your "Flowcode v7/FCD/PIC" folder and restart Flowcode.
Here is an updated definition file for your device that should solve the compilation problem. Just add the file to your "Flowcode v7/FCD/PIC" folder and restart Flowcode.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: error compile interrupt xc8.1.xx
Ok problem solved thx Benj
. just filled with version 6, the program runs twice as fast! You know how to give configurations to installed compile on FC7 with boost.c?
thank you

thank you
- 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: error compile interrupt xc8.1.xx
Hello,
I'm afraid that using Flowcode 7 with BoostC is going to be far from easy and to be honest XC8 should be able to perform just as well if not better.
Maybe it is something we have altered for Flowcode v7 e.g. a timeout in a component taking slightly longer?
I'll have another look through your program and see if I can work out why v7 is running so much slower for you.
You have a few warnings in the compiler output that could potentially be causing issues.
I'm afraid that using Flowcode 7 with BoostC is going to be far from easy and to be honest XC8 should be able to perform just as well if not better.
Maybe it is something we have altered for Flowcode v7 e.g. a timeout in a component taking slightly longer?
I'll have another look through your program and see if I can work out why v7 is running so much slower for you.
You have a few warnings in the compiler output that could potentially be causing issues.
Motus-1.c: 1935: (1257) local variable "_FCR_RETVAL" is used but never given a value (warning)
Motus-1.c: 2712: (1257) local variable "_FCR_RETVAL" is used but never given a value (warning)
Motus-1.c: 2865: (1257) local variable "_FCR_RETVAL" is used but never given a value (warning)
C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_String.c: 581: (1257) local variable "_FCI_FLOAT_TO_STRING" is used but never given a value (warning)
sources\common\floor.c: 18: (1257) local variable "_floor" is used but never given a value (warning)
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: error compile interrupt xc8.1.xx
But you are not given by my program ... how active the PWM modules out these errors .... I have no idea where they come from! the components are set correctly ... if you tell me what to try, I try now
thx
thx
- 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: error compile interrupt xc8.1.xx
It could be to do with the RS232 receive. I think the timeout in v7 was far too big for some reason.
Please can you try using the attached CAL file which has the timeout issue solved. The file lives in the "Flowcode 7/CAL/PIC" directory.
Please can you try using the attached CAL file which has the timeout issue solved. The file lives in the "Flowcode 7/CAL/PIC" directory.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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: error compile interrupt xc8.1.xx
Hello,
After looking at each one I don't think they will cause you any problems but would be good to try and get rid of them from being generated.
Your right these warnings are all coming from components and not your code. I will investigate.I have no idea where they come from
After looking at each one I don't think they will cause you any problems but would be good to try and get rid of them from being generated.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: error compile interrupt xc8.1.xx
Benj, I copied the file but have not seen improvements, check out the 12-bit ADCs that macro lose much time I have to use it in raw mode because I can not in any other way! I am attaching the screen gegli errors in compilation ... try to remove the components from the 3D panel, and you'll see that disappear ...
- Attachments
-
- Cattura.JPG (112.6 KiB) Viewed 6212 times