SPIspy for the Flashkeeper SPI Emulator and Probe
Find a file
2025-08-06 03:31:02 -04:00
bin cmdline: formated and raw output modes 2019-09-29 18:38:04 +02:00
images readme: notes on using sfdp and where to put it 2019-08-12 18:54:52 +02:00
serial more hacking to try to make things better, but the hx is too slow 2019-06-20 17:44:50 +02:00
test Add LPF/adjust for FSE board, add test script - it works! 2025-08-06 03:30:52 -04:00
verilog Add LPF/adjust for FSE board, add test script - it works! 2025-08-06 03:30:52 -04:00
.gitignore started conversion to ecp5 fpga; everything is broken now 2019-06-20 17:53:25 +02:00
README.md Update README 2025-08-06 03:31:02 -04:00
sfdp.bin sample sfdp binary to be loaded at 0x1000000 (issue #9) 2019-06-27 18:58:07 +02:00

SPIspy for Flashkeeper

This is a version of SPIspy for the Flashkeeper SPI Emulator board (FSE).

Setup Instructions

Build and install icesprog and its associated udev rules (see https://github.com/wuxx/icesugar/tree/master/tools/src).

Install the FPGA toolchain dependencies:

sudo apt install nextpnr-ecp5-qt yosys fpga-trellis

To build the SPIspy bitstream:

cd verilog/
make

To flash to your Flashkeeper SPI Emulator, connect a USB-C cable to the second USB-C port (the one on the iCESugar-Pro SoM, not the one on the base board - you may need to release the SoM from its SODIMM slot to do this), then flash the image using icesprog.

cd verilog/
icesprog spispy.bit

Now reinstall the SoM, connect your USB-C cable to the other USB-C port (the one on the baseboard), and confirm you can see an FPGA firmware version:

$ bin/spispy --verbose
Version: '11111111'

Testing

Connect a pico-serprog to the FSE board via the Clip header, as you would connect a chip clip. Then run the test script to write random data into the SPIspy RAM over USB, read it back using the pico-serprog, and confirm it matches.

cd test/
./test.sh