Return Code -2

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
User avatar
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:

Return Code -2

Post by Jan Lichtenbelt »

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

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

Post by medelec35 »

Hi Jan,
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"
(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.
Martin

User avatar
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

Post by Jan Lichtenbelt »

Hi Medelec

Thanks a lot. On the compiler location was the assembler program. That will not work.

Regards

Jan

Post Reply