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

Electronic Keypad
USB Printer Chooser Switch
Push-on-push-off electronic switch
Tube Distortion Pedal circuit diagram
Worlds first Arduino flashlight ships soon
radio mf tx
Puff to OFF LED circuit
Analog Filters for Data Conversion
Efficient Fan Speed Controller
LM4904 audio input differential amplifier circuit
Thyristor controlled forward start circuit



Top