Hi,
You have to add it manually. Click Add new programmer and select Create Custom Programmer Entry and follow the prompts.
Hi,
You have to add it manually. Click Add new programmer and select Create Custom Programmer Entry and follow the prompts.
OK, I installed the PK3Cmd.exe and added
-P$target-device$ -F$hex-filename$ -E -M -B -L -V5
seem to take it. So this works as easily as my epic?
I can still choose an pickit2 if this has issues. are you happy with the way yours gets called and run?
I've had no problems with it. The only other programmer I have is a 15 years old PICStart+ so I can't say how the PK3 compares to anything really - but it works. When developing I tend to use a bootloader though so the PK3 doesn't get used that much.
One thing I've read about the PK2 is that Microchip won't add support for new chiås as they come out but recently I read somewhere that you could download new definitition files for it so.... Also there supposed to be some sort of basic logic/protocol analyzer application for use with the PK2 which I don't think is available for the PK3.
So again, the PK3 works fine for me, YMMV.
OK, borrowed a clone pickit3 from a guy at work.
set it up as we discussed - that went fine!
So, NOW I discover how thick I really am!
Since I'm not using epic, I need to define the pic and settings in the file. I get compile errors when I use
@ DEVICE PIC16F88 __config _CONFIG1, _INTRC_IO
I want to use the internal oscillator.
and error 207 "found label after column error and
err 122 "illegal opcode"
I've searched for quite a while AND tried a variety of syntax AND looked in the 16f88 inc file and know I'm missing something but....
So, syntax wise I need to tell MPASM
1. the processor
2. the fuse options
everyone else just posts
@ __config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_OFF & _LVP_OFF & _CP_OFF
or some applicable derivative of this and it works, but makes me wonder how MPASM knows the processor.
So I add
INCLUDE "p16f88.inc"
and it says "unable to open include file"
What am I missing?
The processor is stated in the ASM code generated by PBP that is then turned to hex.
If you are using MCS or MPLAB the chip selected is the one used when the code is compiled.
Dave
Always wear safety glasses while programming.
I am using MCS and PBP
I see that, I forgot about that, I was thinking about the epic definitions.
So, one question down, I see the definition for the processor. So why does
@ DEVICE PIC16F88 __config _CONFIG1, _INTRC_IO
or
@ __config _CONFIG1, _INTRC_IO
give me error[118]?
If you are going to set configs in your code, you need to comment out the default configs in c:/pbp/picxxx.inc file like this (see bottom "do not forget" paragraph) http://www.picbasic.co.uk/forum/cont...o-your-Program
http://www.scalerobotics.com
Bookmarks