![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
I have this peculiar problem with this dspic30f3011 .Im used a ICD2 to program dspicf3011 but i get this . Invalid target device in Mplab this is schematic ![]() should i connect any capacitors to it or anything to be added any suggestions are worth it | |
| |
| | #2 | |
| Quote:
This will probably cure the problem. | ||
| |
| | #3 |
|
can you draw a schematic diagram or something .. it will be easy for me | |
| |
| | #4 |
|
Why would anyone START out with dsPICs? They are very powerful but very different beasts. What are you doing that requires such a powerful CPU?
| |
| |
| | #5 |
|
my application involves developing complex models in scientific tools such as MATLAB and the code is then imported to the chip using some techniques.. if i use c programming then it will take me 2-3 years to develop such complex programs | |
| |
| | #6 |
|
Well you have to connect AVDD to VDD & AVSS to VSS, also all digital ICs like 0.1uf caps placed close to their power pins.
| |
| |
| | #7 |
|
can you give me a schematic diagram or something ...
| |
| |
| | #8 |
|
Check the Inchworm schematic on my site, it uses 0.1uf caps on the 16F877, do the same thing.
| |
| |
| | #9 |
|
how do i connect the 10k resistor ?where
| |
| |
| | #10 |
|
10K between MCLR and VDD.
| |
| |
| | #11 |
|
hey man i used a 10k Ohm resistor btw vdd and mclr i did connect a 10 Micro Farad capacitor btw Vdd and ground .. I get this MCLR Vpp when running self test , it fails one time after some time i get passed self test ..so which means its toggling should i reduce the value of capacitor like 1 Micro farad something | |
| |
| | #12 | |
| Quote:
You must supply the analog supply and digital supply for the dsPIC to work even if you aren't using any ADCs or comparators on the IC. (AVdd/AVss and Vdd/Vss). Vdd/Vss are connected internally to each other so you might get away with only using one pair if the current draw and speeds aren't too high. But there is only one pair of analog power pins and they must be connected. And yeah, you also need that MCLR pull-up resistor so the ICD2 can actually reset the dsPIC and put it into programming mode. Last edited by dknguyen; 28th February 2008 at 05:21 PM. | ||
| |
| | #13 |
|
You might want to check out how the dsPIC demo boards from Microchip are wired up. They usually have a schematic in the back of the manual.
| |
| |
| | #14 |
|
k i did the same exactly as you guys instructed me this is what i get Code: Auto-connect not enabled - Not connecting (Try enabling auto-connect on the ICD2 settings pages.) Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target Target Device dsPIC30F3011 found, revision = mm2 a0 ...Reading ICD Product ID Running ICD Self Test ... Failed Self Test. See ICD2 Settings (status tab) for details. MPLAB ICD 2 Ready i got 100kohm btw vdd and vpp and 0.1 micro farad btw vdd and vss what should i do then | |
| |
| | #15 | ||
| Quote:
Quote:
Last edited by BeeBop; 2nd March 2008 at 05:45 PM. | |||
| |
|
| Tags |
| dspic, icd2, prog, unable |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| problem with IC PROG | sarathcet | Robotics Chat | 1 | 19th February 2008 06:56 AM |
| Olimex ICD2 Broken! | HerbertMunch | Micro Controllers | 43 | 5th February 2008 03:39 AM |
| A great ICD2 problem | airtonsena | Micro Controllers | 1 | 3rd February 2008 03:20 PM |