From 89314d40d6629997b2fbe05f279310b1d4981c01 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sat, 9 Jun 2012 22:34:01 -0700 Subject: [PATCH] Added Bus Blaster programming script. Added README explaining project contents and programming process. --- hardware/jellybean/sgpio_if/README.md | 33 +++++++++++++++++++++++++++ hardware/jellybean/sgpio_if/program | 10 ++++++++ 2 files changed, 43 insertions(+) create mode 100644 hardware/jellybean/sgpio_if/README.md create mode 100755 hardware/jellybean/sgpio_if/program diff --git a/hardware/jellybean/sgpio_if/README.md b/hardware/jellybean/sgpio_if/README.md new file mode 100644 index 00000000..2f9a062e --- /dev/null +++ b/hardware/jellybean/sgpio_if/README.md @@ -0,0 +1,33 @@ + +CPLD interface between LPC43xx microcontroller SGPIO peripheral and MAX5864 +RF codec. + +Requirements +============ + +To build this VHDL project and produce an SVF file for flashing the CPLD: + +* Xilinx WebPACK 13.4 for Windows or Linux. + +* BSDL model files for Xilinx CoolRunner-II XC264A, available at xilinx.com, + in the "Device Models" Support Resources section of the CoolRunner-II + Product Support & Documentation page. Only one file from the BSDL package is + required, and the "program" script below expects it to be at the relative + path "bsdl/xc2c/xc2c64.bsd". + +To program the SVF file into the CPLD: + +* Dangerous Prototypes Bus Blaster v2: + * Configured with JTAGKey buffers. + * Connected to CPLD JTAG signals on Jellybean. + +* urJTAG built with libftdi support. + +To Program +========== + +./program + +...which connects to the Bus Blaster interface 0, sets the BSDL directory, +detects devices on the JTAG chain, and writes the sgpio_if.svf file to the +CPLD. diff --git a/hardware/jellybean/sgpio_if/program b/hardware/jellybean/sgpio_if/program new file mode 100755 index 00000000..9404a3c0 --- /dev/null +++ b/hardware/jellybean/sgpio_if/program @@ -0,0 +1,10 @@ +#!/bin/sh + +echo Program Xilinx CoolRunner-II CPLD on Jellybean, using Bus Blaster v2 + +jtag <