Flow Code V5 & Windows 8 & PICKit3

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

Post Reply
keejay
Flowcode v5 User
Posts: 115
Joined: Tue Jul 23, 2013 10:02 am
Been thanked: 15 times

Flow Code V5 & Windows 8 & PICKit3

Post by keejay »

Hi all

I was wondering if anyone could help me with the following issue:

I have FLowcode V5 for the PIC's. I am struggling to get my PICKit3 to work with Flowcode in Windows 8. My previous laptop (windows 7, 32 bit) worked perfectly, but has unfortunately packed up and I have no option but to use my new laptop which is 64 bit Windows 8. I keep getting the following when I try and program a PIC directly from Flowcode with the PICKit3...



Launching the programmer...
C:\Program Files (x86)\Flowcode\v5\Tools\PICkit3\PK3CMD.exe -P18F43K22 -FWaterLevel.hex -E -M -Y
Return code = -1073741515

Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.


FINISHED

This issue is getting a little urgent and would appreciate any help.

Incidentally, I have exactly the same problem with my desktop computer that runs Windows 7 in 64bit mode.

I really think that this issue has something to do with the 64bit mode of windows. I can't imagine that I'm the only one with this problem considering that both my computers are giving me the same error. I've tried running Flowcode as an administrator, but still no luck.



Many thanks in advance

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: Flow Code V5 & Windows 8 & PICKit3

Post by dazz »

HI
A couple of things can you program a hex file to chip using the pickit3 as a standalone programmer(if so we know the pickit3 works.
try this thread as your parameters dont look right

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

keejay
Flowcode v5 User
Posts: 115
Joined: Tue Jul 23, 2013 10:02 am
Been thanked: 15 times

Re: Flow Code V5 & Windows 8 & PICKit3

Post by keejay »

Hi dazz,

The PICKit3 works perfectly with mplab X on my new laptop. So I'm 100% sure it's not the PicKit 3 that's faulty. Definitely a setting or something that has changed between my old laptop and new.

Is there anyone using a PicKit 3 with windows8 to program a pic using ICSP? Maybe I could compare settings?

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

Re: Flow Code V5 & Windows 8 & PICKit3

Post by kersing »

Did you have mplab 8.xx on your old system? There could be a dependency on it being installed.

Also, is the PICkit set to mplab mode? See this message.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: Flow Code V5 & Windows 8 & PICKit3

Post by dazz »

Hi Kejay
Sorry i forgot to add the link, kersing has kindly provided it

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

keejay
Flowcode v5 User
Posts: 115
Joined: Tue Jul 23, 2013 10:02 am
Been thanked: 15 times

Re: Flow Code V5 & Windows 8 & PICKit3

Post by keejay »

Hi gents,

Thanks for all this info. I will definitely give that a try tomorrow. It is quite strange that the PK3 worked 100% with flowcodeV5 on my older laptop without these settings. At least I am able to program the PIC using ICSP with the .hex file that flowcode generates by importing it into MPLAB X so I can get the job done, just a bit cumbersome needing 2 programs to do the job when a month ago flowcode did everything. I'll let you know what transpires. And thanks for taking the time to help a newbie to flowcode like myself.

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: Flow Code V5 & Windows 8 & PICKit3

Post by Benj »

Hello,

I found that the newer stand alone PICkit 3 tool came with a new PICkit OS which meant it no longer worked with my version of MPLAB or the command line tool that Flowcode uses. I went back to the older version of the tool, downloaded the older firmware and it then worked correctly again.

Also note the newer version of the tool is very buggy (crashes all the time on my PC and hangs when you try and close it) and has a very restricted device set as apposed to the older version.

See this topic for details.
http://www.microchip.com/forums/m536257.aspx

Also note the red text on this page.
http://www.microchip.com/stellent/idcpl ... ts=pickit3

Post Reply