| View previous topic :: View next topic |
| Author |
Message |
MikeW
Joined: 15 Sep 2003 Posts: 185 Location: Warrington UK
|
| got the dll |
Posted: Mon Nov 07, 2005 12:02 pm |
|
|
Darren, the max7219 link worked.
I can now run the mcp program, and mess about with the registers etc.
all I need now is the schematic, and the ICDU supporting the algorithm
Mike |
|
 |
Darren Rook
Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
|
|
Posted: Mon Nov 07, 2005 1:20 pm |
|
|
| ICDU already supports it.... |
|
 |
MikeW
Joined: 15 Sep 2003 Posts: 185 Location: Warrington UK
|
| nearly there now |
Posted: Mon Nov 07, 2005 1:26 pm |
|
|
so, two down, one to go.
I am perfectly capable of designing a 13.5Volt 2Amp supply :-)
Mike |
|
 |
Darren Rook
Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
|
|
Posted: Mon Nov 07, 2005 3:31 pm |
|
|
| Basically, just have a little adapter with it's own power supply (get 5V somehow). Use your own power supply to power the chip. Then use the power supply on the collector of the transistor, and put the base on the ICD pin, and the emitter on the pin on the chip (do this for the clock and data lines, so you need two transistors). That should work. |
|
 |
MikeW
Joined: 15 Sep 2003 Posts: 185 Location: Warrington UK
|
| lets get down to the hardware level |
Posted: Tue Nov 08, 2005 2:38 am |
|
|
Darren,
I like to understand things before I use a solution.
Having checked out the programming spec for MCP250XX versus the PIC18Fxx family DS20072B vs DS3962FF
i get the following
Vdd supply voltage MCP = 4.75-5.25V ...... PIC18F = 3.0-5.5V
Vdd supply current MCP = 20mA ...... PIC18F = 10mA
VPP programming voltage MCP = 12.75-13.25V ...... PIC18F = 9-12.5V
Ipp programming current MCP = 50mA ...... PIC18F = 300uA
I am assuming that the programming algorithm is OK.
so the problem is the Vdd supply current up from 10mA to 20mA, which I would have thought the ICDU-40 could supply.
The big one is the Ipp current from 0.3mA up to 50mA.
Also, the Vpp is lower.
Have I got the problem ?, is it just the Vpp supply voltage ( a diode drop would fix that ), and the vast increase in Ipp programming current ?
Mike |
|
 |
Darren Rook
Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
|
|
Posted: Tue Nov 08, 2005 8:20 am |
|
|
I think their spec is wrong, I think it takes more than 20mA.
Either way, it appears to be more current than the current revision Mach X or ICD can handle - hence the adapter or modifications. |
|
 |
MikeW
Joined: 15 Sep 2003 Posts: 185 Location: Warrington UK
|
|
Posted: Tue Nov 08, 2005 11:54 am |
|
|
Darren,
I hope you arent getting bored with this thread yet.
I have no problem with an external +5 volt supply, or a beefier Vpp.
why do we need to buffer clock and data ?
If I design a circuit with an external +5V Vdd able to supply say 100mA, and a buffered Vpp of +13Vable to supply say 100mA, can I just used the ICDU-40 pins straight through to the chip ?
Mike |
|
 |
ratgod
Joined: 27 Jan 2006 Posts: 69 Location: Manchester, England
|
|
Posted: Sat Jan 26, 2008 6:13 pm |
|
|
Mike, Did you get it going in the end? if so, was it just Vpp and Vdd that needed a little boost? or did you have to boost the PGC and PCD pins?
I currently have a little adaptor that sits between my ICD and targets as the ICDU I am using hasn't got the Vdd enabled (you can select it with a jumper inside the unit but I think that some of my circuits may draw too much current from my USB so I prefere not to)
I could just do a simple mod to this and add a Vdd buffer boost to it. |
|
 |
MikeW
Joined: 15 Sep 2003 Posts: 185 Location: Warrington UK
|
|
Posted: Sun Jan 27, 2008 2:07 am |
|
|
Sorry,
I never needed to do it, the project never got finished
Mike |
|
 |
ratgod
Joined: 27 Jan 2006 Posts: 69 Location: Manchester, England
|
|
 |
|