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

Motor-tachometer speed control
Ultra-precision-instrumentation-amplifier
Cassette-interface
F232 is USB powered
VGA to video converter
1995 ford ranger wiring diagram
UNDERVOLTAGE DISCONNECT SWITCH
Stepping CS6061A touch dimmer light circuit



Top