]> jspc29.x-matter.uni-frankfurt.de Git - jtag_mvd.git/commitdiff
correcting register
authorJan Michel <j.michel@gsi.de>
Fri, 19 Jul 2013 11:18:59 +0000 (13:18 +0200)
committerJan Michel <j.michel@gsi.de>
Fri, 19 Jul 2013 11:18:59 +0000 (13:18 +0200)
soft/toolbox/jtag_atomic/ui_generators.pl

index 1e7876b4c3b79125e1106113098a87cee34210b0..06ba822d8737b04e360c4efb55c9940cc9a2da42 100644 (file)
@@ -111,7 +111,7 @@ sub generate_h_prog_ram {
   my($chain) = @_;
   return sub {
     init_msg("program RAM $chain.");
-    execute_shell_command("./ui_writeram.pl -c $chain -q", "$chain: done.\n"); # load sensor*.ini
+    execute_shell_command("./ui_writeram.pl -c $chain", "$chain: done.\n"); # load sensor*.ini
   }
 }
 
@@ -221,10 +221,10 @@ sub generate_h_maps_reset {
   return sub {
     init_msg("initseq setting: MAPS reset addr $conf_resets_addr $onoroff " . $chain);
     if($onoroff == 0) {
-      trb_register_clearbit($fpga_addr,$conf_signals_addr,(1 << $chainnr));
+      trb_register_clearbit($fpga_addr,$conf_resets_addr,(1 << $chainnr));
       }
     else {
-      trb_register_setbit($fpga_addr,$conf_signals_addr,(1 << $chainnr));
+      trb_register_setbit($fpga_addr,$conf_resets_addr,(1 << $chainnr));
       }    
   }
 }