From 957228f13458fc84dfe9bfd4623957e2d375d02d Mon Sep 17 00:00:00 2001 From: Stewart Mackenzie Date: Thu, 16 Jan 2020 02:14:16 +0800 Subject: [PATCH] document bitstream loading in readme and remove from zc706.cfg --- README.md | 8 ++++++-- openocd/zc706.cfg | 4 ---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1e41742..c25cf09 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,12 @@ cd openocd openocd -f cora-z7-10.cfg ``` +### Loading a bitstream into volatile memory + +```shell + openocd -f zc706.cfg -c "pld load 0 blinker_migen.bit; exit" +``` + ### Development Process Clone this repo onto your development/build machine and the raspberry pi that controls the Xilinx 7000 board @@ -89,5 +95,3 @@ c ``` Sometimes you might need to type `load` after `dr`. -Note, to exit `picocom` hit `ctrl-a x` - diff --git a/openocd/zc706.cfg b/openocd/zc706.cfg index c8f0b44..7cb6381 100644 --- a/openocd/zc706.cfg +++ b/openocd/zc706.cfg @@ -41,7 +41,3 @@ targets $_TARGETNAME_1 arm mcr 15 0 1 0 0 [expr [arm mrc 15 0 1 0 0] & ~0xd] targets $_TARGETNAME_0 arm mcr 15 0 1 0 0 [expr [arm mrc 15 0 1 0 0] & ~0xd] - -# uncomment the below to load up a bitstream onto the fpga -#pld load 0 blinker_migen.bit -#exit