next up previous contents
Next: About this document ... Up: Appendix A Previous: flatfield_new

tc_clean_slate

#
#  Reset the ICU to the operational mode
#

set_dump_tm 0

####################################################
#
# This script brings up the DPU in a clean slate
#
####################################################

# clear all GSE semaphores

tm_clear_sem

# < idiot.vsw

#
#	slow down red clock rate
#
# no telesim card so don't do this
#wtc 0x11

#
#  First reset the DPU
#

tc_reset_dsp 0
# wait_for_alert 0xa510
taskDelay (60*10)

#
# Next reload the DPUOS
#

tc_load_dpuos
#wait_for_alert 0xa511
taskDelay (60*6)

# tc_enbl_alert_carry_clock 1

# Turn on echo command
# tc_enbl_command_echo 1

tc_enbl_dsp red,1

taskDelay (60*10)

tc_enbl_dsp blue1,1

taskDelay (60*10)

tc_enbl_dsp blue2,1

taskDelay (60*10)

# Select blue2 as the klingon
tc_sel_klingon 1

tc_synch_clk 20

taskDelay (3*60)

#################################################################
#
# Initialize DPU
#
#################################################################
# Initialize high level DPU

# tc_send_command IC_INIT_DPU
tc_init_dpu

# tm_wait_for_alert DA_EOT_INIT_DPU
taskDelay(60*25)




1998-12-23