[Info-vax] [OT] Program debugging, was: Re: HP wins Oracle Itanium case

ChrisQ meru at devnull.com
Fri Aug 24 08:23:36 EDT 2012


On 08/24/12 11:26, Simon Clubley wrote:

>
> I do find a LED handy for debugging interrupt handlers sometimes however.
>
> Simon.
>

I usually include a couple of leds on spare port bits when designing new
hardware and have a set of standard functions to write to them. Also, a set
of functions to write messages to comms, including some cooperative 
functions
that will work even from within interrupt handlers.

The other advantage, with a bit of the right code, is that you can hang a
scope or logic analyser on the leds ports to investigate timing issue as
well.

All helpfull stuff...

Regards,

Chris




More information about the Info-vax mailing list