BusPirate / Bus_Pirate

Community driven firmware and hardware for Bus Pirate version 3 and 4
625 stars 130 forks source link

fix off-by-one error if BPv4 JTAG code #105

Closed hb9xar closed 6 years ago

hb9xar commented 6 years ago

This PR fixes a "GERBER" (off-by-one error) in the JTAG code in BPv4. If an exact multiple of 8 bits was requested to be clocked out, this caused some bytes in the serial input stream (communication between openocd and BPv4) to be lost, resulting in failure of the serial connenction.

agatti commented 6 years ago

Awesome, thank you!