Skip to content

Scottish Army Knife for electronics

License

Notifications You must be signed in to change notification settings

Tubbz-alt/Glasgow

 
 

Repository files navigation

Glasgow = Bus Pirate + Bus Blaster + Logic Sniffer

Want one? Subscribe here

Glasgow is a 50 MHz 1V8/2V5/3V3/3V6/5V0 bus multitool, think Bus Pirate + Bus Blaster + Logic Sniffer all in one reconfigurable package.

You have 16 pins; put any of {JTAG,SWD,SPI,I2C,USART,…} on any of them, or even use your own protocol core on the FPGA!

The 16 pins are split among two fully independent ESD protected I/O banks with a DAC+LDO to set the I/O standard and/or power the target, an ADC to sense the target voltage, an alert function to detect faults, and an intrinsic 100 mA current limit for added safety.

The PC interface has peak throughput of ~360 Mbps (bulk endpoints), so you can sample 16 channels at 22.5 Msps, 8 channels at 45 Msps, 4 channels at 90 Msps, and so on. You can also download stuff via JTAG -really fast-; instead of bus turnarounds, just use a custom JTAG core.

The somewhat low sampling rate is compensated (for synchronous interfaces) by the fact that the FPGA is able to sample at a defined phase with respect to the interface clock; so while normally you would need 200 Msps for a bus running at 50 MHz, with Glasgow mere 50 Msps are enough.

if you want one, once the hardware is proven I'll be selling these at an estimated $70 plus shipping.

in case you're wondering, this is basically a scaled down version of azonenberg's STARSHIPRAIDER, which does 32 channels at 500 MHz, has a 10 GbE host interface, and costs around $1K in BOM+PCB. I didn't set out to do that but it turns out this design space is really narrow.

This project is a collaboration with awygle, who has given invaluable advice on overall design, made all the symbols and footprints and is upstreaming them in KiCAD (the goal is using 100% upstream libraries).

I think this is about as far as you can go while using only FOSS tool chains for firmware/gateware; if I ever make a sequel for this board it'll be after oe1cxw finishes Series 7 bitstream reverse-engineering :)

(This README file transcribed from this twitter thread: https://twitter.com/whitequark/status/985040607864176640)

About

Scottish Army Knife for electronics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 94.5%
  • C 5.3%
  • Other 0.2%