PACS OBSW Simulation/Test

9
OBSW Simulation 1 PACS IBDR 27/28 Feb 2002 PACS OBSW Simulation/Test A.Mazy (CSL), S.Pezzuto (IFSI), A.N.Belbachir (TUVIE), H. Feuchtgruber (MPE)

description

PACS OBSW Simulation/Test. A.Mazy (CSL), S.Pezzuto (IFSI), A.N.Belbachir (TUVIE), H. Feuchtgruber (MPE). Virtuoso Emulator under Windows. Virtuoso kernel services are mapped onto windows services Services currently implemented : Tasks Semaphores Resources Events FIFOs Timers - PowerPoint PPT Presentation

Transcript of PACS OBSW Simulation/Test

Page 1: PACS OBSW Simulation/Test

OBSW Simulation 1

PACS IBDR 27/28 Feb 2002

PACS OBSW Simulation/Test

A.Mazy (CSL), S.Pezzuto (IFSI), A.N.Belbachir (TUVIE),

H. Feuchtgruber (MPE)

Page 2: PACS OBSW Simulation/Test

OBSW Simulation 2

PACS IBDR 27/28 Feb 2002

Virtuoso Emulator under Windows

• Virtuoso kernel services are mapped onto windows services

• Services currently implemented :– Tasks– Semaphores– Resources– Events– FIFOs– Timers– Link 1355 (mapped onto TCP/IP connection or using

PCI-Spacewire board)

Page 3: PACS OBSW Simulation/Test

OBSW Simulation 3

PACS IBDR 27/28 Feb 2002

OBS Simulators on Virtuoso Emulator

• Pros– 95 % of OBS code is

reused for simulator– Powerful Windows tools

available for debug– Run on any desktop PC– Can be connected to real

HW

• Cons– Scheduling behavior is

different from Virtuoso– Assembly code can not

be simulated

Perfect tool to test the functionality of the OBSW,

but not the performance.

Page 4: PACS OBSW Simulation/Test

OBSW Simulation 4

PACS IBDR 27/28 Feb 2002

PACS OBSW Tests (1)

• “Test Day” at CSL 6-Feb-2002

– Simulators of DPU, DMC, SPU-SWL and SPU-LWL OBSW running on 3 PCs

– Certain “bypasses” are implemented due to the simulator environment (1553 interface to DPU)

– Visualization of results is implemented as “printf” statements to screens or files

– Major parts of the different individual OBSW pieces of DPU, DMC, SPU-SWL and SPU-LWL are already implemented. No compression/reduction running at this point yet.

Page 5: PACS OBSW Simulation/Test

OBSW Simulation 5

PACS IBDR 27/28 Feb 2002

Test Set-up

DPUSimulator

[PC 1]

Blue SPUSimulator

[PC 3]

Red SPUSimulator

[PC 3]

DMCSimulator

[PC 2]

0-M40004-S4000

2-M4003

1-M4001

2-M4002

5-M4004

1-S4002 1-S40012-S4003 2-S4004

Page 6: PACS OBSW Simulation/Test

OBSW Simulation 6

PACS IBDR 27/28 Feb 2002

Page 7: PACS OBSW Simulation/Test

OBSW Simulation 7

PACS IBDR 27/28 Feb 2002

PACS OBSW Test (2)

• Major debugging on sub-system protocol issues done online updates

• Emulator debugging online update • Inspection of error handling between sub-

systems online updates• HK packet transfer from sub-units to DPU

verified• TC+Acknowledge path DPU - DMC verified• TC+Acknowledge path DPU - SPU-SWL and DPU

– SPU-LWL verified

Page 8: PACS OBSW Simulation/Test

OBSW Simulation 8

PACS IBDR 27/28 Feb 2002

PACS OBSW Test (3)

• Science packet transmission from DMC – SPU verified (blue and red, photometry and spectroscopy)

• 1 OBCP has been executed including a DMC sequence (staring photometry)

• Science packets of “SPU-simulated” data have been received by DPU but still some communication problems left, but identified.

• Diagnostic data collection not yet verified due to failures debugging done after the test

• Entire Science TM path from DMC-SPU-DPU not yet tested due to lack of time.

Page 9: PACS OBSW Simulation/Test

OBSW Simulation 9

PACS IBDR 27/28 Feb 2002

Conclusion

• The emulator+simulator exercise has demonstrated its usefulness and value for PACS OBSW development and debugging

• Continue efforts on the simulators• Update software to resolve identified problems• Update involved documentation

• Next “Test day” at CSL: 6/7-Mar-2002