GSFC/NGIMS-FSW-45 CONTOUR/NGIMS FM SOFTWARE TEST REPORT for FSW Version 3.7.08 M Paulkovich January 7, 2002 prepared for Stan Way, NGIMS Instrument Manager Hasso B. Niemann, Paul Mahaffy, Co-Investigators CONTOUR/NGIMS Instrument document rev 0 DOCUMENT CHANGE HISTORY revision Date Change 1 07 Jan 02 First CM version. CONTOUR/NGIMS FM SOFTWARE TEST REPORT 1. INTRODUCTION The NGIMS software v3.7.08 was verified and validated in the GSFC Code 915 electronics laboratory interfaced to the GSE (for S/C TC/TM interface simulation) and the QP Simulator. The v3.7.08 version was not run with the Flight instrument. This report briefly describes the testing. References: (1) NGIMS-FSW-30, Release Description Document (RDD), v3.6.00 (2) NGIMS-FSW-31, Test Report (TR), v3.6.00 (3) NGIMS-FSW-32, Delivery Report (DR), v3.6.00 (4) NGIMS-FSW-46, Delivery Report (DR), v3.7.08 (5) NGIMS-FSW-38, Release Description Document (RDD), v3.7.08 (6) NGIMS-FSW-45, Test Report (TR), v3.7.08 (7) GSFC/NGIMS-FSW-44, Memory Map, v3.7.07 RATIONALE The previous release (v3.7.07) Flight Software was found to have two problems for which a "patched" version of the FSW was requested, documented on the NGIMS DR page as numbered WRs (Work Requests): WR-144, TableUpdate problem when in Round Robin WR-145, TM Packets should report Length=237, not 244 1.1 Testing Goals Goals of testing a new revision of the flight software are: ? Regression tests - to ensure that nothing in the new version has "broken" anything from the previous version; ? Test any fixes to known bugs; ? Test enhancements (not applicable to this release). 1.2 Test Procedures This section describes the procedures and methods used to test & verify this flight software version. 1.2.1 Preliminary Tests The v3.7.08 script file, nf_3708_rev3_cs.txt, was generated using steps described below; this is a complete "stand-alone" v3.7.08 Alt Boot script. The script was tested on the breadboard & simulators in the electronics lab. The modifications are very minor, only affecting the TM Length fields and the Load Config_L code; the following processing was verified initially: All TM Length fields (App/Proc = 480, 481, 482) = 237. The TableUpdate command during Round Robin does not corrupt Config L tables The TableUpdate command during Standby does not corrupt Config L tables Basic Round Robin operation Basic DAC values Basic Commanding Basic TM Basic Flat Table operation. The script is supplied in Attachment 1; this document is posted to the NGIMS web site. The script, and notification of this document are being sent via email to: fwmtan@yahoo.com paul.mahaffy@gsfc.nasa.gov eraaen@pop900.gsfc.nasa.gov florence.tan@gsfc.nasa.gov David.Tillman@jhuapl.edu Exhaustive testing using the V&V script was then performed for purposes of regression testing (see §1.2.2 & 1.2.3). ADDENDUM That load image had failed to modify the FSW Version number in RAM which is transmitted in TM. A patch was made from New Jersey to load the correct version number. The email below describes that effort; the exhaustive testing using the V&V script was performed with the addendum. The script for v3.7.08 didn't include a mod to the RAM Version#, which is stored at RAM address FFFE and which is included in TM. File nf_3708_rev4_cs.txt can be fetched from Sun negse2 (under the "script" subdirectory) - it was made from nf_3708_rev3_cs.txt. It adds two lines to that script: Change RAM version# from 0x3707 to 0x3708 Correct the EEPROM Alt-Boot checksum as a result of the above change. This is simple enough, but hasn't been tested. Loading this standalone script will give you a "correct" version 3.7.08 in EEPROM which has the proper RAM checksum -- run the script, set the Alt Boot counter to the proper value, then reboot; if it worked, you'll see the version number 3708 in telemetry and the fixes associated with the 3.7.08 changes. The addendum to the file: ; Set RAM version# = 3708 for proper TM data ID ; ; Note: for v3.7.07 the RAM Version # is embedded in the Data ; segment of the Alt Boot image in the command: ; ; $FTC 54 0xe550 66 1473 0x3707 0x50c8 ; ; ...that happens to be a two-word patch; all we need is to change one word: ; $FTC 54 0xe550 65 20000 0x3708 ; (SETS RAM VERSION =3708 FOR TM) ; ; But this increments the EEPROM checksum to 9c1c - fix it -- $FTC 54 0x2F01 65 20001 0x9c1c 1.2.2 Adaptive Scanning Tests. The script file adaptive-vv-script.txt was the V&V test used for Adaptive Scanning tests. Refer to the Test Report for the previous release. 1.2.3 Regression and Other Tests The script file vv11.txt was used for Regression Tests -- that is, to ensure that nothing in v3.707 "broke" anything from the previous release. 2. Testing Summary The WRs listed above were verified using the breadboard system WR-144, TableUpdate problem when in Round Robin WR-145, TM Packets should report Length=237, not 244 2.1 Remaining FSW Bugs Some caveats still exist in v3.7.07 that the user should be aware. 2.1.1 Illegal value in OpCode 62, Adaptive Parameters command Refer to the Test Report for the previous release. 2.1.2 Other Other outstanding WRs (Work Requests) are described in the Delivery Report for this version release. All WRs against this the software are maintained online on the NGIMS CCR page: http://fsw.gsfc.nasa.gov/CCR/CCR.cfm?name=NGIMS Open WRs and others of interest are addressed in the RDD (Release Description Document) for this FSW version. No patch book is provided because no RAM patches have been written for this version.