piclist 2001\01\29\053911a >
Thread: In Circuit Debugger?
www.piclist.com/techref/microchip/devices.htm?key=pic
flavicon
face BY : JP.BROWN email (remove spam text)



I think what Bruce is trying to find out is how to use the ICD in a
general way so that it can be added to any project. ie. what do you need
to know to design your own ICD function? (not just how do you use
d877.hex). There are hints in previous threads that it is not that
difficult to do but I cannot find an example of source code that shows how
to access the ICD function. If the inner workings of the ICD were known
you could then use this to create your own custom pic operating systems!.

Here is what I know (from snippets I have read on this list):
If the ICD has been enabled in the configuration fuses then the pic
hardware will check RB6 and RB7 for 0V, if RB6 and RB7 are at 0V then the
user program will run normally from the reset vector otherwise a different
vector will be picked up from 0x18F and 0x18E (I think) and will then run
code at that address. The ICD code can be anything you want from a full
blown ICD application (mplab style) to a simple function that looks for a
button press on a port bit and executes the next (user) instruction.  You
can see from this that the ICD is not rocket science and that anyone with
a bit of pic programming experience could write there own ICD routines!.

Can anyone fill in the details from the brief and incomplete description
above to enable us to get at the ICD?.

----- John

On Fri, 26 Jan 2001, James Newton wrote:
{Quote hidden}

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


<Pine.GSO.3.96.1010129093427.24580C-100000@dougal>

In reply to: <002001c087ba$19f00100$0600a8c0@efplus.com>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) In Circuit Debugger?

month overview.

new search...