Here we describe briefly the content of the reply to the execution of the AMS envelope (see file reply_1.txt):

exec::RQ* *W NA=59 DT=7 DC=2: 3A 83

REQUEST: [0] RQ W NA=059 DT=000007 DC=2 D = 3A83

REPLY: [0] RP W NA=059 DT=000007 DC=0 Err=0000

exec::RQ W NA=14 DT=1F0207 DC=4: 00 00 36 B0

REQUEST: [0] RQ W NA=014 DT=1F0207 DC=4 D = 0000 36B0

REPLY: [0] RP W NA=014 DT=1F0207 DC=0 Err=0000

exec::RQ W NA=14 DT=1F058B DC=14: 20 55 50 44 5F 54 44 52 2E 63 6D 64 0F 11

REQUEST: [0] RQ W NA=014 DT=1F058B DC=14 D = 2055 5044 5F54 4452 2E63 6D64 0F11

REPLY: [0] RP W NA=014 DT=1F058B DC=0 Err=0000

exec::RQ W NA=14 DT=1F0207 DC=4: 00 01 11 70

REQUEST: [0] RQ W NA=014 DT=1F0207 DC=4 D = 0001 1170

REPLY: [0] RP W NA=014 DT=1F0207 DC=0 Err=0000

exec::RQ R NA=59 DT=7 DC=0:

REQUEST: [0] RQ R NA=059 DT=000007 DC=0

REPLY: [0] RP R NA=059 DT=000007 DC=0 Err=0000


For each command sent by the envelope, you get the exec of the command, the REQUEST and the REPLY (success or eventual errors). In the example above, you can recognize the data type DT=1F058B which is the command for executing a file on JMDC flash (namely the file UPD_TDR.cmd). The command we are interested in is the one checking the Flash Summary of the TDRs, the last command in the above printout. Here, one sees the reply shows 0 errors. One has then to wait for the responses from all TDRs which follows as:

exec::RQ R NA=14 DT=1F0380 DC=60: 00 06 4B 27 20 00 3A83 00 0A 42 9F 02 07 20 00 00 00 36 B0 00 14 42 9F 05 8B 20 00 20 55 50 44 5F 54 44 52 2E 63 6D 64 0F 11 00 0A 42 9F 02 07 20 00 00 01 11 70 00 04 0B 27 20 00

REQUEST: [0] RQ R NA=014 DT=1F0380 DC=60 D = 0006 4B27 2000 3A83 000A 429F 0207 2000 0000 36B0 0014 429F 058B 2000 2055 5044 5F54 4452 2E63 6D64 0F11 000A 429F 0207 2000 0001 1170 0004 0B27 2000

REPLY: [0] RP R NA=014 DT=1F0380 DC=1216 D = 0008 CB27 0665 4CCA DCF5 000A C29F 0207 0665 4CCA DD03 000A C29F 058B 0665 4CCA DD03 000A C29F 0207 0665 4CCA DD49 0490 8B27 0665 4CCA DD49 0021 2A73 0200 0000 0000 3A83 0400 0000 0000 FFFF 0800 0000 0000 FFFF 0C00 0000 0000 FFFF 1000 0000 0000 FFFF 1400 0000 0000 FFFF 1800 0000 0000 FFFF 1C00 0000 0000 8020 0021 2A73 0200 0000 0000 3A83 0400 0000 0000 FFFF 0800 0000 0000 FFFF 0C00 0000 0000 FFFF 1000 0000 0000 FFFF 1400 0000 0000 FFFF 1800 0000 0000 FFFF 1C00 0000 0000 8028 0021 2A73 0200 0000 0000 3A83 0400 0000 0000 FFFF 0800 0000 0000 FFFF 0C00 0000 0000 FFFF 1000 0000 0000 FFFF 1400 0000 0000 FFFF 1800 0000 0000 FFFF 1C00 0000 0000 8022 0021 2A73 0200 0000 0000 3A83 0400 0000 0000 FFFF 0800 0000 0000 FFFF 0C00 0000 0000 FFFF 1000 0000 0000 FFFF 1400 0000 0000 FFFF 1800 0000 0000 FFFF 1C00 0000 0000 8029 0021 2A73 0200 0000 0000 3A83 0400 0000 0000 FFFF 0800 0000 0000 FFFF 0C00 0000 0000 FFFF 1000 0000 0000 FFFF 1400 0000 0000 FFFF ... ...

The Data Type DT=1F0380 is the one for an AMS Group Command (envelop) Format. It contains the result of the reading command of the TDR Flash Summary. It is essentially in this reply that you must check the file name appears 192 times.The reply finishes by:

printing reply envelope:

RP W NA=059 DT=07 DC=4 4CCA DCF5

RP W NA=014 DT=1F0207 JMDC Wait DC=4 4CCA DD03

RP W NA=014 DT=1F058B Execute Command File DC=4 4CCA DD03

RP W NA=014 DT=1F0207 JMDC Wait DC=4 4CCA DD49

20101029 14:42:17 RP R NA=059 DT=07 DC=1160 0021 2A73 0200 0000 0000...


This is summary of the whole envelope execution. The last 4 characters for each command gives the time history of the execution (DT=07 finished after DCF5=56565ms, DT=1F0207 after DD03=56579,...).

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2010-11-11 - PierreSaouter
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

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