Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:36 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : I cant win

Author Message
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 07:32pm 20 May 2013
Copy link to clipboard 
Print this post

I sold my Picprogrammer cause I thought i did not need it anymore

I got interested again.

I tried to buy one from Don, sold out

I got one from Bulgaria.
Does not work

I tried to upgrade the firmware
Does not work

I bought a PicKit3 programmer - does not work out of the box
I tried to install MPLAB on the CDROM that came with Pickit3 - corrupted CDROM

Is someone telling me something ?

- Andrew -

Andrew Rich VK4TEC
www.tech-software.net
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 07:53pm 20 May 2013
Copy link to clipboard 
Print this post

Now that's a great line of events

I would say, keep going against the odds and find another one
http://rittle.org

--------------
 
VK5EX
Newbie

Joined: 23/11/2011
Location: Australia
Posts: 5
Posted: 10:36pm 20 May 2013
Copy link to clipboard 
Print this post


Maybe take up fishing instead
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 11:12pm 20 May 2013
Copy link to clipboard 
Print this post

  Quote  I bought a PicKit3 programmer - does not work out of the box
I tried to install MPLAB on the CDROM that came with Pickit3 - corrupted CDROM


As I recall, I didn't have any luck with the CD rom that came with pickit 3 and so downloaded MPLABX-v1.60-windows-installer from microchip. It was about 311 MBytes and came with MPLABX IPE (integrated programming environment). It all worked perfectly.

Did any lights come on when you plugged the programmer into the usb?



David M.
 
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 11:38pm 20 May 2013
Copy link to clipboard 
Print this post

Ok

Time for some good luck

1. Downloaded what was supposed to be on the CD-ROM
2. PicKit3 seems to work - it is asking for a PIC to be connected

Now for a cable from PicKit3 to ICSP header

- Andrew -
Andrew Rich VK4TEC
www.tech-software.net
 
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 11:39pm 20 May 2013
Copy link to clipboard 
Print this post

What sort of connections can this thing support ?

Is it you have to power down your PIC and program it and then disconnect the programmer ?

Sorry - new programmer

- Andrew -
Andrew Rich VK4TEC
www.tech-software.net
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 12:43am 21 May 2013
Copy link to clipboard 
Print this post

@ Andrew

Did you get a big poster with the pickit 3? It shows all the connections.

If not, pin 1 on the programmer is indicated by a little triangle.

Power down your pic and make sure that the PIC pins MCLR, PGD and PGC are disconnected from the rest of the circuitry. Preferrably unplug the PIC and plug it into a bread board or purpose built socket.

Connect pickit pins as follows:


pin 1 to PIC MCLR

pin 2 to PIC vdd (3.3 to 5v pos)

pin 3 to PIC vss (0v)

pin 4 to PGD

pin 5 to PGC


You will need a 4k7 to 10k resistor from MCLR to vdd (across pins 1 and 2)

Apply power to the PIC.

Fire up MPLAB (or MPLABX) and follow instructions???


David M.
 
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 12:57am 21 May 2013
Copy link to clipboard 
Print this post

Thanks David

U have some if the olimex prototype boards

I have had a picstart plus board for ages

I will read the manuals

Cheers
Andrew Rich VK4TEC
www.tech-software.net
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 01:10am 21 May 2013
Copy link to clipboard 
Print this post

  Quote  I have had a picstart plus board for ages


That should do the job but I've never used one.

Keep me posted how you go. I'm always interested in "grass roots" programming.

I'll be going off line till tomorrow - (off grid - overcast, no wind - batteries a bit low)

cu 4 now
David M.
 
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 02:06am 21 May 2013
Copy link to clipboard 
Print this post

I am a tad confused

I used to have to power down the PIC to program it on my olimex board

I thought the programmer needed exclusive access to the PIC ?

Here is the CCT of the board

https://www.olimex.com/Products/PIC/Proto/PIC-P18-20MHz/reso urces/PIC-P18-sch.gif

- Andrew
Andrew Rich VK4TEC
www.tech-software.net
 
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 02:45am 21 May 2013
Copy link to clipboard 
Print this post

I should be ok

My board has a 10 k between VDD and MCLR

Unsure about LVP - will see

- Andrew -
Andrew Rich VK4TEC
www.tech-software.net
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 05:55am 21 May 2013
Copy link to clipboard 
Print this post

I got a PICkit3 clone. Just works.

Some boards need to be powered as the PICkit3 doesn't provide much power.

Microchip say things to do about MCLR as people posted and I just followed the rules.

John
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 12:42pm 21 May 2013
Copy link to clipboard 
Print this post

  Quote  Some boards need to be powered as the PICkit3 doesn't provide much power.


The pickit 3 doesn't supply any power to the target pic. It only provides a high voltage for driving the MCLR as necessary. You still have to apply power to the target pic unlike the SiliconChip programmer and others which supplied the vdd to the target pick.

LVP should be able to be ignored as the MCLR should override its setting.

Your cct diag looks like it provides its own vdd. The c11 on the MCLR pin worries me a bit unless it is only a few pF. The pickit 3 instructions say not to use capacitors on MCLR as it affects fast transitions. Try it as is and see how it goes.

David M.
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 10:14pm 21 May 2013
Copy link to clipboard 
Print this post

I have a (original) pickit 3 and it can provide power. In mplab you can switch it on and off.
In most cases i disconnect the normal power supply when programming.
I also like to unplug everything before programming just to make sure that other circuitry connected does not have influence.

Edited by TZAdvantage 2013-05-23
Microblocks. Build with logic.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024