from http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn%2Ftrunk%2FBus_Pirate%2Fscripts%2FpyBusPirateLite%2FpyBusPirateLite r1648