]> jspc29.x-matter.uni-frankfurt.de Git - mimosis_chain.git/commitdiff
added chipid to dac gui
authorMaps <maps@ikf>
Mon, 14 Apr 2025 07:05:12 +0000 (09:05 +0200)
committerMaps <maps@ikf>
Mon, 14 Apr 2025 07:05:12 +0000 (09:05 +0200)
http/htdocs/getdac.pl
http/htdocs/setreg.pl

index fb448f19eae0a64a88a63b6efda5c6ea44cc8e67..a6a7b3e1bc8008d252d2e56de6030ce00e96f98e 100755 (executable)
@@ -17,6 +17,7 @@ my ($fpga,$reg,$value) = split('-',$ENV{'QUERY_STRING'});
 $fpga = hex( $fpga ) if $fpga =~ /^0x/;
 
 Mimosis::set_fpga( $fpga );
+Mimosis::set_chipid(1);
 #single access mode as default
 Mimosis::set_singleAccess(1);
 my $val;
index 798dda745d63b28e778292371031bbe5b0a36164..0a99b38cd152d2c33a7022ba89006a2247804fca 100755 (executable)
@@ -15,5 +15,5 @@ $register = sprintf("0x%X", $register);
 $value = sprintf("0x%X", $value);
 
 # system("cd ../scripts; ./mimosis_i2c_cmd.pl -f $fpga -r $register -d $value -s");
-system("mimosis -f $fpga -a reg $register $value");
+system("mimosis -f $fpga -a -c1 reg $register $value");
 exit 1;