From: beeanyew Date: Thu, 8 Apr 2021 12:20:26 +0000 (+0200) Subject: Make OpenOCD configs -quiet again and update the readme with a note X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9c963bb7ea0834bfcc5a5c86776e8882b058c7e1;p=pistorm Make OpenOCD configs -quiet again and update the readme with a note The new version of OpenOCD doesn't print the success message anyway even with -quiet removed, it just spams the terminal a lot. --- diff --git a/README.md b/README.md index 006b79e..dbd63a9 100644 --- a/README.md +++ b/README.md @@ -78,3 +78,4 @@ Make CPLD programming shell scripts executable: Run the FPGA update with: `sudo ./nprog.sh` or `sudo ./nprog_240.sh` if you are using a Rev. B EPM240 PiStorm board. +If no fatal error messages are printed on screen and you see a message saying `shutdown command invoked`, this means that the CPLD has been programmed successfully. diff --git a/nprog/68_240.cfg b/nprog/68_240.cfg index 013bb97..7bec28a 100644 --- a/nprog/68_240.cfg +++ b/nprog/68_240.cfg @@ -28,6 +28,6 @@ reset_config srst_only srst_open_drain transport select jtag jtag newtap max2 tap -irlen 11 -expected-id 0x020a20dd init -svf ./rtl/EPM240_bitstream.svf +svf ./rtl/EPM240_bitstream.svf -quiet sleep 200 shutdown diff --git a/nprog/68new.cfg b/nprog/68new.cfg index 74a3fe4..4ea3c2e 100644 --- a/nprog/68new.cfg +++ b/nprog/68new.cfg @@ -28,6 +28,6 @@ reset_config srst_only srst_open_drain transport select jtag jtag newtap max2 tap -irlen 11 -expected-id 0x020a20dd init -svf ./rtl/bitstream.svf +svf ./rtl/bitstream.svf -quiet sleep 200 shutdown diff --git a/nprog/68old.cfg b/nprog/68old.cfg index c717b70..a09ffb5 100644 --- a/nprog/68old.cfg +++ b/nprog/68old.cfg @@ -33,6 +33,6 @@ reset_config srst_only srst_open_drain transport select jtag jtag newtap max2 tap -irlen 11 -expected-id 0x020a20dd init -svf ./rtl/bitstream.svf +svf ./rtl/bitstream.svf -quiet sleep 200 shutdown