Tags:
create new tag
view all tags

Start Up Order?

ITOS
Stoi
TelSim
ICU

Shut Down Order

Always shut down Stoi before ITOS.

Log On sequences and machines

ITOS  mssljg/itos/?????
Stoi msslhe/stoi/????
TelSim msslge/heh/????
ICU msslt5/heh/????

Where is swrisim log

in ./stoi.out

Useful telsim commands - heater test etc

cd swiftsim
./runsim heater_test.dat
./runsim hv0vc0fw0.dat

If it gets hung up again (the ISA card giving all bad ICB values) whoever is logged in can type

 halt
  1. and wait for it to say "system halted"
  2. then switch off the power to the PC
  3. wait 10s
  4. switch on again

Rebuilding ITOS

Make changes etc

cd UVOT
make

Useful ITOS Commands

mem dump

Bring up Packet Dump Window

pktdump vc0 0x390 [> dsp > filename]

/iicudump mid=?,offset=?,numbytes=?,apid=0x390

(numbytes is actually words)

  • When the MID is 0: icu operand/data space
  • When the MID is 1: icu instr space
  • When the MID is 2: WINDOW_BITMAP_TABLE
  • When the MID is 3: CENTROID_LOOKUP_TABLE
  • When the MID is 4: EEPROM - A : e.g. code, basic tables
  • When the MID is 5: EEPROM - B : e.g. rts library

rts line dump

/irtstrace on/off

load code

load ("filename.img")

or

start slowload ("filename.img")

window sentq will come up.

May see 'fail'. If so enter

 GBL_CLCW=(whatever top number in sentq +1)

Poking RAM

/iicuload1 mid=0,offset=0x????,data=????

Taking Snaps

snap ihk >> filename (written to UVOT/output/snaps/filename)

snap ihk,10 >> filename (take snap every 10 seconds)

Where are files (Procs, Tables, Logs)

UVOT/loads
UVOT/procs
UVOT/output/prints

tail -n 100 UVOT/output/prints/icu_events.log | a2ps -Php -1 -r -l 220 

Debug Window

How to print

 p then use mouse
 - 0 for rapid sampling

SWRI Sim

If the stoi sim is exited in an unpleasant way, it can leave behind shared memory.

Type

 ipcs
and you get a list of resources used something like this:

22 msslhe:~% ipcs IPC status from as of Monday September 2 14:12:01 BST 2002 T ID KEY MODE OWNER GROUP Message Queues: q 0 0x2e781d5 --rw-r--r-- root root q 2 0x2dc5 -Rrw-rw-rw- root root Shared Memory: m 0 0x5000093e --rw-r--r-- root root m 1501 0x36913691 --rw-rw-rw- stoi guestxra Semaphores: s 0 0x187cf --ra-ra-ra- root root

If there's anything owned by stoi then it is probably left behind, in this case shared memory:

m       1501   0x36913691 --rw-rw-rw-     stoi guestxra

You must remove it by typing

 ipcrm -m 1501
where 1501 is the number given in the list (may change).

You'll know when you need to do this because something bad would have just happened, stoi won't run and it will complain about shared memory when you do try to run it.

SSISIM

Boot to DOS (F8 => Menu => Option 5)

cd \code\ssisim

ssisim6

2/1 switches pages = values/menu

-- HowardHuckle - 21 Nov 2005

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | More topic actions
Topic revision: r6 - 2006-11-03 - HowardHuckle
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback