V6 and pickit 3

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

Moderator: Benj

Post Reply
clee
Flowcode v5 User
Posts: 15
Joined: Fri Dec 09, 2011 4:23 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

V6 and pickit 3

Post by clee »

I just updated from FC5 to version 6.

I cant get it to work with my Pickit3. The Pickit worked fine in FC5. I've set up the compiler options based on the Wiki settings for Pickit3 and dsPIC.

I can't set "Enable writing of configuration to chip" for the programer. If I enter information there it isn't saved.

The program compiles to hex fine when compiling to chip I get this error:
----------------------------------------------------------------------------
HEX file creation successful!

Launching the programmer...
C:\Program Files\Flowcode 6\tools\PICkit3\PK3CMD.exe "C:\Program Files\Flowcode 6\Tools\Pickit3\ -P33FJ128GP802 -FFGS_Proto_RUN_v6.hex -E -M -L -V3.3


No Part Selected, use /P<part> or -P<part>
C:\Program Files\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 1


FINISHED
-----------------------------------------------------------------------------------

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: V6 and pickit 3

Post by kersing »

clee wrote:C:\Program Files\Flowcode 6\tools\PICkit3\PK3CMD.exe "C:\Program Files\Flowcode 6\Tools\Pickit3\ -P33FJ128GP802 -FFGS_Proto_RUN_v6.hex -E -M -L -V3.3
There is an opening double quote just before C: in the arguments, however there is no closing one. Could you check your programmer settings?
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

clee
Flowcode v5 User
Posts: 15
Joined: Fri Dec 09, 2011 4:23 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: V6 and pickit 3

Post by clee »

Thanks for seeing that. I added the close quote, but unfortunately I still get the same message.

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: V6 and pickit 3

Post by kersing »

I think you need to remove both quotes.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Re: V6 and pickit 3

Post by acestu »

Hi clee,

I use Flowcode6 and Pickit3 here is my FCS file , you can import the file in compiler options under the build menu and see if it helps, be aware though that the -v5.0 or -v3.3 at the end is the voltage applied.

cheers
Stuart
ace.FCS
(832 Bytes) Downloaded 364 times
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

clee
Flowcode v5 User
Posts: 15
Joined: Fri Dec 09, 2011 4:23 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: V6 and pickit 3

Post by clee »

Thanks for the config file. I still have a bit of funkiness (I need to reset the Pickit every time I want to upload) but I didn't have any time to mess with it today.

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Re: V6 and pickit 3

Post by acestu »

Hi clee,

check this link out, your pickit might be in the wrong mode....

http://www.microchip.com/forums/m762080.aspx
cheers
Stuart
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

clee
Flowcode v5 User
Posts: 15
Joined: Fri Dec 09, 2011 4:23 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: V6 and pickit 3

Post by clee »

acestu,

Your config file worked, I successfully programed the dsPIC. When I try a second time it says something like "can't set voltage" (I'm not in front of the device ATM). Disconnecting the USB and plugging back in makes it work. I'm doing in-circuit programing so I don't need to power the chip from the PicKit.

I got my pic programed and played around with V6 a little and haven't investigated the error at all yet. Thanks for getting me up and running, I'm sure it's just a setting I need to change.

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Re: V6 and pickit 3

Post by acestu »

Hi clee,

Glad your up and running.... :D

cheers
Stuart
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

clee
Flowcode v5 User
Posts: 15
Joined: Fri Dec 09, 2011 4:23 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: V6 and pickit 3

Post by clee »

Just to follow up in case someone else lands at this tread, this is working now.

Because I'm doing in-circuit programming and don't need to power the device I deleted -V3.3 from the setup and everything works great.

Post Reply