Hello,
After installing Flowcode V4 for PIC24, this is the first time I use Flowcode V4 for PIC16 again. All Flowcode programs I use give the following error:
"Launching the compiler...
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -v -t PIC16F688 "Flitser2.c"
Return code = -2
Flowcode can not translate C-code ...:" (no C-errors given)
What to do?
Kind regards
Jan
Return Code -2
Moderator: Benj
- Jan Lichtenbelt
- Posts: 797
- Joined: Tue Feb 17, 2009 8:35 pm
- Location: Haren GN, the Netherlands
- Has thanked: 128 times
- Been thanked: 264 times
- Contact:
-
medelec35
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Return Code -2
Hi Jan,
Since your Flowcharts would of worked in the past, I have two suggestions.
1) Make sure compiler settings are correct.
Should be (windows 64 Bit version)
If that's OK
Then 2)
Maybe best to reinstall Flowcode.
Sounds like linker software or linker settings are corrupt or wrong.
If still don't work then you can get some firewalls (E.g Comodo that will not allow parts or all of software to run, unless it has permission form the PC owner.
Since your Flowcharts would of worked in the past, I have two suggestions.
1) Make sure compiler settings are correct.
Should be
Code: Select all
Compiler
Location = C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe
Parameters = -v -t PIC%p "%f.c"
Linker
Location = C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe
Parameters = -ld "C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"
If that's OK
Then 2)
Maybe best to reinstall Flowcode.
Sounds like linker software or linker settings are corrupt or wrong.
If still don't work then you can get some firewalls (E.g Comodo that will not allow parts or all of software to run, unless it has permission form the PC owner.
Martin
- Jan Lichtenbelt
- Posts: 797
- Joined: Tue Feb 17, 2009 8:35 pm
- Location: Haren GN, the Netherlands
- Has thanked: 128 times
- Been thanked: 264 times
- Contact:
Re: Return Code -2
Hi Medelec
Thanks a lot. On the compiler location was the assembler program. That will not work.
Regards
Jan
Thanks a lot. On the compiler location was the assembler program. That will not work.
Regards
Jan