Connection problems to PIC18F4685

(instructions, reset, WDT, specifications...) PIC17Cxx, PIC18Fxxx

Connection problems to PIC18F4685

Postby Al99 » Fri Dec 11, 2020 5:15 pm

Hi this is the first time I am burning a hex file onto a pic18f4685, I have pickit 3.5 and an expansion board for the pic18f4685 i connected it to the far right of the connector at the bottom of the pickit 3.5 the expansion board has 5 pins the pickit3. 5. 6pins. There are 4 settings for the jumpers on the expansion board pic10FX, DIP8/14 DIP 18/20, 16F57, and DIO40/28 I have mine set for PIC10FX, when trying to connect to the burner with chip connected in the expansion board I get the message

"CAUTION check that the device selected in mplab ipe(pic18f4685> is the same one that is physically attached to the debug tool.

Selecting a 5v device when a 3.3 v device is connected can result in damage to the device when the debugger checks the device id

Do you wish to continue.? "

I select yes

Then click connect.

In red I get writing" Target device was not found (could not detect target voltage vdd). You must connect a target device to use PICkit 3.“

In mplab ipe i have family set to Advanced 8-bit MCUs (PIC18), device set to PIC 18F4685 and tool sets automatically to pickit3 s. No: BUR195068601

Please can someone direct me as how to establish a connetion to the pic18f4685 via the pickit 3.5.

Many thanks
Al99
 
Posts: 2
Joined: Fri Dec 11, 2020 4:38 pm

Re: Connection problems to PIC18F4685

Postby AussieSusan » Mon Dec 14, 2020 2:42 am

Can you please tell us exactly which expansion board you have?
That will let us understand the meaning of the jumpers you refer to.
Also does the expansion board allow various PIM (plug in modules)? Which PIM are you using?
If not the which package are you using for the PIC18F4685?
Susan
AussieSusan
Verified identity
 
Posts: 173
Joined: Mon Jun 16, 2014 4:45 am
PIC experience: Experienced Hobbyist

Re: Connection problems to PIC18F4685

Postby Al99 » Sun Dec 20, 2020 3:17 pm

I am using pickit 3.5 with MPLAB IPE v5. 45 the expansion board is unamed but i include a picture and the pic 18f4685 is plugged directly in to the expansion board. There is a graphic that shows how to set the jumpers on the board for different types of pic, I have chosen the option for DIP 40 but mplab says "target device not found (could not detect target voltage vdd). You must connect a target device to use PICkit 3“ please help thanks.

P. S.
Here are the pictures.

https://www.dropbox.com/s/sptj3vip5c02x ... 3.JPG?dl=0
https://www.dropbox.com/s/n4czj69829md3 ... 4.JPG?dl=0
Al99
 
Posts: 2
Joined: Fri Dec 11, 2020 4:38 pm

Re: Connection problems to PIC18F4685

Postby ric » Mon Dec 21, 2020 1:31 am

n.b. that PICkit is a chinese clone, not a genuine Microchip PK3.
These often will work ok, but sometimes can cause strange problems.

The 5 pin connector uses the first 5 of the 6 pins on the PK3.
You either need to supply external 5V power to the expansion board's VDD pin, or tell the PK3 to supply power. That is somewhere on the PK3 settings in MPLAB IPE
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products


Return to 16-Bit Core

Who is online

Users browsing this forum: No registered users and 3 guests

cron