Pickit 3
Moderator: Benj
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Pickit 3
Have you checked this Wiki page? Look in the 'Programmer' section.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
Re: Pickit 3
did exactly as recommended
I get the following error message,
my pic is powered up.
it works in mplab ipe supplied by microchip
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe -P18F4550 -F400R1rev36.hex -E -M -Y
Initialize Failed !!!
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 1
I get the following error message,
my pic is powered up.
it works in mplab ipe supplied by microchip
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe -P18F4550 -F400R1rev36.hex -E -M -Y
Initialize Failed !!!
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 1
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
Re: Pickit 3
no luck tried everything the pickit3 will not initialize.
I am using mplad Ide,
there was a firmware upgrade on the pickit when MPLAD ide was installed.
I am thinking that maybe this is the problem.
I am using mplad Ide,
there was a firmware upgrade on the pickit when MPLAD ide was installed.
I am thinking that maybe this is the problem.
Re: Pickit 3
Set Programmer up as follows:
Location
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe
parameters
-P$(chip) -F$(target).hex -V3.00 -E -M
You can remove the -V3.00 (it is the programing voltage)
Or
If you leave it in just set it to match your device -V3.00 for 3 volt or -V5.00 for 5 volt
You must have mplab installed for it to work.
Location
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe
parameters
-P$(chip) -F$(target).hex -V3.00 -E -M
You can remove the -V3.00 (it is the programing voltage)
Or
If you leave it in just set it to match your device -V3.00 for 3 volt or -V5.00 for 5 volt
You must have mplab installed for it to work.
-
- Flowcode v5 User
- Posts: 211
- Joined: Tue Feb 19, 2013 9:51 pm
- Has thanked: 72 times
- Been thanked: 177 times
- Contact:
Re: Pickit 3
You might have to follow the instructions on this post by Benj:
http://www.matrixmultimedia.com/mmforum ... ork#p52318
http://www.matrixmultimedia.com/mmforum ... ork#p52318
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
Re: Pickit 3
Done everything from downloading the firmware, coping over the pkm prog , now I get the following.
success
Launching the programmer...
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe -P18F4550 -F400R1rev37.hex -E -M -Y
Connecting...
PICkit 3 detected
Connecting to PICkit 3... ............................................
it just hangs there
success
Launching the programmer...
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe -P18F4550 -F400R1rev37.hex -E -M -Y
Connecting...
PICkit 3 detected
Connecting to PICkit 3... ............................................
it just hangs there
- 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 3
Hi Roy,
Try unplugging the PICkit from any circuitry, seems when you first start up the PICkit and check the AP firmware it has issues with external circuitry attached.
Once this has worked and it is saying "target not detected" try again with the PICkit connected to the hardware.
Might also be worth trying a simple filename that doesn't start with a number just in case this is causing any issues e.g. "test".
Try unplugging the PICkit from any circuitry, seems when you first start up the PICkit and check the AP firmware it has issues with external circuitry attached.
Once this has worked and it is saying "target not detected" try again with the PICkit connected to the hardware.
Might also be worth trying a simple filename that doesn't start with a number just in case this is causing any issues e.g. "test".
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- 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 3
In addition to Bens comments:
If I remember correctly,
I don't think flowchart will compile with PICkit 3 if there are spaces within the Flowchart name.
If spaces between words are required, then you can use under_scores.
I will check this is the case when I get home.
Martin
If I remember correctly,
I don't think flowchart will compile with PICkit 3 if there are spaces within the Flowchart name.
If spaces between words are required, then you can use under_scores.
I will check this is the case when I get home.
Martin
Martin
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
Re: Pickit 3
Right I Got it to work,
1) I followed your instructions to reload the firmware manually,
2) I uninstalled MPLAB x
3) I uninstalled MPLAB IDE ( Ver 8.5)
4) I then reinstalled MPLAB ( ver 8.7 )
5) opened MPLAB 8.7
6) let it download new firmware Automatically.
7) copied the pk3cmd file from C:\Program Files (x86)\Microchip\MPLAB IDE\Programmer Utilities\PICkit3 to C:\Program Files (x86)\Flowcode 6\tools\PICkit3
set up flowcode to
-P$(chip) -F$(target).hex -v5.0 -E -M
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe
it now works, no more mplab upgrades for me.
9) I tested compiling files with numbers "401r1" it works perfectly
10) if I place a space between the r and 1 it does not compile
Thanks a lot for your help
1) I followed your instructions to reload the firmware manually,
2) I uninstalled MPLAB x
3) I uninstalled MPLAB IDE ( Ver 8.5)
4) I then reinstalled MPLAB ( ver 8.7 )
5) opened MPLAB 8.7
6) let it download new firmware Automatically.
7) copied the pk3cmd file from C:\Program Files (x86)\Microchip\MPLAB IDE\Programmer Utilities\PICkit3 to C:\Program Files (x86)\Flowcode 6\tools\PICkit3
set up flowcode to
-P$(chip) -F$(target).hex -v5.0 -E -M
C:\Program Files (x86)\Flowcode 6\tools\PICkit3\PK3CMD.exe
it now works, no more mplab upgrades for me.
9) I tested compiling files with numbers "401r1" it works perfectly
10) if I place a space between the r and 1 it does not compile
Thanks a lot for your help
Re: Pickit 3
I followed the settings and still get error 255 and can't find the program:
Target folder: C:\Users\Robert\DOCUME~1\Flowcode\FLOWCO~3
Source name: C:\Users\Robert\Documents\Flowcode\Flowcode test\Flowcode1.fcfx
Title:
Description:
Device: PIC.10F.10F200
Generated by: Flowcode v6.0.10.0
Date: Wednesday, September 10, 2014 10:37:46
Users: 1
Registered to: Robert Daly
Licence key: 0566TP
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_10F.exe -v -t PIC10F200 "Flowcode1.c"
Cannot find the file: C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_10F.exe
Failed to launch 'C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_10F.exe', code 2
Completed BoostC compilation, return = 255
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_10F.exe reported error code 255
FINISHED
Target folder: C:\Users\Robert\DOCUME~1\Flowcode\FLOWCO~3
Source name: C:\Users\Robert\Documents\Flowcode\Flowcode test\Flowcode1.fcfx
Title:
Description:
Device: PIC.10F.10F200
Generated by: Flowcode v6.0.10.0
Date: Wednesday, September 10, 2014 10:37:46
Users: 1
Registered to: Robert Daly
Licence key: 0566TP
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_10F.exe -v -t PIC10F200 "Flowcode1.c"
Cannot find the file: C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_10F.exe
Failed to launch 'C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_10F.exe', code 2
Completed BoostC compilation, return = 255
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_10F.exe reported error code 255
FINISHED
-
- 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 3
Hi Rob,
Boost C which is the current built in compiler for 8 bit pic does not support 10F series.
Take a look at this post.
Martin
Boost C which is the current built in compiler for 8 bit pic does not support 10F series.
Take a look at this post.
Martin
Martin
Re: Pickit 3
Bummer. back to the drawing board. I wish it did. I would love to work with 8 pin chips.
-
- 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 3
I have used the 12F1840 successfully with Flowcode and built-boostC compiler. here are the specs: With up to a 32MHz internal osc, ADC,PWM, RS232 its a very good chip.heresrob wrote:I would love to work with 8 pin chips.
Or there is the 12F617 ect.
BoostC compile can compile 12Fxxx series.
Martin
Martin