Flowcode V4

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

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: Flowcode V4

Post by medelec35 »

ITISVARESE wrote:Hello Benj,
all last Your solution (V4 in other directory) don't work....
This is a big problem for Vista users.
I agree. It could a Vista version issue.
On my laptop, which has Vista Home Premium SP1, flowcode V4 is working.
On My main PC I have not upgraded to SP1, and flowcode does not compile to hex - see above screen shot. However flowcode V3 does work.
Also referring to screen shot as you can see, file I was trying to compile is in a directory called converted.
The flowcode program be default goes into program files\matrix Multimedia\Flowcode V4 etc, and not in C:\root.
I will try re-installing V4 in a different directory from program files. Failing that, will upgrade to SP1 and will post findings.
Martin

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: Flowcode V4

Post by Benj »

Hello

I will try installing the "PS Tray Factory" software onto my Vista computer this weekend and see if it has any negative effects,

So far we have tested on a fairly large number of Vista machines using default and non default directories and found no problems at all.

Has anyone tried my suggestions to see if they help to get around the problem, Obviously not a long term solution but at least it might help with tracking the cause of the problem...
You could try moving your program to a directory just off the root to see if this helps the problem

Eg. C:\Progs\

If this doesnt help then another thing you could try is to install Flowcode into a folder off the root directory.

Eg C:\FC3 or c:\FC4

These tests will eliminate the path technicality which will hopefully help to get to the bottom of this problem.

ITISVARESE
Posts: 56
Joined: Sat Jul 07, 2007 3:00 pm
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: Flowcode V4

Post by ITISVARESE »

Hello Benj,
See up for me don't work.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: Flowcode V4

Post by saschech@gmx.de »

Hallo Benj
In the moment i have install v4 on my son`s del high-end laptop ,it works well
With ps tray factory i show the thame as on my pc..........

I want help,so i install to c:\flowcode V4 but it is the same situation!
File name: D:\sachs_work\Flowcode_V4_Examples\Flowcode_V4_Examples\Examples\Components\7 Segment\1. Displaying a number.c
Generated by: Flowcode v4.0.0.53
Date: Friday, June 12, 2009 19:37:46
Licence: Demo

***DEMO VERSION***


NOT FOR COMMERCIAL USE

http://www.matrixmultimedia.com


Launching the compiler...
C:\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F88 "1. Displaying a number.c"

...................
Return code = 0

FINISHED

Regards Wolfgang

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: Flowcode V4

Post by medelec35 »

Not sure if this will help.
Attached are two text files.
One is installation log from a working V4
Other is installation log from a non working V4
Could there be any clues why non working V4 does not compile a hex file by looking at both logs?
Installed V4 on both PCs as follows:
1) Un-installed V4 using add/remove in control panel.
2) Deleted both entries of V4 form registry files (HKEY_LOCAL_MACHINE\SOFTWARE\MatrixMM\FlowCodeV4) and (HKEY_CURRENT_USER\Software\matrixmm\FlowcodeV4)
Ran same install file on both PCs
Entered Pro Key.
Loaded same example file.
Results from non working PC:

Code: Select all

File name:     L:\Flowcode_V4_Examples\Examples\Interrupts\1. RB0 interrupts.c
Generated by:  Flowcode v4.0.0.53
Date:          Sunday, June 14, 2009 03:12:11
Licence:       Professional
Registered to: Martin


http://www.matrixmultimedia.com


Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F88 "1. RB0 interrupts.c"

.............
Return code = 0

FINISHED
Results from working PC:

Code: Select all

File name:     D:\Flowcode_V4_Examples\Examples\Interrupts\1. RB0 interrupts.c
Generated by:  Flowcode v4.0.0.53
Date:          Sunday, June 14, 2009 03:18:32
Licence:       Professional
Registered to: Martin


http://www.matrixmultimedia.com


Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F88 "1. RB0 interrupts.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday

Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited


1. RB0 interrupts.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\pp.exe" "D:\Flowcode_V4_Examples\Examples\Interrupts\1. RB0 interrupts.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\include" -d _PIC16F88 -la -c2 -o "D:\Flowcode_V4_Examples\Examples\Interrupts\1. RB0 interrupts.pp" -v -d _BOOSTC -d _PIC16 


.....

1. RB0 interrupts.c success

success

...
Return code = 0

Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "1. RB0 interrupts.obj" -t PIC16F88 -d "D:\Flowcode_V4_Examples\Examples\Interrupts" -p "1. RB0 interrupts"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday


Warning unreferenced functions removed:
	 FCI_FLOAT_TO_STRING	 in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
	 FCI_NUMBER_TO_HEX	 in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
	 FCI_STRING_TO_INT	 in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
	 FCI_STRING_TO_FLOAT	 in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
	 Wdt_msDelay	 in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
	 Wdt_Delay_S	 in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
	 Wdt_Delay_Ms	 in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
	 isinf	 in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h

Building CASM file
Memory Usage Report
===================
RAM available:368 bytes, used:36 bytes (9.8%), free:332 bytes (90.2%), 
Heap size:332 bytes, Heap max single alloc:110 bytes
ROM available:4096 words, used:95 words (2.4%), free:4001 words (97.6%)



success

...................
Return code = 0

FINISHED
I upgraded PC with non working V4 to Vista home premium SP1 form just Vista home premium. So both PC's have simular operating systems.
PC Spec non working V4:

Code: Select all

OS Name	MicrosoftΒ® Windows Vistaβ„Ά Home Premium
Version	6.0.6001 Service Pack 1 Build 6001
Other OS Description 	Not Available
OS Manufacturer	Microsoft Corporation
System Name	MARTIN-PC
System Manufacturer	HP-Pavilion
System Model	GQ504AA-ABU a6220.uk
System Type	X86-based PC
Processor	Intel(R) Core(TM)2 Duo CPU     E4400  @ 2.00GHz, 2000 Mhz, 2 Core(s), 2 Logical Processor(s)
BIOS Version/Date	Phoenix Technologies, LTD 5.21, 27/07/2007
SMBIOS Version	2.4
Windows Directory	C:\Windows
System Directory	C:\Windows\system32
Boot Device	\Device\HarddiskVolume1
Locale	United Kingdom
Hardware Abstraction Layer	Version = "6.0.6001.18000"
User Name	Martin-PC\Martin
Time Zone	GMT Daylight Time
Installed Physical Memory (RAM)	2.00 GB
Total Physical Memory	2.00 GB
Available Physical Memory	829 MB
Total Virtual Memory	4.23 GB
Available Virtual Memory	2.92 GB
Page File Space	2.29 GB
Page File	C:\pagefile.sys
PC Spec working V4

Code: Select all

OS Name	MicrosoftΒ® Windows Vistaβ„Ά Home Premium
Version	6.0.6001 Service Pack 1 Build 6001
Other OS Description 	Not Available
OS Manufacturer	Microsoft Corporation
System Name	MARTIN-PC
System Manufacturer	TOSHIBA
System Model	Satellite L350
System Type	X86-based PC
Processor	Intel(R) Pentium(R) Dual  CPU  T3400  @ 2.16GHz, 2166 Mhz, 2 Core(s), 2 Logical Processor(s)
BIOS Version/Date	INSYDE 1.60, 23/12/2008
SMBIOS Version	2.4
Windows Directory	C:\Windows
System Directory	C:\Windows\system32
Boot Device	\Device\HarddiskVolume2
Locale	United Kingdom
Hardware Abstraction Layer	Version = "6.0.6001.18000"
User Name	Martin-PC\Martin
Time Zone	GMT Daylight Time
Installed Physical Memory (RAM)	2.00 GB
Total Physical Memory	1.87 GB
Available Physical Memory	859 MB
Total Virtual Memory	3.98 GB
Available Virtual Memory	2.62 GB
Page File Space	2.16 GB
Page File	C:\pagefile.sys
Attachments
Working Flowcode V4 log from laptop.zip
(209.33 KiB) Downloaded 315 times
Non working Flowcode V4 log from pc.zip
(232.68 KiB) Downloaded 311 times
Martin

ITISVARESE
Posts: 56
Joined: Sat Jul 07, 2007 3:00 pm
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: Flowcode V4

Post by ITISVARESE »

Hello Benj,
very strange don't work on Vista SP2 and work on Seven RC1 7100 in VM VMWARE on PC that don't work.
On Seven i receive only this warning (also in PC with XP that work):

////////////////////////////////////////////////////////////////////////////////////////////////
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_msDelay in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
////////////////////////////////////////////////////////////////////////////////////////////////

Other: it is a case but medelec35 says that V4 don't work on Pavillon HP; also my PC is Pavillon HP with Vista.........

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: Flowcode V4

Post by Benj »

Hello

Thanks for all the responces here hopefully we are closer to a solution.
I want help,so i install to c:\flowcode V4 but it is the same situation!
Installing to "C:\Flowcode V4\" does not get around the 8.3 filename problem. Try "C:\FC4\"

Also thanks for the log files Medelec.
I have had a look through but I cant spot anything which looks incorrect or like it should cause these problems.

Im still digging trying to replicate this problem. Ill give it another go tonight and hopefully get somewhere with reproducing the problem and hopefully the fix.

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: Flowcode V4

Post by medelec35 »

Your welcome Ben.

If you want to paste a list of things to try on a PC with a non working V4 Fowcode, I'm sure you will get quiet a few volunteers including my self.
Any other information required, e.g registry screen shots etc just ask.

Would you like this thread to continue, or start posting in on V4 Flowcode section?
Martin

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: Flowcode V4

Post by saschech@gmx.de »

Hello Benj

The result with running ps tray , install c:\FC4\ :

File name: D:\sachs_work\V4_Examples\Components\7 Segment\2. Counting using loops.c
Generated by: Flowcode v4.0.0.53
Date: Monday, June 15, 2009 20:55:34
Licence: Demo

***DEMO VERSION***


NOT FOR COMMERCIAL USE

http://www.matrixmultimedia.com


Launching the compiler...
C:\FC4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F88 "2. Counting using loops.c"

...................
Return code = 0

FINISHED
_____________________________________________________________

stopp ps tray :

File name: D:\sachs_work\V4_Examples\Components\7 Segment\2. Counting using loops.c
Generated by: Flowcode v4.0.0.53
Date: Monday, June 15, 2009 20:59:00
Licence: Demo

***DEMO VERSION***


NOT FOR COMMERCIAL USE

http://www.matrixmultimedia.com


Launching the compiler...
C:\FC4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F88 "2. Counting using loops.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday

Single user Lite License (Unregistered) for 0 node(s)
Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only


2. Counting using loops.c
Starting preprocessor: C:\FC4\BoostC\pp.exe "D:\sachs_work\V4_Examples\Components\7 Segment\2. Counting using loops.c" -i C:\FC4\BoostC\include -d _PIC16F88 -la -c2 -o "D:\sachs_work\V4_Examples\Components\7 Segment\2. Counting using loops.pp" -v -d _BOOSTC -d _PIC16

2. Counting using loops.c success

success

...................
Return code = 0

Launching the linker/assembler...
C:\FC4\BoostC\boostlink.pic.exe -ld "C:\FC4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "2. Counting using loops.obj" -t PIC16F88 -d "D:\sachs_work\V4_Examples\Components\7 Segment" -p "2. Counting using loops"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday


Caution: Delay inaccurrate: 'delay_ms', Delay overhead:0ms, Unit delay:1.00016ms, Delay resolution:1 units
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\FC4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\FC4\FCD\internals.h
FCI_STRING_TO_INT in: C:\FC4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\FC4\FCD\internals.h
Wdt_msDelay in: C:\FC4\FCD\internals.h
Wdt_Delay_S in: C:\FC4\FCD\internals.h
Wdt_Delay_Ms in: C:\FC4\FCD\internals.h
isinf in: C:\FC4\FCD\internals.h
FCM_INTERRUPT_TMR0 in: D:\sachs_work\V4_Examples\Components\7 Segment\2. Counting using loops.c
FCM_INTERRUPT_RB0INT in: D:\sachs_work\V4_Examples\Components\7 Segment\2. Counting using loops.c
FCM_INTERRUPT_PORTB in: D:\sachs_work\V4_Examples\Components\7 Segment\2. Counting using loops.c
FCD_LED7Seg10_ClearDigit in: D:\sachs_work\V4_Examples\Components\7 Segment\2. Counting using loops.c

Building CASM file
Memory Usage Report
===================
RAM available:368 bytes, used:47 bytes (12.8%), free:321 bytes (87.2%),
Heap size:129 bytes, Heap max single alloc:94 bytes
ROM available:4096 words, used:216 words (5.3%), free:3880 words (94.7%)



success

...................
Return code = 0

FINISHED
_____________________________________________________________________

It is the thame situation......

Regards Wolfgang

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Flowcode V4

Post by Steve »

Hello everyone,

I've been able to replicate this problem, so I should have a solution for you later today. Watch this space!

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Flowcode V4

Post by Steve »

Ok, no solution yet but I do have a description of the problem and a workaround.

The problem occurs on my Vista Ultimate laptop (with SP1). To replicate the problem, run Flowcode, create a new file and save it. Try to compile this and it will not compile. You will get the "Launching the compiler..." message, and after a short while you will receive the "Return code = 0" message.

As a workaround, you can now close Flowcode. Then restart it, and load the file you just saved. This should compile ok, as should any file you open.

BUT... as soon as you create a new file and save it, the problem will occur again. And you will not be able to compile any programs until you close and restart Flowcode. This seems very strange - something occurs when saving a new file that prevents the compilation. I will continue to investigate this today.

This problem did not occur on Vista without SP1. Nor does it occur on XP (SP3).

Can others on this forum please tell me if this is the correct description of your problem.

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: Flowcode V4

Post by medelec35 »

steve wrote:This problem did not occur on Vista without SP1.
The problem of not compiling to hex was occurring on windows vista pre sp1.
As stated in my previous post Up graded to sp1 so both PC’s can be compared like for like.
steve wrote:Can others on this forum please tell me if this is the correct description of your problem.
Yes same issue. I.e
steve wrote:Try to compile this and it will not compile. You will get the "Launching the compiler..." message, and after a short while you will receive the "Return code = 0" message.
Last edited by medelec35 on Wed Jun 17, 2009 11:55 am, edited 1 time in total.
Martin

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Flowcode V4

Post by Steve »

Does my workaround work for you??

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: Flowcode V4

Post by medelec35 »

I will not have access to the non-working V4, until 6pm tonight.
I will try what you suggest, and post results then.

I did not save any files prior to compiling. I loaded Flowcode with a sample that is in \Flowcode_V4_Examples\Examples\Variables & Operators
Available as a download from Matrix site.
None of those examples complied at all.
Martin

ITISVARESE
Posts: 56
Joined: Sat Jul 07, 2007 3:00 pm
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: Flowcode V4

Post by ITISVARESE »

Hello,
workaround don't work for me (Vista SP2)

ITISVARESE
Posts: 56
Joined: Sat Jul 07, 2007 3:00 pm
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: Flowcode V4

Post by ITISVARESE »

Hello;
I have made other test: installed on same PC V3 and V4 , created a new file on V3
and set compiler option on V3 to Boostc directory of V4: file compiled ok and reverse not work.

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: Flowcode V4

Post by medelec35 »

steve wrote:Does my workaround work for you??

No, work around does not work for me either.
Martin

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Flowcode V4

Post by Steve »

Hi everybody,

Please see this thread:
http://www.matrixmultimedia.com/mmforum ... =29&t=6481

I am hopeful that this will help get closer to a solution to this problem!

Post Reply