# Reset the module
0x6008 1
wait 500ms

## Get Module ids for log file
print "Hardware ID:"
read a32 d16 0x6008	# hardware ID
accu_mask_rotate 0x0000ffff 0
accu_test eq 0x5005 "MDPP-16 hardware id check"

print "Firmware Revision:"
read a32 d16 0x600E # firmware revision
accu_mask_rotate 0x0000f000 20
accu_test eq 2 "SCP firmware check"

0x603a 0   # stop acq
0x603c 1   # FIFO reset
0x6034 1   # readout reset
