BitWhacker UBW-16 firmware modification

Thread Starter


Joined Sep 19, 2012
Successfully modified Brian Schmalz' source code, recompiled/linked
successfully downloaded to the UBW (sparkfun UBW-16).

Want to add new command to decode serial Manchester data, so I will need to use interrupt-on-change for RB7 and a 2uS timer somewhere.

Can anyone tell me how to set up a 2uS timer (a la RTCC/TMR0) without disturbing any other 'D' firmware functions (particularly, so as not to disturb any USB functionality). OR- is there already a 1, 2, or 4uSec timer running in the background somewhere? (PIC18F2553)

My problem is un-scrambling all the stuff that's already running in the 'D' firmware to find out if starting a new timer would conflict with existing functions.