Page 1 of 1
V6 does not compile correctly on my Laptop
Posted: Sun Oct 25, 2015 9:21 pm
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.
Re: V6 does not compile correctly on my Laptop
Posted: Sun Oct 25, 2015 10:40 pm
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
Re: V6 does not compile correctly on my Laptop
Posted: Sun Oct 25, 2015 10:58 pm
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
Re: V6 does not compile correctly on my Laptop
Posted: Sun Oct 25, 2015 11:05 pm
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
Re: V6 does not compile correctly on my Laptop
Posted: Sun Oct 25, 2015 11:11 pm
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
Re: V6 does not compile correctly on my Laptop
Posted: Mon Oct 26, 2015 4:48 am
by SHORTCIRCUIT
Hi Martin
Thanks for the reply. I am posting the files you requested, hope you can find something.
Larry
Laptop on next post
Re: V6 does not compile correctly on my Laptop
Posted: Mon Oct 26, 2015 4:50 am
by SHORTCIRCUIT
Hi Martin
Here is Laptop data
Larry
Re: V6 does not compile correctly on my Laptop
Posted: Mon Oct 26, 2015 6:43 pm
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
Re: V6 does not compile correctly on my Laptop
Posted: Mon Oct 26, 2015 7:33 pm
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
Re: V6 does not compile correctly on my Laptop
Posted: Mon Oct 26, 2015 8:16 pm
by SHORTCIRCUIT
Hi Martin
Here are the c files.
- Laptop.c
- (65.92 KiB) Downloaded 411 times
Thanks
Larry
Re: V6 does not compile correctly on my Laptop
Posted: Mon Oct 26, 2015 8:21 pm
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
Re: V6 does not compile correctly on my Laptop
Posted: Mon Oct 26, 2015 8:46 pm
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
Re: V6 does not compile correctly on my Laptop
Posted: Mon Oct 26, 2015 9:13 pm
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.flowcode.co.uk/mmforums/viewt ... 505#p68301
Thank you for the help as always and also Jac
Larry