Using Shrike from the Terminal

Use MicroPython’s mpremote tool to run programs and copy files to Shrike.

Before you begin, install the Shrike MicroPython firmware and download the LED blink bitstream as described in Getting Started.

1. Install mpremote

Activate a Python virtual environment and install mpremote:

    pip install mpremote 

3. Upload the bitstream

Download led_blink.bin for your board revision from the test bitstreams. Copy it to the board:

    mpremote cp led_blink.bin :

The trailing colon selects the connected board. List its files to confirm the transfer:

    mpremote ls 

4. Configure the FPGA

Run this script on the board:

import shrike


shrike.flash("led_blink.bin")

Use mpremote run as in step 2, or enter the lines at the MicroPython prompt.

The FPGA LED should blink.

See the mpremote reference for more commands.

See also the MicroPython community discussion.