PIC debugging routine reads out binary numbers

Posted on May 23, 2012

The `burn and learn` method of firmware development excludes an in-circuit emulator and a serial port. With this method, it is common practice to use spare I/O pins on a µC as a debugging aid. By strategically placing instructions to set and clear these I/O pins in the code and then observing the pins with a scope, you can obtain limited real-time information about the execution of the code. An I/O pin serves as a 1-bit debugging port.

Leave Comment

characters left:

New Circuits



Popular Circuits

simple TRIAC Light Dimmer
Light Barrier Detector
PIC Programmer schematic RS232
5V From 4Aa Cells Circuit
6 graphic equaliser circuit 741 op amp
stk415 090e 2x50 watt stereo
VGA to BNC Adapter Converter circuit
Zener diode tester
BA328 stereo preamplifier circuit
Back radiation small buffer amplifier