config settings

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
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

config settings

Post 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
Attachments
Capture1.JPG
(144.62 KiB) Downloaded 1934 times
Capture.JPG
Capture.JPG (84.26 KiB) Viewed 8551 times
Success always occurs in private and failure in full view.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: config settings

Post 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

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: config settings

Post 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
Success always occurs in private and failure in full view.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: config settings

Post 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

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: config settings

Post 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
Success always occurs in private and failure in full view.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: config settings

Post 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?
Martin

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: config settings

Post 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
Success always occurs in private and failure in full view.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: config settings

Post 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
Martin

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: config settings

Post 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
Success always occurs in private and failure in full view.

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: config settings

Post 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..
Enamul
University of Nottingham
enamul4mm@gmail.com

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: config settings

Post 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
Attachments
Flowcode Default with PPP64Bit.zip
(641 Bytes) Downloaded 254 times
Martin

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: config settings

Post 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
Success always occurs in private and failure in full view.

User avatar
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: config settings

Post 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.

Post Reply