Flowcode v6.1.1.0 -- won't generate hex code

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
gtc
Posts: 69
Joined: Mon Mar 23, 2015 5:34 am
Has thanked: 30 times
Been thanked: 15 times
Contact:

Flowcode v6.1.1.0 -- won't generate hex code

Post by gtc »

Am trying to help a friend solve this problem.

Chip is 16F88
OS is Windows 8.1 Pro
Flowcode version 6.1.1.0 (fully licensed)

When he uses the Compile to Hex command, the log file reports "success" but only these 3 files are created:

X.c
X.obj
X.msg.txt

I can find no error report.

He has tried both re-installing Flowcode and disabling the AVG anti-virus, to no avail.

I have looked at the configuration settings and they seem to be fine.

The rub is, that Flowcode 6 running on Windows 7 does generate the hex file for that program, as expected.

(I should add that I have verified that the installation isn't working with a trivial program, so the problem appears to be independent of program code)

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: Flowcode v6.1.1.0 -- won't generate hex code

Post by EtsDriver »

Sounds like there are some problems with linker assembler settings, are those set to the default?
Compiler "default" is bold

And could you upload the "x.msg.txt" log file for us to review?

Im not having any problems with the v6.1.1.0 and 16F88.
And im running Flowcode on Windows 8.1 Pro, 64bit machine.

*******
When i press the generate HEX file (circled in blue), i get following output to a folder on right:

outputted files after pressing compile to HEX
Ill just keep the good work up!

gtc
Posts: 69
Joined: Mon Mar 23, 2015 5:34 am
Has thanked: 30 times
Been thanked: 15 times
Contact:

Re: Flowcode v6.1.1.0 -- won't generate hex code

Post by gtc »

Thanks for the reply.

I checked the compiler and linker parameters before posting on here, and they were DEFAULT. My friend has re-installed Flowcode, too.

Here is the msg.txt file contents:

===

Target folder: C:\Users\ADMINI~1\Desktop
Source name: C:\Users\Administrator\Desktop\QuickTest.fcfx
Title:
Description:
Device: PIC.16F.16F88
Generated by: Flowcode v6.1.0.0
Date: Thursday, May 07, 2015 07:47:59
Users: 1
Registered to: 66067916

NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_16f.exe -v -t PIC16F88 "QuickTest.c"
Launching BoostC...
BoostC Optimizing C Compiler Version 7.20 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2013 Pavel Baranov
Copyright(C) 2004-2013 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


QuickTest.c
Starting preprocessor: "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\pp.exe" QuickTest.c -i "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include" -d _PIC16F88 -la -c2 -o QuickTest.pp -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX

...............
QuickTest.c success

success
Completed BoostC compilation, return = 0

Launching the linker/assembler...
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostbuild_server.exe -ld "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\lib" libc_16F.lib rand_16F.lib float_16F.lib "QuickTest.obj" -t PIC16F88 -d "C:\Users\ADMINI~1\Desktop" -p "QuickTest" -swcs 6 2
SourceBoost Build Server Version 1.1 (service)
http://www.sourceboost.com
Copyright(C) 2010-2012 Pavel Baranov
Copyright(C) 2010-2012 David Hobday



FINISHED

===

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Flowcode v6.1.1.0 -- won't generate hex code

Post by kersing »

Could you try saving the source file in another folder, not on the desktop?
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: Flowcode v6.1.1.0 -- won't generate hex code

Post by EtsDriver »

It seems your output folder is messed up.

Code: Select all

Target folder: C:\Users\ADMINI~1\Desktop
Source name: C:\Users\Administrator\Desktop\QuickTest.fcfx
Title: 
Description: 
Device: PIC.16F.16F88
Double check that linker/assembler settings have following parameters:

Code: Select all

-ld "$(appdir)compilers\pic\boostc\lib" libc_$(family:/12F/16F).lib rand_$(family:/12F/16F).lib float_$(family:/12F/16F).lib "$(target).obj" -t PIC$(chip:u) -d "$(outdir:~-1)" -p "$(target)" -swcs 6 2
Try using different folder or place for the code, you could try saving into C:\Users\Administrator\Desktop\<folder here>\<yourfile.fcfx>

I tested outputting to desktop/saving FCFX to desktop and then compiling, and i had no problems, but my line looks like this:

Code: Select all

Target folder: C:\Users\Jari\Desktop
Source name:   C:\Users\Jari\Desktop\test.fcfx
Ill just keep the good work up!

gtc
Posts: 69
Joined: Mon Mar 23, 2015 5:34 am
Has thanked: 30 times
Been thanked: 15 times
Contact:

Re: Flowcode v6.1.1.0 -- won't generate hex code

Post by gtc »

Just to reiterate: it's not my PC, nor is it my actual problem. (I am playing the translator role for a friend whose written English is not strong.)

I have observed that the hex file generate step is not occurring regardless of where the source folder/directory resides on his PC. The Windows file search function finds no associated .hex file anywhere on his hard drive.

Comparing your given linker/assembler settings to the expanded values in the QuickTest.msg.txt logfile, I see no difference.

gtc
Posts: 69
Joined: Mon Mar 23, 2015 5:34 am
Has thanked: 30 times
Been thanked: 15 times
Contact:

Re: Flowcode v6.1.1.0 -- won't generate hex code

Post by gtc »

Okay, problem solved.

While looking over his shoulder, I got my friend to uninstall Flowcode and then use Regedit to find and delete any remaining references to 'Flowcode' in the Windows Registry -- and there were lots of remaining references.

Then we reinstalled Flowcode and it worked perfectly.

So, whatever was causing the problem seems to be associated with the uninstall script not cleaning up the Registry. Something for Matrix to look into.

Post Reply