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

AVR Frequency Meter
30V from 5V converter
860 Watt limited-range light control
mini projects
dual voltage power supply 12 volt
Tube preamp tone control
using doorbell circuit control things radio control
USB Joystick
A block diagram of AN6657 and basic application circuit
A multi-channel pulse distributor circuit



Top