http://dangerousprototypes.com/docs/Bus_Pirate_v4_design_ove...
.. or something similar. I've heard rumours of a better device than the Bus Pirate out there, but I live by my Bus Pirate and I'll die by it too. ;)
EDIT: Here it is, the Tigard:
https://www.crowdsupply.com/securinghw/tigard
EDIT2: Bollocks. Doesn't ship to Europe. Ah well, here's another option:
https://hydrabus.com/?v=fa868488740a
Oh, well, may as well add Option 3 as well, since this is an interesting subject: