Programming the PIC

Minty so good. Minty so tasty.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
minty maker
 

Programming the PIC

Post by minty maker »

OK, so I have soldered the PIC onto the board, but I have no clue how to program it. Can anyone offer assistance? Is there a part number for the SIP?

minty maker
 

Post by minty maker »

Anyone please?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Post by adafruit »

minty maker wrote:Anyone please?
you can buy female sip headers from any electronics catalog.

minty maker
 

Post by minty maker »

Thanks,

So what do i do after i solder the SIP on? As in, how exactly do i get the sofware onto the chip.

presidentpicker
 

Post by presidentpicker »

get this book http://www.amazon.com/exec/obidos/tg/de ... 8&v=glance besides a good reading it includes a PCB to make a parallel port pic programmer

Student
 
Posts: 45
Joined: Tue Apr 12, 2005 4:40 am

Post by Student »

Does PGD and PGC translate to Data and Clock, respectively? I have a programmer, and the connection lables are _MCLR, RB6 (Clk), RB7 (Data), Vdd, and Gnd (Vss). It does not say anything about ICSP, but I'm guessing if I just make the connections to these pins, I will get the desired result. Is this correct? Thanks

ryder1650
 
Posts: 42
Joined: Tue May 10, 2005 2:12 pm

Post by ryder1650 »

Hello,
I have an ICSP programmer and I had a few questions.

1. the programmer has GND, VCC, CLK, DAT, VPP, instead of the names listed on the fabrication site, which of these coincide to the names on the ladyada site.

2. which holes on the board are for each connector?

3. Do i have to hook it up to an external power source, or can i use the programmer to supply power?

ryder1650
 
Posts: 42
Joined: Tue May 10, 2005 2:12 pm

Post by ryder1650 »

OK, i am getting it to read, but its not writing, which wires would be incorrectly placed? its supposed to be 0000 right, when i read?

ryder1650
 
Posts: 42
Joined: Tue May 10, 2005 2:12 pm

Post by ryder1650 »

OK, nevermind, its not reading it at all, I am using the K128 programmer that xoxota suggested. Can you help me with getting it to work please. Do you need to hook it up to an external power supply?

ryder1650
 
Posts: 42
Joined: Tue May 10, 2005 2:12 pm

Post by ryder1650 »

Please, can anyone help.

ryder1650
 
Posts: 42
Joined: Tue May 10, 2005 2:12 pm

Post by ryder1650 »

on the three pin header I have connected MCLR the left pin, PGD to the middle and PGC to the right one. On the bottom left I connected GND to the middle pin on the 3 pin header where the power switch goes and I connected VCC to the (-) end of where the batter goes.

When I do this the MicroPro software and the tinybld do not see the PIC. What could I be doing wrong?

terpDriver
 
Posts: 24
Joined: Wed Apr 27, 2005 1:00 pm

Post by terpDriver »

I'm still waiting for my boards so I haven't tried it yet, but these are the notes i've made so far:

Code: Select all

  
    ___________________
   /                    \
 /                       \
|       O     O     O    |   
|      MCLR/  PGC/  PGD/ |
|       Vpp    RB6   RB7 |
|                       |
| []                    |
| [] Vdd                |
| []                    |
|                       |
| O GND/Vss             |
| O                     |
|_______________________|

ryder1650
 
Posts: 42
Joined: Tue May 10, 2005 2:12 pm

Post by ryder1650 »

Thanks! I flipped the Ground and the VCC. It works finally, woot.

terpDriver
 
Posts: 24
Joined: Wed Apr 27, 2005 1:00 pm

Post by terpDriver »

What about PGD and PGC? did you have to flip them too? I see that you have them different than what i have in my notes.

ryder1650
 
Posts: 42
Joined: Tue May 10, 2005 2:12 pm

Post by ryder1650 »

terpDriver wrote:What about PGD and PGC? did you have to flip them too? I see that you have them different than what i have in my notes.
Your diagram was correct. Thanks!

Locked
Please be positive and constructive with your questions and comments.

Return to “MintyMP3”