View Single Post
  #29   Report Post  
Posted to alt.binaries.schematics.electronic
The Real Andy The Real Andy is offline
external usenet poster
 
Posts: 40
Default MPLAB programmer interface.

On Thu, 22 Nov 2007 14:07:23 GMT, "ian field"
wrote:


"The Real Andy" wrote in message
.. .
On Wed, 21 Nov 2007 16:03:05 GMT, "ian field"
wrote:


"The Real Andy" wrote in message
news On Tue, 20 Nov 2007 17:23:05 GMT, "ian field"
wrote:


"petrus bitbyter" wrote in
message
.xs4all.nl...

"ian field" schreef in bericht
...

"Oppie" wrote in message
news:fak0j.530$r81.32@trndny05...

"nospam" wrote in message
...
"ian field" wrote:


"Oppie" wrote in message
news:LJh0j.5915$rg1.4277@trndny04...
I have the Microchip ICD2 debugger which has both USB (preferred)
and
RS-232 connectors. This works under MPLAB. I am pretty sure that
the
connection preferences can be set in MPLAB under the programmer
tab.
Cheers
Oppie

Thanks for confirming that RS232 is an option - do you have any
info
on
pin
implementation?

There is a Microchip appnote which describes a LPT programmer and
schematic,
does anyone know if it has a RS232 counterpart? - If anyone knows
the
document number, I've probably already downlosded it.

The Microchip ICD2 is dirt cheap and you can buy Chinese clones of
it
on
ebay for about 1/3rd of dirt cheap.

Hard to see how DIYing anything is worth the trouble and an ICD2
will
give
you in circuit debug too.

There are a bunch of hits for 'ICD2 schematic' found with Google.
Here's one http://www.nebadje.org/doku.php?id=neblab:icd2clone

Hope this helps you.
Still, as 'nospam' points out, the ICD2 is pretty inexpensive and
used
ones should be out there.

Oppie


Thanks for the link, that's going to be a "later" project as I'd need
a
programmer to program the onboard intelligence of that design.

Are any of the Microchip products "dumb programmers" where the
signals
on
the RS232 correspond directly with target PIC pins after level
shifting -
i.e.:

RTS = RB6
DTR=RB7
&
TXD=VPP ?



Not directly, but http://www.oshonsoft.com/picprogserial.html comes
close.
You need a handfull of electronics but no intelligence in the circuit.
The
parallel served me well for some time.

petrus bitbyter


I already have a serial programmer - I was asking if MPLAB had a
compatibility mode I could use the Velleman K8048 board with or modify
the
board to fit.


The answer is no. You cant do it.

You have a few choices, use the current software you have with you
current programmer OR buy the ICD2 (cheap) and use it with MPLAB.

I also have an old PicStart plus programmer which is serial, not sure
if you can still buy them, but either way it is still not compatible
with your programmer.

It seems Microchip are not eager to sell me a programmer (the PICKit 2 was
suggested) but I have to phone Ireland from England and I have to have a
ticket number to do so.

The picture in the datasheet isn't very clear, but it looks like SMD only
development area - I'm still using only through hole parts so unless it
comes with an ICSP cable it isn't much use to me anyway.

Did I make a big mistake aiming to learn PIC instead of 805x based
microcontrollers?!


Its like any company. Did you learnt the PIC for a hobby or because
you want to build a 100k units?


At the moment I haven't learned yet so I don't know whether I'll get good
enough to design professionally. Microchip make big donations to
universities to pose as the good guys while bribing the uni to take a
product placement, but for people like me they just CBA!


I have never had a problem with them. I placed an order online for
their ICD2 and a week and a half later it arrived in Australia from
the US. IF you dont like the service, go with the 805x.