![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hi!
Some time ago I built an ICD2 Clone from Lothar and it works fine with all pics from the 16F and 18F series. But yesterday I connected to it a dsPIC30F2010 and it can't get connected. It just appear the message: ICDWarn0020: Invalid target device id (expected=0x40, read=0x0) just like if I didn't connected the PIC. I checked the connexions several times and they are OK, but it doesn't still work. Thank you so much. Last edited by javilon; 16th March 2008 at 12:00 PM. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Anyway, the C30 compiler is good. Quite nice to use.
__________________
========================= Futz's Microcontrollers & Robotics ========================= Last edited by futz; 16th March 2008 at 10:33 AM. |
||
|
|
|
|
|
(permalink) |
|
Thank you very much!
I see that i'm not alone... I already have a programmer that works with the dspic, but I wanted to debug it :'( :'( :'( . I'll have to return to the old methods. |
|
|
|
|
|
|
(permalink) |
|
The only real hardware difference is the Junebug has 100ohm driving resistors and the Inchworm (and Stolz) versions have 330ohm.
Perhaps I'll put one together with 100ohm. If it works I'll start using 100ohm instead of 330 on the PGC/PGD pins. I've successfully ran a dsPIC30F3013 with very short cables on a stock Inchworm+. Breadboards have a fair amount of stray capacitance and this may be a factor. ![]() |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
__________________
========================= Futz's Microcontrollers & Robotics ========================= Last edited by futz; 21st March 2008 at 05:09 PM. |
|||
|
|
|
|
|
(permalink) |
|
The breadboard is not the problem unless you are really sloppy.
Mike. |
|
|
|
|
|
|
(permalink) |
|
I'll try it this afternoon.
|
|
|
|
|
|
|
(permalink) |
|
Hi!
I've just tried to put a 100 Ohms resistor instead 330Ohms (I actually didn't desoldered it, i've put another in parallel to achieve the 100Ohms). And it doesn't work... It works with the 16F and 18F series PICs that i've tried, but with de dsPIC appears the same error. "Read=0x0". Last edited by javilon; 17th March 2008 at 05:26 PM. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
__________________
========================= Futz's Microcontrollers & Robotics ========================= |
||
|
|
|
|
|
(permalink) |
|
I'll order a dsPIC4013 to try, the dsPIC3013 works with my stock Inchworm+ it's just really fussy about the cable.
That said the 4013 has 4 GND & 4 VDD pins that all must be connected for it to be seen by the ICD2. |
|
|
|
|
|
|
(permalink) |
|
I've tried the Inchworm & Junebug with the dsPIC30F4013, they both work fine.
You do need to connect all the VSS pins and VDD pins (8 total) |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Does your Junebug work in MPLAB with 4013? When I have 30F4013 selected, PICkit2 programmer is greyed out in MPLAB.
__________________
========================= Futz's Microcontrollers & Robotics ========================= |
||
|
|
|
|
|
(permalink) |
|
Only PICkit2 software sees the 4013, but Microchip seems to include more PICs with every MPLAB release.
Did you also connect the AVDD & AVSS pins? |
|
|
|
|
|
|
(permalink) |
|
Hi!!
A couple of weeks ago I ordered some PIC of 30f and 33F series and this weekend I tried them. As a result, I say that none of the PIC30F worked with the debugger (either 4013), but to my surprise, the series 33F work perfectly! So I forget the 30f and I'll work directly with the 33F series, which are better and they work with the debugger and since I do not have to pay them, no matter the price Last edited by javilon; 5th May 2008 at 08:21 AM. |
|
|
|
|
|
|
(permalink) |
|
Hi all,
I am planning on purchasing the very nice Inchworm+ kit from blueroom electronics, but because it's a bit risky and expensive for me to get one where I live, and considering that I have all the components required to build one lying around on my workbench, I decided I'd first build a working prototype on breadboard. And so I did. It works perfectly with all the PIC's I have right now, including these: 12F675, 16F628, 16F818, 16F819, 16F876A, 18F1320, 18F258, 18F2550. However, it fails with the dsPIC3020, just as javilon describes. Changing the coupling resistors to 100 ohms didn't seem make any difference, and the cable connecting both breadboards is only 3" long. I'm keeping all the wires very short and it doesn't seem the stray capacitances are to blame. All VDD and VSS pins are connected. The same 3020, mounted on that same breadboard, works just fine with my home-built parallel-port programmer and it does that at an amazing speed! Too bad that programmer can't do debugging. I was wondering if stronger buffering would be required, and perhaps I'll try that, but I'd rather not add another chip to the breadboard at this time. If this prototype can prove to work well for me, then I'll probably place an order for the much nicer Inchworm+ kit. Could someone please help? Thanks, Ramcheck Edit: I just realized that it can blank-check the PIC18F2431, but it will fail to program it. It keeps coming out blank all the time. The chip is good since I can program it with my parallel port programmer. Last edited by ramcheck; 13th May 2008 at 10:50 AM. |
|
|
|
|