Home

Awesome

ldprog

Programming software for Lone Dynamics FPGA boards

Overview

ldprog can be used to program the configuration SRAM or flash on Lone Dynamics FPGA boards.

There are two ways to use ldprog:

Installation for use with Müsli or Raspberry Pi Pico (Ubuntu)

apt-get install libusb-1.0-0-dev
make musli

Installation for use with Raspberry Pi GPIO (Raspbian)

apt-get install pigpio
make gpio

Usage

Display help:

./ldprog -h

Supported Target Devices

Supported Interface Devices

Note: Raspberry Pi Pico and Werkzeug must be loaded with the Müsli firmware. Keks, Eis, Bonbon and Kolibri provide a built-in interface device.

Raspberry Pi GPIO Default Wiring

SignalGPIO#Target Pin
CSPI_SS251
CSPI_SCK112
CSPI_SI103
CSPI_SO94
CRESET235
CDONE246

Raspbery Pi 40-pin Header Pinout

<img src="https://www.raspberrypi.com/documentation/computers/images/GPIO-Pinout-Diagram-2.png" width="50%">

Müsli / Werkzeug / Raspberry Pi Pico Default Wiring

SignalGPIO#Müsli PinWerkzeug PinPico PinTarget Pin1
CSPI_SS9812121
CSPI_SCK10913142
CSPI_SI111014153
CSPI_SO8711114
CRESET34455
CDONE23346

Footnotes

  1. For boards with a 6-pin ISP header.