From 5c4b8358dcc8bc66da7db277ec733bc84dbf0605 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Fri, 19 Jul 2013 17:27:13 +0200 Subject: [PATCH] writeram via libtrbnet for debugging --- soft/toolbox/jtag_atomic/ui_writeram.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soft/toolbox/jtag_atomic/ui_writeram.pl b/soft/toolbox/jtag_atomic/ui_writeram.pl index e69f319..de91726 100755 --- a/soft/toolbox/jtag_atomic/ui_writeram.pl +++ b/soft/toolbox/jtag_atomic/ui_writeram.pl @@ -441,7 +441,7 @@ foreach my $chain (keys %allchains) { execute_shell_command("trbcmd wm $fpga_addr $ram_addr 0 $memfilenames[$i]", ""); print "---------------\n"; - foreach my $s ($memhash->{$memfilenames[$i]}) { + foreach my $s (@{$memhash->{$memfilenames[$i]}}) { printf("0x%08X\n",$s); } print "---------------\n"; -- 2.43.0