Skip to content

machdyne/ldprog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • Run ldprog on a Raspberry Pi and directly connect the target device to the Raspberry Pi GPIO pins
  • Run ldprog on a Linux computer and use a USB interface device (see supported devices below)

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

  • Raspberry Pi (GPIO)
  • Raspberry Pi Pico (USB)
  • Werkzeug (USB)
  • Müsli (USB)

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

Signal GPIO# Target Pin
CSPI_SS 25 1
CSPI_SCK 11 2
CSPI_SI 10 3
CSPI_SO 9 4
CRESET 23 5
CDONE 24 6

Raspbery Pi 40-pin Header Pinout

Müsli / Werkzeug / Raspberry Pi Pico Default Wiring

Signal GPIO# Müsli Pin Werkzeug Pin Pico Pin Target Pin1
CSPI_SS 9 8 12 12 1
CSPI_SCK 10 9 13 14 2
CSPI_SI 11 10 14 15 3
CSPI_SO 8 7 11 11 4
CRESET 3 4 4 5 5
CDONE 2 3 3 4 6

Footnotes

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

About

Lone Dynamics Device Programmer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published