Page 1 of 2

Pickit 2 and Flowcode 5

Posted: Tue Feb 05, 2019 3:27 pm
by JDR04
Hi, cant seem to get this program right.

Have had to reinstall flowcode 5 onto a new laptop.Windows 8.1 64 bit.
I.ve attached the flowchart and error and hope somebody can point out where I went wrong.Thanks a lot.

Re: Pickit 2 and Flowcode 5

Posted: Tue Feb 05, 2019 4:09 pm
by Benj
Hello,

Some antivirus software will flag files with two or more . in the filename as viruses or malware and get rid of them. Maybe check your antivirus and see if the mentioned files are where they should be.

e.g.

libc.pic16.lib
rand.pic16.lib

Re: Pickit 2 and Flowcode 5

Posted: Tue Feb 05, 2019 5:40 pm
by JDR04
Thanks. Will check it out when I get home. So, I assume all my programmer and compiler settings are correct?

Re: Pickit 2 and Flowcode 5

Posted: Tue Feb 05, 2019 5:44 pm
by medelec35
Hi John,
It looks like path settings of Linker within compiler options are wrong, they don't match!
If you look at your screen shot you will see both C:\Program Files (x86)\ and C:\Program Files\ are both used.
Could that be the issue?
My path for 64 bit windows for the linker settings are:
Location

Code: Select all

C:\Program Files (x86)\Flowcode\v5\Tools\boostc\boostlink_pic.exe
Parameters

Code: Select all

-ld "C:\Program Files (x86)\Flowcode\v5\Tools\BoostC\lib" libc.pic16.lib rand.pic16.lib float.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 07, 2019 12:02 am
by JDR04
Hi Martin, tried changing the settings to what you use but to no avail.What I dont understand is that I used a program from about a year ago that did work but now does not. Different laptop but same software and pickit 2 programmer. Any ideas?

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 07, 2019 12:24 am
by medelec35
Is laptop 32 or 64bit windows?
Can you post within code option all the compiler message.

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 07, 2019 1:21 am
by JDR04
Sure, laptop is 8.1 64 bit. I'll do screen grabs and post tomorrow for you to peruse. Thanks for your help. John

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 07, 2019 9:24 am
by JDR04
Hi Martin, not sure where I find the CODE OPTION within compiler. I have however done screen grabs of various compiler and programmer settings in the hope they will help with the issue.

Could I ask what programmer could I upgrade to for Flowcode 5. As I am still an absolute beginner I cant justify upgrading Flowcode 5 yet.I will however be getting a new laptop running Windows 10 soon. Thanks a lot.

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 07, 2019 9:26 am
by JDR04
Some more screen grabs..........

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 07, 2019 10:15 am
by JDR04
Hi Martin,just so I dont waste your time I have resolved the hex issue in the last 5 minutes.Now "dont have connected cable"
Let me work on it for a while and if you dont mind I'll get back to you if I cant resolve it.
Thanks a lot.....John

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 07, 2019 10:32 am
by medelec35
JDR04 wrote:I dont waste your time I have resolved the hex issue in the last 5 minutes.
That's great!
Thanks for letting us know.
So you changed all the Program Files to Program Files (x86) within programmer settings as well?
Strange how there is a mixture, unless you manually copied and paste settings?

Re: Pickit 2 and Flowcode 5

Posted: Thu Feb 07, 2019 6:28 pm
by JDR04
I used the DEFAULT setting at the options list window.Make any sense to you?

Re: Pickit 2 and Flowcode 5

Posted: Fri Feb 08, 2019 2:33 pm
by medelec35
JDR04 wrote:I used the DEFAULT setting at the options list window.Make any sense to you?
Not to me as it should know you are using 64bit windows.
Unless the Flowcode folder was copied and pasted, rather than installed?

Re: Pickit 2 and Flowcode 5

Posted: Fri Feb 08, 2019 8:39 pm
by JDR04
Nope, I installed it using my original disc. Now I've got USB CABLE CONNECTED error which I need help with please. Have attached the program.Many thanks.

Re: Pickit 2 and Flowcode 5

Posted: Fri Feb 08, 2019 8:52 pm
by medelec35
I have a suggestion.
Make sure flowcode is not running.

Run regedit.
Delete HKEY_CURRENT_USER\Software\MatrixMM\FlowcodeV5 key.
Uninstall Flowcode V5.

Download Flowcode V5.5 installer
Install Flowcode V5.5.
If installed from the disc then it's probably out of date, hence the issues you are facing?
When I select help and about, my version is:
Flowcode V5.png
(67.75 KiB) Downloaded 3273 times
What is your version?

Re: Pickit 2 and Flowcode 5

Posted: Fri Feb 08, 2019 9:05 pm
by JDR04
Hi Martin,it does appear to be out of date. I've attached a screen grab for your perusal.Thanks a lot

Re: Pickit 2 and Flowcode 5

Posted: Fri Feb 08, 2019 9:09 pm
by medelec35
I thought that maybe the case.
Can you let me know how it goes if you try my suggestions please?

Re: Pickit 2 and Flowcode 5

Posted: Fri Feb 08, 2019 9:41 pm
by JDR04
Sure,I;ll do it in the morning as there's rugby in the afternoon.

Re: Pickit 2 and Flowcode 5

Posted: Fri Feb 08, 2019 9:57 pm
by medelec35
Wow, can't let i get in the way of rugby!
My cousin is a huge rugby fan and she would have told me off if I suggested to try during rugby. :lol:

Re: Pickit 2 and Flowcode 5

Posted: Fri Feb 08, 2019 10:52 pm
by JDR04
Steady now my friend, dont spoil the friendship.Speak to you tomorrow.

Re: Pickit 2 and Flowcode 5

Posted: Sat Feb 09, 2019 9:20 am
by JDR04
Can only find something to do with flowcode on this path
HKEY_CURRENT_USER

> Software > a file with Flowcode v4, flowcode v5 and PPPv3

I assume this is the one you want me to delete? The whole file or just the v5 part?

Re: Pickit 2 and Flowcode 5

Posted: Sat Feb 09, 2019 2:32 pm
by medelec35
Hi John,
Entry to delete.png
(18.94 KiB) Downloaded 3242 times

Re: Pickit 2 and Flowcode 5

Posted: Sun Feb 10, 2019 8:33 pm
by medelec35
Hi john,
Did any of the above post help to get v5 to work?

Re: Pickit 2 and Flowcode 5

Posted: Mon Feb 11, 2019 2:53 pm
by JDR04
Hi Martin, deleted as you suggested and then re-installed off your link. Installation went well with no hitches. Have not tried to program chip with pickit 2 yet.Will give it a bash later and let you know

Re: Pickit 2 and Flowcode 5

Posted: Mon Feb 11, 2019 5:02 pm
by JDR04
Still got error message of USB CABLE NOT CONNECTED.

Have attached the program for your perusal.Thanks again.