Pickit 2 and Flowcode 5

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Pickit 2 and Flowcode 5

Post 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.
Attachments
pickit 2 setup 5.png
(189.64 KiB) Downloaded 3422 times
SETUP LIGHT1.fcf
(8.5 KiB) Downloaded 288 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Pickit 2 and Flowcode 5

Post 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

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post by JDR04 »

Thanks. Will check it out when I get home. So, I assume all my programmer and compiler settings are correct?

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: Pickit 2 and Flowcode 5

Post 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"
Martin

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post 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?

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: Pickit 2 and Flowcode 5

Post by medelec35 »

Is laptop 32 or 64bit windows?
Can you post within code option all the compiler message.
Martin

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post 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

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post 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.
Attachments
Compiler Options-Compiler.jpg
Compiler Options-Compiler.jpg (54.77 KiB) Viewed 12734 times
CHIP Config.jpg
CHIP Config.jpg (51.07 KiB) Viewed 12734 times
Cannot find File -Error message.jpg
Cannot find File -Error message.jpg (25.7 KiB) Viewed 12734 times

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post by JDR04 »

Some more screen grabs..........
Attachments
Compiler OptionsProgrammer.jpg
Compiler OptionsProgrammer.jpg (80.03 KiB) Viewed 12734 times
Compiler Options-Linker-Assembler.jpg
Compiler Options-Linker-Assembler.jpg (59.87 KiB) Viewed 12734 times

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post 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

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: Pickit 2 and Flowcode 5

Post 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?
Martin

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post by JDR04 »

I used the DEFAULT setting at the options list window.Make any sense to you?

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: Pickit 2 and Flowcode 5

Post 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?
Martin

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post 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.
Attachments
SETUP LIGHT1.fcf
(8.5 KiB) Downloaded 202 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: Pickit 2 and Flowcode 5

Post 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?
Martin

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post by JDR04 »

Hi Martin,it does appear to be out of date. I've attached a screen grab for your perusal.Thanks a lot
Attachments
Flowcode 5-Version Screen.png
(70.73 KiB) Downloaded 3272 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: Pickit 2 and Flowcode 5

Post by medelec35 »

I thought that maybe the case.
Can you let me know how it goes if you try my suggestions please?
Martin

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post by JDR04 »

Sure,I;ll do it in the morning as there's rugby in the afternoon.

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: Pickit 2 and Flowcode 5

Post 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:
Martin

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post by JDR04 »

Steady now my friend, dont spoil the friendship.Speak to you tomorrow.

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post 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?

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: Pickit 2 and Flowcode 5

Post by medelec35 »

Hi John,
Entry to delete.png
(18.94 KiB) Downloaded 3242 times
Martin

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: Pickit 2 and Flowcode 5

Post by medelec35 »

Hi john,
Did any of the above post help to get v5 to work?
Martin

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post 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

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Pickit 2 and Flowcode 5

Post by JDR04 »

Still got error message of USB CABLE NOT CONNECTED.

Have attached the program for your perusal.Thanks again.
Attachments
SETUP LIGHT1.fcf
(8.5 KiB) Downloaded 176 times

Post Reply