PROC m_fl_dp_patch ;Version 6 GOTO BEGIN ; ;#************************************************************************** ;# ****PROCEDURE HEADER**** ;# ;# 1.0 Introduction ;# ;# 1.1 FOT Name: m_fl_dp_patch ;# MDI Name: m_dp_patch ;# SUM Issue: N/A ;# Simulator Validation Status: ;# ;# 1.2 Date Created: 02-Aug-95 ;# Revision: 1. 10-30-95 RR ;# 2. 11-02-95 GJ ;# 3. 11/18/95 GJ ;# 4. 12-2-95 RR ;# 5. 04-24-96 TL ;# 6. 06-14-96 CG ;# ;# 1.3 Change Description: ;# ;# 1. Added waits and tm checks. Added /mbdpl commande ;# 2. Changed mkdpswpn=h '10' to'0b' ;# 3. Changed naming convention from m_ts_* to m_fl_*. ;# 4. Corrected Data words ;# 5. Changed command from /MBDPNL to /MBDPML. ;# 6. Corrected WAIT UNTIL (MKTCCNT= CCNT+4) to +5. ;# ;# 1.4 Point of Contact: Carline Cazeau ;# FOT Author: GJennings ATSC/SOHO 286-4799 ;# ;#************************************************************************** ;# 2.0 Description ;# ;# 2.1 Narrative Description ;# ;# This procedure patches the DEP executable code during ;# its active use. Telemetry should not be interrupted. ;# ;# 2.2 Intended Use: ;# ;# Patch DEP flight software during active execution. ;# ;# 2.3 Duration: 5 minutes ;# ;# 2.4 References: ;# ;#************************************************************************** ;# 3.0 Instructions for Use: ;# ;# 3.1 Parameters Required ;# ;# None ;# ;# 3.2 Critical Activities ;# ;# None ;# ;# 3.3 Special Constraints or Activities ;# ;# At least medium rate telemetry support required for ;# duration of sequence. MDI Operator on station to ;# support verification of procedure. ;# ;#************************************************************************** ;# 4.0 STEPS: BEGIN: LOCAL CCNT IF (P@CMD_STATE#TELECOMMAND = "AVAILABLE") THEN ELSE /CLEAR ;Clearing the Command Buffer. ENDIF wait 10; update mktccnt LET CCNT = MKTCCNT /MBDPMD,0000,3EE4,0080 ;Dump unmodified sequence from memory WAIT ;Verify command buffer contents /SEND WAIT UNTIL (MKTCCNT = CCNT+1) ;Verify command counter increments. /MBDPML,0000,3EE4,793D,0506,00C8,4689,8BF4,03C6,F446,4689,EBF0,002B /MBDPML,0000,3EF4,C6F0,FD44,3BF8,F076,2473 /MBDPML,0000,064A,0B8C /MBDPML,1000, 8C96,0B10 WAIT ;Verify command buffer contents /SEND WAIT UNTIL (MKTCCNT= CCNT+5) ; /MBDPMD,0000,3EE4,0080 ;Dump modified sequence from memory mbdpmd WAIT ;Verify command buffer contents /SEND wait until(mkdpswvr=h'10') wait until(mkdpswpn=h'0b') ;Disable door close on ESR flag /MBDPFLGS,0000,0200,0000 wait; verify contents /send ;#************************************************************************** ;# 5.0 Final Constraints ;# ;# None ;# ;#************************************************************************** ENDPROC