Fully Automated
Test Equipment
FPGA Boards

Glasgow Interface Explorer revD

The new and improved open source multitool for digital electronics

This project is launching soon.

Coming Soon
0
updates
Sign up to receive updates.

Glasgow Interface Explorer revD is the last USB-to-digital-protocol adapter you’ll ever need. Right out of the box it comes with more than 40 applets covering the most common embedded interfaces, ready to be used from the command line. For those with more complex needs, Glasgow’s extensible, all-Python software stack lets you quickly combine existing applets or build entirely new cycle-accurate and high-performance protocol engines. Because it relies on Amaranth and YoWASP, you don’t have to worry about linting Verilog code or installing vendor toolchains—all of the tools you’ll need are available.

Our new revD hardware is purpose-built around a Lattice ECP5 FPGA. It brings with it a long list of features, including 4 fully independent I/O banks each with: 8 digital I/Os (1.2 to 5.0 V), 2 analog inputs (single-ended or differential), power source (300 mA), current/voltage sense, fault alerts, and a load switch. Whether you’re reverse-engineering a device to repair it, bringing up a new device for a client, or setting up factory test on a production line, we have you covered. Software isn’t an afterthought but an integral component of the vertically integrated system, and we take reliability very seriously.

Exploration and Play

One day you wake up to your roommate telling you that he found a handheld CB radio buried in the mud in a lake. The device piques your interest, and despite some corrosion, it could still work. Maybe you could even extract its firmware! Thankfully you have your trusty Glasgow Interface Explorer at the ready.

Eyeing the board, you find an ONsemi N24C02 EEPROM. Using a SOIC clip, you can use your Explorer revD to run a voltage scan, revealing a device on the i2c bus, and its address. You run glasgow run memory-24x -V 3.3 -W 1 -A 0b1010001 read 0 256 -f n24c02.bin. The result seems to contain device calibration and settings.

There’s an MCU onboard with lasered-off markings and a Winbond W25Q64FV Flash memory. You connect a SOIC clip to the memory and run glasgow run memory-25q -V 3.3 identify. This displays the SFDP information, confirming that the memory still works. You follow it up with glasgow run memory-25q -V 3.3 --quad-spi read 0 0x800000 -f w25q64fv.bin. The quad mode read command makes short work of the contents, extracting it in about two seconds. It seems to contain audio data, but no machine code.

Using some test pads near the MCU, you can use Glasgow to test for a JTAG port. Glasgow instructs you to run glasgow run jtag-probe -V 3.3 --tck A4 --tms A0 --tdo A1 --tdi A3 --trst A2. You run this and discover that the MCU contains an ARM Cortex core that also supports SWD! With access to the JTAG and SWD pins, you run glasgow run swd-probe -V 3.3 --swclk A4 --swdio A0. This confirms a working SWD port and prints some details about the device. You follow it up with glasgow run swd-probe -V 3.3 --swclk A4 --swdio A0 dump-memory 0 0x100000 -f unknownmcu.bin, making an educated guess about the location of the code in the MCU address space.

In a few seconds, you obtain a firmware dump containing Thumb machine code. Finally, you follow it up with glasgow run probe-rs -V 3.3 --swclk A4 --swdio A0, which lets you debug the Cortex core using https://probe.rs and GDB. Your scenario will likely be different from the one above, but that’s okay: your curiosity will point you towards the solution and Glasgow Interface Explorer will adapt to make it happen.

Features & Specifications

Software

Interested in This Project?

You can sign up at the top of this page to be notified when the campaign launches and to receive other updates. We only send out relevant content, and you can unsubscribe at any time.

About the Team

Fully Automated

 ·   · 

Creating Open Hardware for fun and sometimes profit since 2019.

See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects