dsPIC programmer connector

General discussion on mikroBasic for dsPIC30/33 and PIC24.
Post Reply
Author
Message
peterverkaik
Posts: 174
Joined: 31 Aug 2009 22:44

dsPIC programmer connector

#1 Post by peterverkaik » 04 Sep 2009 08:56

According to the dsPIC programmer manual, the programmer
should be connected like this:

VCC ---o 1 2 o--- mcu_VCC
RB6 ---o 3 4 o--- RB6 to onboard electronics
RB7 ---o 5 6 o--- RB7 to onboard electronics
MCLR ---o 7 8 o--- MCLR to onboard electronics
GND ---o 9 10 o--- GND

My board is selfpowered so I remove the jumper USB-POWERED
from the programmer. I assume the programmer then gets its
power from pin1 and switches that to pin2.
My dsPIC chip VCC is permanent connected to pin1.
I would therefor like to disconenct pin2 so the programmer switch
is not externally shorted.
The same applies to GND: I like to disconnect pin10 as the dsPIC GND
is permanently connected to pin9.

Will that work?

regards peter

User avatar
nikola.kostic
mikroElektronika team
Posts: 433
Joined: 11 Aug 2009 12:12

#2 Post by nikola.kostic » 08 Sep 2009 12:38

Hello,

Programmer checks if MCU VCC pin has power supply and if there is no voltage you will get VCC voltage error.

You should just connect pins as shown in the manual and that should work fine.

Post Reply

Return to “mikroBasic for dsPIC30/33 and PIC24 General”