Page 1 of 1

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

Posted: Wed May 06, 2015 9:07 am
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)

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

Posted: Wed May 06, 2015 4:43 pm
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

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

Posted: Thu May 07, 2015 2:03 am
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

===

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

Posted: Thu May 07, 2015 4:41 pm
by kersing
Could you try saving the source file in another folder, not on the desktop?

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

Posted: Thu May 07, 2015 7:41 pm
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

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

Posted: Fri May 08, 2015 1:26 am
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.

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

Posted: Fri May 08, 2015 5:56 am
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.