Commit 0f8328d6 authored by Mariusz Mroz's avatar Mariusz Mroz

Fix missing files and modules

parent 40a16639
......@@ -13,7 +13,6 @@
[submodule "gateware/ip_cores/etherbone-core"]
path = gateware/ip_cores/etherbone-core
url = git://ohwr.org/hdl-core-lib/etherbone-core.git
[submodule "software/fpga-config-space"]
path = software/fpga-config-space
url = git://ohwr.org/hdl-core-lib/fpga-config-space.git
File mode changed from 100644 to 100755
......@@ -75,7 +75,7 @@ do
echo " "
# sudo ./ptsDacDDS.py -b FmcDac600m12b1chaDds -s $serial -e $extra_serial -t./test/fmcdac600m12b1chadds/python -l $LOGDIR 00 01 02 03 04 05 06 07
sudo ./ptsDacDDS.py -b FmcDac600m12b1chaDds -s $serial -e $extra_serial -t./test/fmcdac600m12b1chadds/python -l $LOGDIR 00 01 03 04 05 06 07
sudo ./ptsDacDDS.py -b FmcDac600m12b1chaDds -s $serial -e $extra_serial -t./test/fmcdac600m12b1chadds/python -l $LOGDIR 00 01 02 03 04 05 06 07
if [ "$nb_test" != "$nb_test_limit" ]
......
#!/bin/bash
echo "WARRNING!!!"
echo "errors indicating that modules are not loaded should be ignored"
echo "i.e: rmmod: \"ERROR: Module fmc_adc_100m14b is not currently loaded\" should be ignored"
rmmod fmc_adc_100m14b > /dev/null
rmmod zio > /dev/null
rmmod rawrabbit > /dev/null
rmmod spec > /dev/null
rmmod fmc > /dev/null
modprobe usbserial
rmmod cp210x
rmmod usbtmc
prg=$0
if [ ! -e "$prg" ]; then
case $prg in
(*/*) exit 1;;
(*) prg=$(command -v -- "$prg") || exit;;
esac
fi
dir=$(
cd -P -- "$(dirname -- "$prg")" && pwd -P
) || exit
prg=$dir/$(basename -- "$prg") || exit
top=`echo "$prg" | sed 's/pts.*/pts\//'`
insmod "$top/test/fmcdac600m12b1chadds/software/fmc-bus/kernel/fmc.ko"
insmod "$top/test/fmcdac600m12b1chadds/software/spec-sw/kernel/spec.ko"
insmod "$top/test/fmcdac600m12b1chadds/software/fmc-adc-100m14b4cha-sw/zio/zio.ko"
insmod "$top/test/fmcdac600m12b1chadds/software/fmc-adc-100m14b4cha-sw/kernel/fmc-adc-100m14b.ko"
insmod "$top/cp210x/cp210x.ko"
# "$top/usbdriver/usbtmc_load"
LOGDIR="$top/log_fmcdac600m12b1chadds"
mkdir -p "$LOGDIR"
mkdir -p "$LOGDIR/eeprom"
# sudo rm -fr $LOGDIR/pts*
serial=$1
if [ x$1 = x"" ]; then
echo -n "Please scan CERN serial number bar-code, then press [ENTER]: "
read serial
fi
if [ x$serial = x"" ]; then
serial=0000
fi
extra_serial=$2
if [ x$2 = x"" ]; then
echo -n "If needed input extra serial number and press [ENTER] OR just press [ENTER]: "
read extra_serial
fi
if [ x$extra_serial = x"" ]; then
extra_serial=0000
fi
echo " "
nb_test_limit=2
nb_test=1
while [ "$nb_test" -le "$nb_test_limit" ]
do
echo "--------------------------------------------------------------"
echo "Test series run $nb_test out of $nb_test_limit"
echo " "
# sudo ./ptsDacDDS.py -b FmcDac600m12b1chaDds -s $serial -e $extra_serial -t./test/fmcdac600m12b1chadds/python -l $LOGDIR 00 01 02 03 04 05 06 07
sudo ./ptsDacDDS.py -b FmcDac600m12b1chaDds -s $serial -e $extra_serial -t./test/fmcdac600m12b1chadds/python -l $LOGDIR 00 01 03 04 05 06 07
if [ "$nb_test" != "$nb_test_limit" ]
then
echo " "
echo -n "Do you want to run the test series again [y,n]? "
read reply
if [ "$reply" != "y" ]
then
break
fi
fi
nb_test=$(($nb_test+1))
done
echo "--------------------------------------------------------------"
echo " "
echo -n "End of the test, do you want to switch the computer OFF? [y,n]"
read reply
if [ "$reply" = "y" ]
then
sudo halt
fi
etherbone-core @ c1e676dc
Subproject commit c1e676dc9d35028910c50431d70328e522396c89
general-cores @ 97bc7197
Subproject commit 97bc71975252b32cf8a47ba895f7010734f015e5
gn4124-core @ ffea5479
Subproject commit ffea5479190c09938cbba9b7076953c5c41645f3
wr-cores @ 598a2f6c
Subproject commit 598a2f6ccbf1ac937ff589c0797cd2a487306efe
scripts/wbscript.sh
\ No newline at end of file
scripts/wbscript.sh
\ No newline at end of file
File mode changed from 100644 to 100755
This diff is collapsed.
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
[0x00, 0x10],
[0x02, 0x20],
[0x04, 0x00],
[0x05, 0x00],
[0x06, 0x19],
[0x07, 0x04],
[0x08, 0x45],
[0x09, 0x30],
[0x0A, 0x06],
[0x0B, 0x00],
[0x0C, 0x01],
[0x0D, 0x20],
[0x34, 0x01],
[0x35, 0x00],
[0x36, 0x00],
[0x37, 0x04],
[0x38, 0x01],
[0x39, 0x00],
[0x3A, 0x00],
[0x3B, 0x04],
[0x3C, 0x08],
[0x3D, 0x0B],
[0x3E, 0x0B],
[0x3F, 0x08],
[0x40, 0x03],
[0x41, 0x03],
[0x42, 0x00],
[0x43, 0x03],
[0x44, 0x13],
[0x45, 0x00],
[0x48, 0x00],
[0x49, 0x00],
[0x4A, 0x00],
[0x4B, 0x00],
[0x4C, 0x11],
[0x4D, 0x00],
[0x4E, 0x44],
[0x4F, 0x00],
[0x50, 0x00],
[0x51, 0x00],
[0x52, 0x11],
[0x53, 0x00],
[0x54, 0x44],
[0x55, 0x00],
[0x56, 0x00],
[0x57, 0x00],
[0x58, 0x00],
[0x59, 0x00],
[0x5A, 0x00],
[0x00, 0x10],
[0x02, 0x20],
[0x04, 0x00],
[0x05, 0x00],
[0x06, 0x19],
[0x07, 0x04],
[0x08, 0x45],
[0x09, 0x30],
[0x0A, 0x06],
[0x0B, 0x00],
[0x0C, 0x01],
[0x0D, 0x20],
[0x34, 0x01],
[0x35, 0x00],
[0x36, 0x00],
[0x37, 0x04],
[0x38, 0x01],
[0x39, 0x00],
[0x3A, 0x00],
[0x3B, 0x04],
[0x3C, 0x08],
[0x3D, 0x0B],
[0x3E, 0x0B],
[0x3F, 0x08],
[0x40, 0x03],
[0x41, 0x03],
[0x42, 0x00],
[0x43, 0x03],
[0x44, 0x13],
[0x45, 0x00],
[0x48, 0x00],
[0x49, 0x00],
[0x4A, 0x00],
[0x4B, 0x00],
[0x4C, 0x11],
[0x4D, 0x00],
[0x4E, 0x44],
[0x4F, 0x00],
[0x50, 0x00],
[0x51, 0x00],
[0x52, 0x11],
[0x53, 0x00],
[0x54, 0x44],
[0x55, 0x00],
[0x56, 0x00],
[0x57, 0x00],
[0x58, 0x00],
[0x59, 0x00],
[0x5A, 0x00],
"AD9510 Setup File"
"Rev","1.0"
""
"Addr(Hex)","Value(Bin)","Value(Hex)"
"00","00010000","10"
"02","00100000","20"
"04","00000000","00"
"05","00000000","00"
"06","00011001","19"
"07","00000100","04"
"08","01000101","45"
"09","00110000","30"
"0A","00000110","06"
"0B","00000000","00"
"0C","00000001","01"
"0D","00100000","20"
"34","00000001","01"
"35","00000000","00"
"36","00000000","00"
"37","00000100","04"
"38","00000001","01"
"39","00000000","00"
"3A","00000000","00"
"3B","00000100","04"
"3C","00001000","08"
"3D","00001011","0B"
"3E","00001011","0B"
"3F","00001000","08"
"40","00000011","03"
"41","00000011","03"
"42","00000000","00"
"43","00000011","03"
"44","00010011","13"
"45","00000000","00"
"48","00000000","00"
"49","00000000","00"
"4A","00000000","00"
"4B","00000000","00"
"4C","00010001","11"
"4D","00000000","00"
"4E","01000100","44"
"4F","00000000","00"
"50","00000000","00"
"51","00000000","00"
"52","00010001","11"
"53","00000000","00"
"54","01000100","44"
"55","00000000","00"
"56","00000000","00"
"57","00000000","00"
"58","00000000","00"
"59","00000000","00"
"5A","00000000","00"
""
"Other Settings..."
"RefIn:",10
"CLKInp1:",10
"CLKInp2:",500
"CPRSet:",5100
"Auto Update:",1
"Load All Regs:",0
"AD9510 Setup File"
"Rev","1.0"
""
"Addr(Hex)","Value(Bin)","Value(Hex)"
"00","00010000","10"
"02","00100000","20"
"04","00000000","00"
"05","00000000","00"
"06","00011001","19"
"07","00000100","04"
"08","01000101","45"
"09","00110000","30"
"0A","00000110","06"
"0B","00000000","00"
"0C","00000001","01"
"0D","00100000","20"
"34","00000001","01"
"35","00000000","00"
"36","00000000","00"
"37","00000100","04"
"38","00000001","01"
"39","00000000","00"
"3A","00000000","00"
"3B","00000100","04"
"3C","00001000","08"
"3D","00001011","0B"
"3E","00001011","0B"
"3F","00001000","08"
"40","00000011","03"
"41","00000011","03"
"42","00000000","00"
"43","00000011","03"
"44","00010011","13"
"45","00000000","00"
"48","00000000","00"
"49","00000000","00"
"4A","00000000","00"
"4B","00000000","00"
"4C","00010001","11"
"4D","00000000","00"
"4E","01000100","44"
"4F","00000000","00"
"50","00000000","00"
"51","00000000","00"
"52","00010001","11"
"53","00000000","00"
"54","01000100","44"
"55","00000000","00"
"56","00000000","00"
"57","00000000","00"
"58","00000000","00"
"59","00000000","00"
"5A","00000000","00"
""
"Other Settings..."
"RefIn:",10
"CLKInp1:",10
"CLKInp2:",500
"CPRSet:",5100
"Auto Update:",1
"Load All Regs:",0
"AD9510 Setup File"
"Rev","1.0"
""
"Addr(Hex)","Value(Bin)","Value(Hex)"
"00","00010000","10"
"02","00100000","20"
"04","00000000","00"
"05","00000000","00"
"06","00011001","19"
"07","00000000","00"
"08","01000101","45"
"09","00110000","30"
"0A","00000110","06"
"0B","00000000","00"
"0C","00000001","01"
"0D","00100000","20"
"34","00000001","01"
"35","00000000","00"
"36","00000000","00"
"37","00000100","04"
"38","00000001","01"
"39","00000000","00"
"3A","00000000","00"
"3B","00000100","04"
"3C","00001000","08"
"3D","00001011","0B"
"3E","00001011","0B"
"3F","00001000","08"
"40","00000011","03"
"41","00000011","03"
"42","00000000","00"
"43","00000011","03"
"44","00010011","13"
"45","00000000","00"
"48","00000000","00"
"49","00000000","00"
"4A","00000000","00"
"4B","00000000","00"
"4C","00010001","11"
"4D","00000000","00"
"4E","01000100","44"
"4F","00000000","00"
"50","00000000","00"
"51","00000000","00"
"52","00010001","11"
"53","00000000","00"
"54","01000100","44"
"55","00000000","00"
"56","00000000","00"
"57","00000000","00"
"58","00000000","00"
"59","00000000","00"
"5A","00000000","00"
""
"Other Settings..."
"RefIn:",10
"CLKInp1:",10
"CLKInp2:",500
"CPRSet:",5100
"Auto Update:",1
"Load All Regs:",0
"AD9510 Setup File"
"Rev","1.0"
""
"Addr(Hex)","Value(Bin)","Value(Hex)"
"00","00010000","10"
"02","00100000","20"
"04","00000000","00"
"05","00000000","00"
"06","00011001","19"
"07","00000000","00"
"08","01000101","45"
"09","00110000","30"
"0A","00000110","06"
"0B","00000000","00"
"0C","00000001","01"
"0D","00100000","20"
"34","00000001","01"
"35","00000000","00"
"36","00000000","00"
"37","00000100","04"
"38","00000001","01"
"39","00000000","00"
"3A","00000000","00"
"3B","00000100","04"
"3C","00001000","08"
"3D","00001011","0B"
"3E","00001011","0B"
"3F","00001000","08"
"40","00000011","03"
"41","00000011","03"
"42","00000000","00"
"43","00000011","03"
"44","00010011","13"
"45","00000000","00"
"48","00000000","00"
"49","00000000","00"
"4A","00000000","00"
"4B","00000000","00"
"4C","00010001","11"
"4D","00000000","00"
"4E","01000100","44"
"4F","00000000","00"
"50","00000000","00"
"51","00000000","00"
"52","00010001","11"
"53","00000000","00"
"54","01000100","44"
"55","00000000","00"
"56","00000000","00"
"57","00000000","00"
"58","00000000","00"
"59","00000000","00"
"5A","00000000","00"
""
"Other Settings..."
"RefIn:",10
"CLKInp1:",10
"CLKInp2:",500
"CPRSet:",5100
"Auto Update:",1
"Load All Regs:",0
00 10
02 20
04 00
05 00
06 19
07 00
08 45
09 30
0A 06
0B 00
0C 01
0D 20
34 01
35 00
36 00
37 04
38 01
39 00
3A 00
3B 04
3C 08
3D 0B
3E 0B
3F 08
40 03
41 03
42 00
43 03
44 13
45 00
48 00
49 00
4A 00
4B 00
4C 11
4D 00
4E 44
4F 00
50 00
51 00
52 11
53 00
54 44
55 00
56 00
57 00
58 00
59 00
5A 00
00 10
02 20
04 00
05 00
06 19
07 00
08 45
09 30
0A 06
0B 00
0C 01
0D 20
34 01
35 00
36 00
37 04
38 01
39 00
3A 00
3B 04
3C 08
3D 0B
3E 0B
3F 08
40 03
41 03
42 00
43 03
44 13
45 00
48 00
49 00
4A 00
4B 00
4C 11
4D 00
4E 44
4F 00
50 00
51 00
52 11
53 00
54 44
55 00
56 00
57 00
58 00
59 00
5A 00
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
"AD9510 Setup File"
"Rev","1.0"
""
"Addr(Hex)","Value(Bin)","Value(Hex)"
"00","00010000","10"
"02","00100000","20"
"04","00000000","00"
"05","00000000","00"
"06","00011001","19"
"07","00000000","00"
"08","01000101","45"
"09","00110000","30"
"0A","00000110","06"
"0B","00000000","00"
"0C","00000001","01"
"0D","00100000","20"
"34","00000001","01"
"35","00000000","00"
"36","00000000","00"
"37","00000100","04"
"38","00000001","01"
"39","00000000","00"
"3A","00000000","00"
"3B","00000100","04"
"3C","00001000","08"
"3D","00001011","0B"
"3E","00001011","0B"
"3F","00001000","08"
"40","00000011","03"
"41","00000011","03"
"42","00000000","00"
"43","00000011","03"
"44","00010011","13"
"45","00000000","00"
"48","00000000","00"
"49","00000000","00"
"4A","00000000","00"
"4B","00000000","00"
"4C","00010001","11"
"4D","00000000","00"
"4E","01000100","44"
"4F","00000000","00"
"50","00000000","00"
"51","00000000","00"
"52","00010001","11"
"53","00000000","00"
"54","01000100","44"
"55","00000000","00"
"56","00000000","00"
"57","00000000","00"
"58","00000000","00"
"59","00000000","00"
"5A","00000000","00"
""
"Other Settings..."
"RefIn:",10
"CLKInp1:",10
"CLKInp2:",500
"CPRSet:",5100
"Auto Update:",1
"Load All Regs:",0
"AD9510 Setup File"
"Rev","1.0"
""
"Addr(Hex)","Value(Bin)","Value(Hex)"
"00","00010000","10"
"02","00100000","20"
"04","00000000","00"
"05","00000000","00"
"06","00011001","19"
"07","00000000","00"
"08","01000101","45"
"09","00110000","30"
"0A","00000110","06"
"0B","00000000","00"
"0C","00000001","01"
"0D","00100000","20"
"34","00000001","01"
"35","00000000","00"
"36","00000000","00"
"37","00000100","04"
"38","00000001","01"
"39","00000000","00"
"3A","00000000","00"
"3B","00000100","04"
"3C","00001000","08"
"3D","00001011","0B"
"3E","00001011","0B"
"3F","00001000","08"
"40","00000011","03"
"41","00000011","03"
"42","00000000","00"
"43","00000011","03"
"44","00010011","13"
"45","00000000","00"
"48","00000000","00"
"49","00000000","00"
"4A","00000000","00"
"4B","00000000","00"
"4C","00010001","11"
"4D","00000000","00"
"4E","01000100","44"
"4F","00000000","00"
"50","00000000","00"
"51","00000000","00"
"52","00010001","11"
"53","00000000","00"
"54","01000100","44"
"55","00000000","00"
"56","00000000","00"
"57","00000000","00"
"58","00000000","00"
"59","00000000","00"
"5A","00000000","00"
""
"Other Settings..."
"RefIn:",10
"CLKInp1:",10
"CLKInp2:",500
"CPRSet:",5100
"Auto Update:",1
"Load All Regs:",0
../spec-sw/
\ No newline at end of file
../spec-sw/
\ No newline at end of file
File mode changed from 100644 to 100755