From 18a36b9061131de8a7df09ba89c7f4a4ad48d528 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 9 Jun 2016 20:50:49 +0200 Subject: [PATCH] load ds using SAMPLE/PRELOAD before EXTEST --- openocd-jtag-boundary-scan.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openocd-jtag-boundary-scan.pl b/openocd-jtag-boundary-scan.pl index 50043df..001bb28 100755 --- a/openocd-jtag-boundary-scan.pl +++ b/openocd-jtag-boundary-scan.pl @@ -165,6 +165,8 @@ if ( $cmd =~ /(\d+)=(\d)/ ) { print diff_bits( $BSR, $b ), $/; + print $sock "irscan x300.tap 0x55\n"; # SAMPLE/PRELOAD + print $sock "drscan x300.tap 288 0x", bin2hex($b), "\n"; print $sock "irscan x300.tap 0x00\n"; # EXTEST print $sock "drscan x300.tap 288 0x", bin2hex($b), "\n"; } else { -- 2.20.1