PROC m_fl_ipon ;Version 10 GOTO BEGIN ; ;#************************************************************************** ;# ****PROCEDURE HEADER**** ;# ;# 1.0 Introduction ;# ;# 1.1 FOT Name: m_fl_ipon ;# MMS-F Name: ;# SUM Issue: ;# Simulator Validation Status: ;# ;# 1.2 Date Created: 14-SEP-94 ;# Revision: 1. 11-29-94 ;# 2. 04-24-95 GJ ;# 3. 04-26-95 GJ ;# 4. 05-23-95 RR ;# 5. 05-26-95 RR ;# 6. 15-08-95 GJ ;# 7. 9-11-95 RR ;# 8. 9-15-95 RR ;# 9. 11-15-95 GJ ;# 10.11-18-95 GJ ;# ;# 1.3 Change Description: ;# ;# 1. Changed TM check to end proc if in LR ;# 2. Changed comments and removed waits. Remove last command ;# added call to m_ts_ipwload. ;# 3. added waits between load procs. ;# 4. changed camera header command to d/l noncompres command ;# 5. corrected command for d/l to non-compressed ;# 6. Added disable and enable queue and /mbipldin,0004,013; ;# enable dep intrrupts. ;# 7. changed primary detection logic, added call to m_ts_iprload ;# 8. added call to m_ts_ip_patch ;# 9. Deleted wait 15 and added continue or abort and hex value ;# 10. Changed name convention from m_ts_* to m_fl_*. ;# ;# 1.4 Point of Contact: ;# FOT Author: RROWE ATSC/SOHO 805-3642 ;# ;#************************************************************************** ;# 2.0 Description ;# ;# 2.1 Narrative Description ;# ;# This procedure powers up and initializes the Image ;# Processor (IP) with the primary HR telemetry interface. ;# ;# 2.2 Intended Use: ;# ;# Controlled initial power on of Image Processor as part ;# of MDISSON procedure. ;# ;# 2.3 Duration: TBD ;# ;# 2.4 References: ;# ;#************************************************************************** ;# 3.0 Instructions for Use: ;# ;# 3.1 Parameters Required ;# ;# None ;# ;# 3.2 Critical Activities ;# ;# TBD ;# ;# 3.3 Special Constraints or Activities ;# ;# MDI in SLEEP mode. Medium rate telemetry support require for ;# duration of power on sequence. MDI Operator on station to support ;# verification of procedure. MDI operator verification required for ;# each step before continuing. ;# ;#************************************************************************** ;# 4.0 STEPS: ;# ; BEGIN: IF (P@CMD_STATE#TELECOMMAND = "AVAILABLE") THEN ELSE /CLEAR ;Clearing the Command Buffer. ENDIF ; IF ((P@KKTMMODE<3) and (P@KKTMFID<1)) THEN ;Check TM is not in HR WRITE "TM IS NOT IN HIGH RATE." GOTO END ENDIF P M_PWR_1,1,,+325+450 WAIT; 'GO' to switch on IP ; /mbpwipon; SWITCH ON IP /SEND ; WAIT UNTIL(P@MSPWIPN="ON"); Verify IP nominal power status on. WAIT UNTIL(P@MSPWIPR="ON"); Verify IP redundant power status on. WAIT UNTIL(P@MKPWIP="ON"); Verify IP is on. ; wait 10 ; WAIT; 'GO' to perform IP reset. ; /mbiprsal; IP RESET /SEND ; WAIT 5; Wait 5 seconds. ; /mbiprun; SET IP TO RUN CONDITION /SEND ; wait until(mkipstat=h'0040') SNAP M_PWR_1,,IPON.RPT,OVERWRITE sv p@mipwa ; Record the MDI current. Should be about 0.8. WAIT; 'GO' to load IP built-in flight code. ; ;load IP flight WCS s m_fl_ipwload wait; 'GO' to patch IP WCS code s m_fl_ip_ptch ; wait; 'GO' to load initial IP macro queue ; ;load initial IP macro queue s m_fl_ipqload ; wait; 'GO' to load initial IP tables ; ;load initial IP tables s m_fl_iptload ;configure for the high rate TM interface set_hrtlm: if((mktmsel=1)and(mstmseln=1)) then s m_fl_tlm1ip elseif ((mktmsel=2)and(mstmseln=2)) then s m_fl_tlm2ip else write "HR board select not consistent" sv mktmsel sv mstmseln wait; continue or abort? endif wait; 'GO' to load heritage program macro address /mbipldin,0004,0154 ;disable queue /send wait until(P@CMD_STATE#TELECOMMAND = "AVAILABLE") /mbipcmd,0091,0000,1f00; set default program to heritage /send wait until(P@CMD_STATE#TELECOMMAND = "AVAILABLE") /mbipldin,0004,0136 ;enable queue /send wait until(P@CMD_STATE#TELECOMMAND = "AVAILABLE") /mbipldin,0004,0134 ;enable dep interrupts /send wait until(P@CMD_STATE#TELECOMMAND = "AVAILABLE") wait; 'GO' set default program to lbic 5, 4x4 pack s m_fl_iplbic(5) wait; 'GO' to set d/l to non-compressed /mbipldin,0004,0140,003d,0000 /SEND ; wait; 'GO' to run m_fl_iprload s m_fl_iprload ;#************************************************************************** ;# 5.0 Final Constraints ;# ;# TBD ;# ;#************************************************************************** END: ENDPROC