Author Topic: ICD3 won't program any 16-bit PIC  (Read 1653 times)

0 Members and 1 Guest are viewing this topic.

Offline Pineapple DanTopic starter

  • Contributor
  • Posts: 45
  • Country: ie
ICD3 won't program any 16-bit PIC
« on: January 22, 2019, 09:50:18 pm »
8-bit no problem, but I have a 33fj16gs502,  30f3014, 24f16ka302 and none of them will work. I am always faced with this

Connecting to MPLAB ICD 3...

Currently loaded firmware on ICD 3
Firmware Suite Version.....01.54.00
Firmware type..............dsPIC33F/24F/24H

Programmer to target power is enabled - VDD = 3,000000 volts.
Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.

I just have the PGEC,PGED, MCLR, Vdd & Vss connected. Had a 10k pullup between the mclr and Vdd as well but no luck. Never tried to program anything other than an 8bit before, am I missing something, could the ICD be shagged?
 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3137
  • Country: ca
Re: ICD3 won't program any 16-bit PIC
« Reply #1 on: January 22, 2019, 10:40:16 pm »
Most of PIC24/dsPIC33 have internal voltage regulators which require a 10 uF capacitor on Vcap. Some may also have a pin which disables/enables the regulator - look at the datasheet for this.
 
The following users thanked this post: Pineapple Dan

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14297
  • Country: fr
Re: ICD3 won't program any 16-bit PIC
« Reply #2 on: January 22, 2019, 10:53:54 pm »
Yes, another pitfall is not to connect the AVDD pin that most of those MCUs have. Just connect it directly to VDD (or through an LC filter, but not necessary just to program the chip). Leaving AVDD floating usually prevents it from operating properly. Got bitten once (didn't leave it floating on purpose, it was a schematic entry mistake) with a PIC24F. Same as you got, the programming tool was unable to access it. Connecting AVDD to VDD instantly solved the issue.

 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13694
  • Country: gb
    • Mike's Electric Stuff
Re: ICD3 won't program any 16-bit PIC
« Reply #3 on: January 22, 2019, 10:55:10 pm »
Most of PIC24/dsPIC33 have internal voltage regulators which require a 10 uF capacitor on Vcap.
This cap is essential for programming to work
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: JPortici, Pineapple Dan

Online JPortici

  • Super Contributor
  • ***
  • Posts: 3452
  • Country: it
Re: ICD3 won't program any 16-bit PIC
« Reply #4 on: January 23, 2019, 06:57:47 am »
If you are unsure of the connections, there is a chapter in the datasheet called "Getting started with xxx" which has the minimal required circuit
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf