Skip to content

Instantly share code, notes, and snippets.

View makestuff's full-sized avatar

Chris McClelland makestuff

View GitHub Profile
@makestuff
makestuff / had-bug.html
Created June 22, 2014 13:51
Bug in hackaday.io
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if IE 9]> <html class="no-js ie9" lang="en"> <![endif]-->
<!--[if gt IE 9]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<title>USB MegaDrive DevKit &bull; Hackaday Projects</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="/css/style.css?version=0.22.6" />
@makestuff
makestuff / lx9r3-howto
Last active August 29, 2015 14:02
Build FPGALink and the cksum VHDL example, and use flcli to write data to an LX9R3 board, and then read data back from it.
---------------------------------------------------------------------------------------------------
Building FPGALink & the cksum example VHDL for MakeStuff LX9R3 on Linux:
# Install prerequisites:
sudo apt-get install build-essential libreadline-dev libusb-1.0-0-dev python-yaml
mkdir $HOME/20140524
cd $HOME/20140524
wget -qO- http://tiny.cc/msbil | tar zxf -
# Fetch and build flcli:
CAS: CNM:
C RD 0052CC 41FA 41FA C RD 0052CC 41FA 41FA lea 0x52EE(pc), a0
C RD 0052CE 0020 0020 C RD 0052CE 0020 0020
C RD 0052D0 21C8 21C8 C RD 0052D0 21C8 21C8 move.l a0, 0x70
C RD 0052D2 0070 0070 C RD 0052D2 0070 0070
C RD 0052D4 41FA 41FA C RD 0052D4 41FA 41FA lea 0x52E6(pc), a0
C WB 000070 0000 0000 C WB 000070 0000 0000
C WB 000072 52EE 52EE C WB 000072 0200 52EE *
C RD 0052D6 0010 0010 C RD 0052D6 0010 0010
@makestuff
makestuff / python-atlys
Last active August 29, 2015 13:58
Python on Atlys
$ sudo apt-get install build-essential libusb-1.0-0-dev python-yaml
:
$ cd $HOME
$ mkdir 20140524
$ cd 20140524/
$ wget -qO- http://tiny.cc/msbil | tar zxf -
$ cd makestuff
$ scripts/msget.sh makestuff/hdlmake/20140524
Fetching "makestuff/hdlmake/20140524"...
Uncompressing "makestuff/hdlmake/20140524" into "hdlmake" directory...
@makestuff
makestuff / build.sh
Last active August 29, 2015 13:57
Build the 20140524 FPGALink & UMDKv2 tools
#!/bin/sh
#
# Helper script to guide you through the process of building the UMDKv2 tools.
# Note that the build in the final directory ("gdb-bridge") will fail unless
# you have an actual UMDKv2+MD connected, since it runs some integration tests
# on the MD itself, which will fail if there is no MD connected. Note further
# that this assumes Linux x64.
#
export UMDK_VER=20140524
cd $HOME
@makestuff
makestuff / CHANGES.md
Last active July 8, 2017 20:52
High-level descriptions of changes between tagged releases
@makestuff
makestuff / nexys3-howto
Last active August 29, 2015 13:57
Build FPGALink and the cksum VHDL example, and use flcli to write data to a Nexys3 board, and then read data back from it.
---------------------------------------------------------------------------------------------------
Building FPGALink & the cksum example VHDL for Digilent Nexys3 on Linux:
# Install prerequisites:
sudo apt-get install build-essential libreadline-dev libusb-1.0-0-dev python-yaml
mkdir $HOME/20140524
cd $HOME/20140524
wget -qO- http://tiny.cc/msbil | tar zxf -
# Fetch and build flcli:
@makestuff
makestuff / fx2loader
Last active August 29, 2015 13:57
Building fx2loader
---------------------------------------------------------------------------------------------------
Building fx2loader on Linux:
sudo apt-get install build-essential libusb-1.0-0-dev
mkdir $HOME/20140524
cd $HOME/20140524
wget -qO- http://makestuff.eu/bil | tar zxf -
cd makestuff/apps
../scripts/msget.sh makestuff/fx2loader/20140524
cd fx2loader
--------------------------------------------------------------------------------
Release 14.7 Trace (lin64)
Copyright (c) 1995-2013 Xilinx, Inc. All rights reserved.
/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/unwrapped/trce -a top_level.ncd
Design file: top_level.ncd
Physical constraint file: top_level.pcf
Device,package,speed: xc6slx9,tqg144,C,-2 (PRODUCTION 1.23 2013-10-13)
Report level: summary report, limited to 0 items per constraint
@makestuff
makestuff / canton-howto
Last active August 29, 2015 13:57
canton-howto
---------------------------------------------------------------------------------------------------
Building FPGALink & some VHDL examples for Canton Electronics LX9 board on Linux:
sudo apt-get install build-essential libreadline-dev libusb-1.0-0-dev python-yaml gcc-avr avr-libc dfu-programmer
mkdir $HOME/20140524
cd $HOME/20140524
wget -qO- http://tiny.cc/msbil | tar zxf -
cd makestuff/apps
../scripts/msget.sh makestuff/flcli/20140524
cd flcli