I have a Blueroom Inchworm+ ICD2 clone that does that exact thing on my dsPIC30F4013. Can't use it. I had to switch to PICkit2 (and a Blueroom Junebug clone too) and use MPLAB for programming/compiling and the PICkit2 software for programming it. Can't do debugging with that combo... bleh! Back to the old ways, beeps and blinks and simulation. Too bad MPLAB has fallen behind for a while. Time for an update.javilon said: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.
Tank you so much.
Please let us know what happens with that.blueroomelectronics said: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.
But remember I tried that and a bunch of other suggested things too with my 4013 and Inchworm+/Unicorn. Nothing helped. But the Junebug/PICkit2 programs it fine, and with a 9"-10" cable.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.
Ya, I kinda think MPLAB is at fault. Though I routinely use my PICkit2 to program the 30F4013, MPLAB has PICkit2 greyed out if I try to select it as a programmer for the same projects. Probably the next MPLAB update will fix a bunch of these problems? We can hope.javilon said: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".
How come your Inchworm+ works and mine doesn't?blueroomelectronics said: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)
futz said:Breadboard up a PICkit 2/Junebug instead. Works fine with dsPICs.
It WILL do debugging, and a LOT faster than an ICD2. It will program pretty much all PICs.ramcheck said:I was thinking of that ;-) But will it do debugging? What pics can I program with it?
Ramcheck
Oh ya, forgot about that. It'll happen eventually, when Microchip gets around to it. But, for the most part, you can program and debug just about all PICs with a PICkit 2/Junebug. If you've been using serial programmers like the ICD2 up to now, you're in for a shock. The PICkit 2/Junebug is FAST!.blueroomelectronics said:It just doesn't debug as many PICs yet...
The dsPIC30F4013 is among the non MPLAB supported ones, but more appear with every MPLAB release.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?