V6 does not compile correctly on my Laptop

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
SHORTCIRCUIT
Posts: 155
Joined: Thu Feb 10, 2011 4:39 am
Location: Las Vegas, Nevada USA
Has thanked: 40 times
Been thanked: 19 times
Contact:

V6 does not compile correctly on my Laptop

Post by SHORTCIRCUIT »

I am using V6 Professional on my home computer and everything works correctly there.
However, when I try to compile on my laptop, it compiles with no errors but when I program the chip 30F3012 the chip won't run.
So to prove weather it is Flowcode or the programmer I brought the hex file to the laptop from the home computer using the same programmer
and the chip runs great when programmed from the laptop. The only thing I can think of is that the laptop is not compiling the program correctly.
I guess I should mention that I copied the flowcode program from the home computer to the laptop and I checked the build data, clock speed, etc.

I am hoping that someone has a suggestion as I need to be able to program in the field. In the past, I did use this laptop in the field but I was
using V5 and now I am using V6.

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Re: V6 does not compile correctly on my Laptop

Post by acestu »

SHORTCIRCUIT wrote:I am using V6 Professional on my home computer and everything works correctly there.
However, when I try to compile on my laptop, it compiles with no errors but when I program the chip 30F3012 the chip won't run.
So to prove weather it is Flowcode or the programmer I brought the hex file to the laptop from the home computer using the same programmer
and the chip runs great when programmed from the laptop. The only thing I can think of is that the laptop is not compiling the program correctly.
I guess I should mention that I copied the flowcode program from the home computer to the laptop and I checked the build data, clock speed, etc.

I am hoping that someone has a suggestion as I need to be able to program in the field. In the past, I did use this laptop in the field but I was
using V5 and now I am using V6.

Hi Shortcircuit,

when you say you copied the Flowcode program off your home PC, should you not of installed it because Windows Ini files will not be installed.

Thanks
Stuart
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

SHORTCIRCUIT
Posts: 155
Joined: Thu Feb 10, 2011 4:39 am
Location: Las Vegas, Nevada USA
Has thanked: 40 times
Been thanked: 19 times
Contact:

Re: V6 does not compile correctly on my Laptop

Post by SHORTCIRCUIT »

Hi Stuart
Thanks for the reply. I did install Flowcode V6 as normal and registered. I was referring to copying the *.fcfx file.
Larry

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Re: V6 does not compile correctly on my Laptop

Post by acestu »

Hi,

It may be a license issue, If I remember right you can install Flowcode on more than 1 computer but you can only have 1 running at a time, the Matrix guys will know.

cheers
Stuart
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

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: V6 does not compile correctly on my Laptop

Post by medelec35 »

Hi Larry,
Can you post hex files produced by main PC and Laptop (rename so we know which is which)
I can then compare both to see what's different.
It would also help if you can post the flowchart.

Martin
Martin

SHORTCIRCUIT
Posts: 155
Joined: Thu Feb 10, 2011 4:39 am
Location: Las Vegas, Nevada USA
Has thanked: 40 times
Been thanked: 19 times
Contact:

Re: V6 does not compile correctly on my Laptop

Post by SHORTCIRCUIT »

Hi Martin
Thanks for the reply. I am posting the files you requested, hope you can find something.
Larry
Home Computer.fcfx
(20.14 KiB) Downloaded 329 times
Home Computer.hex
(35.7 KiB) Downloaded 341 times
Laptop on next post
Attachments
Home Computer.msg.txt
(5.35 KiB) Downloaded 240 times

SHORTCIRCUIT
Posts: 155
Joined: Thu Feb 10, 2011 4:39 am
Location: Las Vegas, Nevada USA
Has thanked: 40 times
Been thanked: 19 times
Contact:

Re: V6 does not compile correctly on my Laptop

Post by SHORTCIRCUIT »

Hi Martin

Here is Laptop data

Larry
Laptop.hex
(35.63 KiB) Downloaded 341 times
Laptop.msg.txt
(4.88 KiB) Downloaded 308 times

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: V6 does not compile correctly on my Laptop

Post by medelec35 »

Hi Larry,
Can you also post .c files from both please.
I can't guarantee I can help as not as familiar with DsPIC as I am with pic.

When compiled on my home computer, hex file matches hex file from your home PC

Martin
Martin

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: V6 does not compile correctly on my Laptop

Post by kersing »

Hi Larry,

Can you check if you updated any files on your home PC because you required a bug fix? A quick compare of file dates should work. I'm thinking of FCD, cal and component files.

Best regards,

Jac
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

SHORTCIRCUIT
Posts: 155
Joined: Thu Feb 10, 2011 4:39 am
Location: Las Vegas, Nevada USA
Has thanked: 40 times
Been thanked: 19 times
Contact:

Re: V6 does not compile correctly on my Laptop

Post by SHORTCIRCUIT »

Hi Martin
Here are the c files.
Home Computer.c
(65.95 KiB) Downloaded 313 times
Laptop.c
(65.92 KiB) Downloaded 323 times
Thanks
Larry

SHORTCIRCUIT
Posts: 155
Joined: Thu Feb 10, 2011 4:39 am
Location: Las Vegas, Nevada USA
Has thanked: 40 times
Been thanked: 19 times
Contact:

Re: V6 does not compile correctly on my Laptop

Post by SHORTCIRCUIT »

Hi Jac
I did have one of the CAL file updated
PIC16BIT_CAL_ADC.c

I have not yet checked the other sections but I just noticed that Flowcode was installed in Program files Dir (x86)on the Laptop
not (x86) on the Home computer. Could that be causing the trouble?

Just checked system information and the Home computer is listed as a x86 system.

Too many components to check, should I just copy the entire component File from Home to Laptop?

Thank you
Larry

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: V6 does not compile correctly on my Laptop

Post by medelec35 »

Flowcode should be automatically installed in x86 if 64 bit windows.
Since C files match I'm struggling to see what the issue is

One thing to try is to copy the whole Flowcode 6 directory from home PC, paste on a flash drive.
Then plug flash drive into laptop and copy Flowcode 6 and past anywhere like on the main root, within documents folder etc.
Then run Flowcode.exe for within new Flowcode 6 directory.
I would not suggest overwriting original Flowcode 6 directory just yet as it may prevent us from finding out whats going on.

Martin
Martin

SHORTCIRCUIT
Posts: 155
Joined: Thu Feb 10, 2011 4:39 am
Location: Las Vegas, Nevada USA
Has thanked: 40 times
Been thanked: 19 times
Contact:

Re: V6 does not compile correctly on my Laptop

Post by SHORTCIRCUIT »

Hi Martin

Its now working. I copied the "PIC16BIT_CAL_ADC" and replaced the older one on the Laptop.
That seems to have done the trick. I don't know why!! I had trouble with this before and Benj
posted the new PIC16BIT_CAL_ADC in my thread. So the chip was probably running but not getting
updated with new analog data so it appeared not to be running.

http://www.matrixtsl.com/mmforums/viewt ... 505#p68301

Thank you for the help as always and also Jac

Larry

Post Reply