Page 1 of 1

config settings

Posted: Tue Aug 28, 2012 4:27 pm
by Steve001
Afternoon All

not used my flowcode for ages now :( just come to have a play with some programes and am having some problems

bit a a loss as whats wrong

if someone could point me in the right direction again please :oops:

Steve

Re: config settings

Posted: Tue Aug 28, 2012 4:40 pm
by DavidA
Hi Steve,

These are the default parameters i think:

Default Parameters – PIC

Compiler:


Location: C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe
Parameters: -v -t PIC%p "%f.c"

Linker/Assembler:

Location: C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe
Parameters: -ld "C:\Program Files\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"

Programmer:

Location: C:\Program Files\Matrix Multimedia\Flowcode V4\tools\PPP\PPPv3.exe
Parameters: -cs 2 -chip PIC%p -nogui "%f.hex"

[TICKED] “Use external program to set configuration options”

Location: C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe
Parameters: -cs 2 -chip PIC%p -config

Re: config settings

Posted: Tue Aug 28, 2012 5:01 pm
by Steve001
thanks david,
i am using win 7 pro those setting look as if they are for xp ? is that correct

as C:Program Files dosen't contain my matix stuff.

it is in C:\program files (x86)\matrix multimedia\

please correct me if i am wrong

I have the following settings

compiler location is

c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostc_pic16_flowcode.exe

-v -t PIC%p "%f.c"

Linker/Assember is

c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe

-ld "C:\Program Files\SourceBoost\lib" libc.pic18.lib "%f.obj" -t PIC%p -d "%d" -p "%f"

Programmer

C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe

-cs 2 -chip PIC%p -nogui "%f.hex"

External config option thing

C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe

-cs 2 -chip PIC%p -config

steve

Re: config settings

Posted: Tue Aug 28, 2012 5:07 pm
by DavidA
Hi Steve,

The paths i posted were for a 32bit operating system, for a 64bit operating system you would use "Program Files (x86)" for Flowcode, as it is a 32bit application being emulated on a 64bit OS.

c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe

-ld "C:\Program Files (x86)\SourceBoost\lib" libc.pic18.lib "%f.obj" -t PIC%p -d "%d" -p "%f"

You may need an x86 in the linker parameters too

Re: config settings

Posted: Tue Aug 28, 2012 7:51 pm
by Steve001
Bit confused with this now . .

Launching the linker/assembler...
c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe -ld "C:\Program Files\SourceBoost\lib" libc.pic16.lib "Flowcode1.obj" -t PIC16F887 -d "C:\Users\Ste\Desktop\Digital pot test" -p "Flowcode1"
BoostLink Optimizing Linker Version 7.03
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday

i understand this bit


c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe -ld

libc.pic16.lib "Flowcode1.obj" -t PIC16F887 - this is my chip

C:\Users\Ste\Desktop\Digital pot test" -p "Flowcode1" - this is my file



C:\Program Files\SourceBoost\lib

i cannot find SourceBoost folder ?

looked in C:\Program Files\ and c:\program files (x86) and c:\program files (x86)\matrix multimedia

is this where my problem lies ?

i have not use my flowcode for several months now dont understand why it's not working nice my last time i opened and used it ?

Steve

Re: config settings

Posted: Tue Aug 28, 2012 8:26 pm
by medelec35
These are settings for win7 64bit:

Compiler:
Location:
c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostc_pic16_flowcode.exe

Parameters:
-v -t PIC%p "%f.c"

Linker/Assembler
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"

Programmer:
Location:
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\tools\PPP\PPPv3.exe

Parameters:
-cs 2 -chip PIC%p -nogui "%f.hex"


External Program to set configuration options:
Location:
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe

Parameters:
-cs 2 -chip PIC%p -config


Problem you having is compiler/inker directory has to be \boostc\ and not \SourceBoost\

So maybe you have used other software like C or ASM for PIC?

Re: config settings

Posted: Tue Aug 28, 2012 9:26 pm
by Steve001
:D :D :D :D :D

Cheers Martin dont know why thats happend ?

i have however reinstalled ASMV4PICS and having another go with it has that altered the settings ?

so will i have to keep altering the compiler setup each time between flowcode & ASMV4PICS ?

steve

Re: config settings

Posted: Tue Aug 28, 2012 10:12 pm
by medelec35
No problem.
What about restore default in compiler options?

If that restores it wrong, then what about editing registry?
See:
http://www.matrixmultimedia.com/mmforum ... =26&t=6896
Its a great article Steve created.

Martin

Re: config settings

Posted: Wed Aug 29, 2012 5:59 pm
by Steve001
i did a restore defaults bit this restored wrong for some reason .

thanks for the link to the reg edit post will have a go at that later . need to read it fully first and understand it there is some strange symbols in there at the moment so i need to read it carfully.

Thanks again mate

steve :D

Re: config settings

Posted: Wed Aug 29, 2012 7:58 pm
by Enamul
Hi Steve,
I have read through the post of reg config yesterday after seeing the post here..Yes, you are right. Some strange characters in the post and that's all are in the important places. I think I would PM Steve to edit that which will avoid confusion.
But really a nice post..

Re: config settings

Posted: Wed Aug 29, 2012 8:34 pm
by medelec35
I see what you you mean about strange characters
The cause of those was due to updating forum software in Jan 2008. Some fonts and images got corrupted.

Here's want you can do Steve.

The link I posed does show you the location within the registry where default compiler setting are.
So you could either change settings to correct settings, or re-install Flowcode which should override the wrong settings.

Latter should be done as last result just in case of addition fixes, custom codes etc.

If your reluctant to do that then attached is a reg file for you to click which should sort out your issue.

Martin

Re: config settings

Posted: Wed Aug 29, 2012 9:49 pm
by Steve001
one again thanks :D

one question tho what will happen when i open asm4pic ? and have a go with that will i be back with the same problem ?

Steve

Re: config settings

Posted: Thu Aug 30, 2012 10:33 am
by Benj
Hi Steve,
one question tho what will happen when i open asm4pic ? and have a go with that will i be back with the same problem ?
No I don't think so, simply running the program shouldn't change the registry which is where the Flowcode compiler options are stored.