I can not get to my ICD3 or my PICkit3 to work in flowcode

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

Moderator: Benj

Post Reply
kennethnilsen69
Posts: 101
Joined: Tue Sep 01, 2015 9:37 pm
Been thanked: 14 times
Contact:

I can not get to my ICD3 or my PICkit3 to work in flowcode

Post by kennethnilsen69 »

As the headline says so I do not get any of them to work in flowcode.
I have tested them both in MPLABX IDE and here works them properly.
I can make the program in flowcode and upload the hex file with MPLABX but it is little inconvenient way of working

I've tried everything in this post but this will does not work for me.
http://www.matrixtsl.com/mmforums/viewt ... ing#p50830
I run windows10 64bit

whatever I do I get always this error:

Launching the programmer...
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe -P18F2685 -F"Flowcode1.hex" -V5 -E -M

Initialize Failed !!!
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 1

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: I can not get to my ICD3 or my PICkit3 to work in flowco

Post by kersing »

PICkit3 requires the mplab (not mplabx) firmware and drivers loaded for it to work. Did you use the Microchip utility to switch to mplab mode?
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

kennethnilsen69
Posts: 101
Joined: Tue Sep 01, 2015 9:37 pm
Been thanked: 14 times
Contact:

Re: I can not get to my ICD3 or my PICkit3 to work in flowco

Post by kennethnilsen69 »

I have today only MPLABX installed. I'll install MPLAB 8_92 tonight and we'll see if that helps :-)
Thanks

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: I can not get to my ICD3 or my PICkit3 to work in flowco

Post by kersing »

The utility to switch is (was) part of the mplabx install.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

kennethnilsen69
Posts: 101
Joined: Tue Sep 01, 2015 9:37 pm
Been thanked: 14 times
Contact:

Re: I can not get to my ICD3 or my PICkit3 to work in flowco

Post by kennethnilsen69 »

MPLAB 8_92 is now installed and the driver set to it. with my pickit3 then I get now this message
Connecting...
PICkit 3 detected
Connecting to PICkit 3...
Running self test...
Self test completed
Firmware Suite Version...... 01.40.13
Firmware type......................PIC18F ..

PICkit 3 Connected.

Invalid Device Detected !!!
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 5


FINISHED

and with ICD3 then I get now this message
Launching the programmer...
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe -P18F2585 -F"Leaf_ComboBox_OVMS.hex" -V5 -E -M

No PICkit 3 Connected

Invalid Device Detected !!!
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 5


FINISHED

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: I can not get to my ICD3 or my PICkit3 to work in flowco

Post by DavidA »

Hi, Have you been through this Wiki page?

http://www.matrixtsl.com/wiki/index.php ... ming_Tools

Scroll down to PICKit3

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

Re: I can not get to my ICD3 or my PICkit3 to work in flowco

Post by Kenrix2 »

I am not sure if this will work for you but, if you have tried everything else and still can not get the PICkit3 to work you could try the following:

Download and install the PICkit3 Programmer App and Scripting Tool v3.10 which is available in the Downloads Archive section. It is probably on the same page that had MPLAB IDE v8.92. Run the app (you might have to select run in compatibility mode), select Tools in the top menu then Download PICkit Operating system. You should now get PICkit3 connected in the main window of this app. Now select Tools again and Revert to MPLAB Mode. Once that completes follow the directions in this video to manually install a new operating system - https://www.youtube.com/watch?v=0s15AcBFwrQ
Run Flowcode 6, select Build, Compiler Options..., select the Programmer tab and in the Location: box, browse to pk3cmd.exe in your MPLABX folder. It might look something like this:
C:\Program Files (x86)\Microchip\MPLABX\v3.20\mplab_ipe\pk3cmd.exe . In the Parameters: box paste this if your using 5 volt devices, -P$(chip) -F$(target).hex -V5 -E -M
Click the save icon, give this setting a name like "PICkit3 5 volt". Make sure this named setting is highlighted in the list, then check the box: Default compiler for the platform C for PIC.
Try programming a chip to see if it works.

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: I can not get to my ICD3 or my PICkit3 to work in flowco

Post by Benj »

We have a customer who has provided full details of how to get a PICkit working with Flowcode with screenshots etc.

http://woodworkerb.com/pickit-3-and-flowcode-6/

This is also linked from the Third party tools wiki page.

Post Reply