Files
courier-emu/artifacts/imodem-pair-python-20260930/answer.json
T
Cryan209 39241c4a41 Enable bidirectional Bell 103 data on I-modem pairs
Repair call-overlay acknowledgements and wire the six-word runtime data window with separate DSP holding registers. Correct C5x filter timing and x86 interrupt entry, expand pair probes and diagnostics, and retain regression tests and capture evidence.
2026-10-02 09:28:52 +13:00

1077 lines
22 KiB
JSON

{
"bri": {
"assigned_teis": {
"13367": 65,
"16399": 64
},
"call_reference": null,
"call_state": "active",
"call_tei": null,
"dialled": "",
"events": [
{
"event": "the NT starts activation: INFO2 on the S interface",
"instructions": 3000320
},
{
"event": "layer 1 active, the NT has the line up",
"instructions": 4000256
},
{
"event": "ID_REQUEST ref 16399: assigning TEI 64",
"instructions": 5524480
},
{
"event": "SABME from TEI 64, answering UA",
"instructions": 5529088
},
{
"event": "INFORMATION call reference 0",
"instructions": 5537792
},
{
"event": "SPID init: 017349195011",
"instructions": 5537792
},
{
"event": "RELEASE_COMPLETE call reference 0, cause 81",
"instructions": 5559296
},
{
"event": "SETUP to the modem from 5551000",
"instructions": 20000256
},
{
"event": "ALERTING call reference 1",
"instructions": 20057600
},
{
"event": "ID_REQUEST ref 13367: assigning TEI 65",
"instructions": 20677632
},
{
"event": "SABME from TEI 65, answering UA",
"instructions": 20682240
},
{
"event": "INFORMATION call reference 0",
"instructions": 20690944
},
{
"event": "SPID init: 017349196011",
"instructions": 20690944
},
{
"event": "RELEASE_COMPLETE call reference 0, cause 81",
"instructions": 20719104
},
{
"event": "CONNECT call reference 1",
"instructions": 50780160
}
],
"frames_from_modem": 15,
"frames_to_modem": 15,
"line": "active",
"links": {
"64": {
"established": true,
"pending_layer3": 0,
"unacknowledged_ns": null,
"vr": 4,
"vs": 3
},
"65": {
"established": true,
"pending_layer3": 0,
"unacknowledged_ns": null,
"vr": 2,
"vs": 1
}
},
"media": {
"channel": 1,
"rx_delivered": 206400,
"rx_pending": 0,
"tx_non_ff": 190375,
"tx_octets": 206752
},
"media_peer": {
"error": null,
"frames": 258,
"listen": false,
"octets_received": 206400,
"octets_sent": 206400,
"pending": 352,
"received_non_ff": 180178,
"sent_non_ff": 190023
},
"outbound_setup": null,
"state": "multiple-frame-established",
"tei": 64,
"undecodable": 0,
"v120": null
},
"download_bytes": 65536,
"dsc": {
"bearer": {
"frames": 286861,
"peripheral_slots": [
6,
null
],
"routed_frames": {
"1": 205776
},
"routes": [
[
1,
6
]
],
"rx_pending": {
"1": 448,
"2": 0
},
"underrun_at": {},
"underruns": {}
},
"d_channel": {
"frames_received": 15,
"frames_transmitted": 15,
"rx_pending": 0,
"tx_length_mismatch": 0
},
"hook": "on-hook",
"hook_changes": 0,
"liu_state": "F7",
"overruns": {},
"read_counts": {
"CR_IR": 56,
"DCB": 119,
"DER": 67,
"DLC_DRCR": 30,
"DLC_RNGR1": 3,
"DLC_RNGR2": 3,
"DSR1": 52,
"DSR2": 302,
"INIT": 2,
"LIU_LMR1": 5,
"LIU_LSR": 7,
"MAP_MMR1": 1,
"MAP_MMR2": 1
},
"unknown_registers": {},
"written": {
"DLC_1_7": "00 00 00 00 00 00 00",
"DLC_DMR1": "0b",
"DLC_DMR2": "84",
"DLC_DMR3": "02",
"DLC_DMR4": "0a",
"DLC_DRCR": "00 00",
"DLC_DRLR": "10 01 10 01 10 01",
"DLC_DTCR": "04 00",
"DLC_EFCR": "01",
"DLC_FRAR4": "01",
"DLC_FRAR_1_2_3": "01 01 01",
"DLC_RNGR1": "34 00",
"DLC_SRAR4": "01",
"DLC_SRAR_1_2_3": "01 01 01",
"INIT": "11",
"LIU_2_4": "00 00 00",
"LIU_LMR1": "41",
"LIU_LMR2": "78",
"LIU_LPR": "00",
"LIU_MF": "00",
"LIU_MFQB": "00",
"MAP_1_10": "31 b1 1b 62 26 a2 bb 16 bb 16 26 a2 1b 62 31 b1 21 d1 12 42 eb b1 61 12 61 12 eb b1 12 42 21 d1 08 08 52 bb 99 00 08 90 00 00 00 00 4e 02",
"MAP_MMR1": "00",
"MAP_MMR2": "40",
"MCR1": "16",
"MCR2": "00",
"MCR3": "00",
"MCR4": "00",
"PP_PPCR1": "07",
"PP_PPCR3": "01"
}
},
"dte_framing": "7E1",
"entry": "4030:0000",
"error": null,
"firmware_trace": [
"LINE_ACTIVE Detected",
"--SETUP",
"SETUP with result=",
"0000",
"END of INTL_TYPE",
"Just Sent IC SETUP",
"Prim = N_CONN_IN :",
"l4_CONNECT : modem primitive",
"BCH_ENABLED Detected"
],
"flash": {
"autoselects": 6,
"commands": [
"0x00000:ff",
"0x00000:90",
"0x00000:ff",
"0x00000:f0",
"0x0aaaa:aa",
"0x05554:55",
"0x0aaaa:90",
"0x0aaaa:aa",
"0x05554:55",
"0x0aaaa:f0",
"0x00000:f0",
"0x0aaaa:aa",
"0x05554:55",
"0x0aaaa:80",
"0x0aaaa:aa",
"0x05554:55",
"0x78000:30",
"0x78100:b0",
"0x78100:30",
"0x78100:f0",
"0x00000:ff",
"0x00000:90",
"0x00000:ff",
"0x00000:f0"
],
"device": "0x2223",
"erases": 1,
"manufacturer": "0x0001",
"mode": "array",
"programs": 4096
},
"g711_peer": {
"error": null,
"frames": 258,
"listen": false,
"octets_received": 206400,
"octets_sent": 206400,
"pending": 352,
"received_non_ff": 180178,
"sent_non_ff": 190023
},
"hardware_interrupts": 87794,
"hot_addresses": [],
"instructions": 180000000,
"io_summary": {
"in 0x001c": 82404,
"in 0x001e": 115284,
"in 0xf020": 87794,
"in 0xf0a0": 175580,
"in 0xf8fe": 86170,
"out 0x001c": 164811,
"out 0x001e": 18732,
"out 0x0040": 9950,
"out 0x0042": 9950,
"out 0x0044": 9947,
"out 0x0046": 9947,
"out 0x0048": 9947,
"out 0x004a": 9947,
"out 0x004c": 9947,
"out 0xf020": 87799,
"out 0xf0a0": 175585
},
"last_addresses": [],
"mailbox": {
"bootstrap_words": 4672,
"committed": 43,
"consumed": 42,
"core": {
"acc": 0,
"accb": -148943576,
"ar0": 3030,
"ar1": 2186,
"ar2": 280,
"ar3": 1016,
"ar4": 0,
"ar5": 916,
"ar6": 88,
"ar7": 3030,
"arcr": 3030,
"arp": 7,
"cycles": 1446195725,
"dp": 7,
"flags": 62,
"idle": true,
"indx": 3030,
"instructions": 1296820140,
"io_events": 8192,
"op": 48674,
"pc": 33454,
"preg": -1400832
},
"download_blocks": 9364,
"dsp_status": 1026,
"endpoint": "native-c5x",
"error": null,
"latch_writes": 0,
"pcm": {
"attached": true,
"frames": 286861,
"octets": 573722,
"realtime_cycles": 0,
"rx_empty_frames": 0,
"rx_pending_octets": 2,
"sample_rate": 8000,
"serial": {
"codec_rx_consumed": 0,
"codec_rx_peak": 0,
"codec_rx_queued": 0,
"drr": 46847,
"drr_reads": 286861,
"dxr": 12799,
"dxr_writes": 286870,
"hybrid_frames": 0,
"hybrid_peak": 0,
"imr": 40,
"last_dp_pc": 33446,
"last_dp_source": 1,
"last_dp_value": 7,
"last_drr_pc": 33645,
"last_dxr_pc": 33648,
"last_spc_pc": 32961,
"last_tdxr_pc": 33670,
"last_trcv_pc": 0,
"last_tspc_pc": 32953,
"line_dac_frames": 0,
"line_dac_writes": 0,
"line_frame_interrupts": 286385,
"line_tx_last": 0,
"line_tx_last_pc": 32894,
"line_tx_nonzero": 0,
"line_tx_writes": 3,
"negotiation_acc": 0,
"negotiation_arp": 0,
"negotiation_d26": 0,
"negotiation_d76": 0,
"negotiation_d77": 0,
"negotiation_d78": 0,
"negotiation_d79": 0,
"negotiation_indx": 0,
"negotiation_loop_entries": 0,
"negotiation_loop_pc": 0,
"negotiation_pair": 0,
"negotiation_pair_value": 0,
"negotiation_pm": 0,
"negotiation_source": 0,
"negotiation_source_value": 0,
"rx_consumed": 0,
"rx_queued": 0,
"serial_frame_suppressed": 0,
"shadow_dp": 6,
"spc": 16584,
"spc_writes": 9,
"stray_cala_dp": 0,
"stray_cala_pc": 0,
"stray_cala_target": 0,
"tdxr": 48630,
"tdxr_writes": 58973,
"trcv": 0,
"trcv_reads": 0,
"tspc": 248,
"tspc_writes": 6,
"v8_countdown": 0,
"v8_dispatch_dp": 0,
"v8_dispatch_pc": 0,
"v8_dispatches": 0,
"v8_flags": 0,
"v8_handler": 0,
"v8_record": 0,
"v8_rx_peak": 0,
"v8_rx_state": 0
},
"slots": [
"Bd",
null
]
},
"recent_commands": [
[
0,
0
],
[
131,
131
],
[
2,
53504
],
[
2,
37472
],
[
1,
63
],
[
91,
0
],
[
1,
63
],
[
15,
1024
],
[
91,
1
],
[
94,
1
],
[
26,
7019
],
[
60,
6507
],
[
15,
1024
],
[
68,
63
],
[
72,
32767
],
[
81,
8703
],
[
82,
7928
],
[
82,
7928
],
[
112,
14847
],
[
114,
2934
],
[
28,
8
],
[
29,
20
],
[
42,
6
],
[
26,
7019
],
[
60,
6507
],
[
26,
7019
],
[
60,
6507
],
[
66,
4089
],
[
73,
65525
],
[
80,
193
],
[
80,
357
],
[
80,
531
],
[
80,
784
],
[
80,
1095
],
[
80,
1421
],
[
80,
1536
],
[
83,
16383
],
[
113,
65535
],
[
115,
127
],
[
116,
65535
],
[
4,
0
],
[
20,
24797
],
[
2,
40960
]
],
"recent_replies": [
"0016:0000",
"0016:0000",
"0016:0000",
"0016:0400",
"0016:0040",
"0016:0040",
"0016:0040",
"0016:0040",
"0016:0000",
"0016:0440",
"0016:0000",
"0016:0000",
"0016:0000",
"0016:03b0",
"0016:0000",
"0016:0000",
"0016:0000",
"0016:0440",
"0016:0040",
"0016:0000",
"0016:0400",
"0016:03ba",
"0016:0000",
"0016:0400",
"0016:0090",
"0016:0440",
"0016:0440",
"0016:0440",
"0016:0000",
"0016:0000",
"0016:0440",
"0016:0400",
"0016:0440",
"0016:0040",
"0016:0040",
"0016:0000",
"0016:0440",
"0016:02ba",
"0016:0440",
"0016:0000",
"0016:000a",
"0016:0440",
"0016:000a",
"0016:0440",
"0016:0400",
"0016:0400",
"0016:0040",
"0016:02b0",
"0016:0400",
"0016:0040",
"0016:0400",
"0016:0400",
"0016:0008",
"0016:0000",
"0016:0000",
"0016:0440",
"0016:0000",
"0016:00a0",
"0016:0400",
"0016:0408",
"0016:0440",
"0016:0440",
"0016:0440",
"0016:0040",
"0016:0080",
"0016:0000",
"0016:0008",
"0016:0000",
"0016:0018",
"0016:0018",
"0016:0440",
"0016:0048",
"0016:0408",
"0016:0048",
"0016:0448",
"0016:0000",
"0016:0448",
"0016:0108",
"0016:0040",
"0016:0000",
"0016:0050",
"0016:0048",
"0016:0008",
"0016:0400",
"0016:0008",
"0016:0008",
"0016:0408",
"0016:0000",
"0016:0008",
"0016:0400",
"0016:0008",
"0016:0018",
"0016:0018",
"0016:0008",
"0016:0008",
"0016:0048",
"0016:0008",
"0016:0000",
"0016:0408",
"0016:0040",
"0016:000a",
"0016:0008",
"0016:0008",
"0016:0018",
"0016:0018",
"0016:0008",
"0016:0408",
"0016:0048",
"0016:0108",
"0016:0108",
"0016:0008",
"0016:0008",
"0016:0008",
"0016:0008",
"0016:0018",
"0016:0018",
"0016:0018",
"0016:0018",
"0016:0008",
"0016:0008",
"0016:0108",
"0016:0408",
"0016:0008",
"0016:0008",
"0016:0108",
"0016:0008",
"0016:0018",
"0048:00c1",
"0048:0145",
"0048:0213",
"0048:0310",
"0048:048d",
"0048:0500",
"0071:0006",
"0047:0006"
],
"replies_acked": 135,
"reply_counts": {
"0016:0000": 25,
"0016:0008": 22,
"0016:000a": 3,
"0016:0018": 11,
"0016:0040": 12,
"0016:0048": 5,
"0016:0050": 1,
"0016:0080": 1,
"0016:0090": 1,
"0016:00a0": 1,
"0016:0108": 5,
"0016:02b0": 1,
"0016:02ba": 1,
"0016:03b0": 1,
"0016:03ba": 1,
"0016:0400": 12,
"0016:0408": 6,
"0016:0440": 16,
"0016:0448": 2,
"0047:0006": 1,
"0048:00c1": 1,
"0048:0145": 1,
"0048:0213": 1,
"0048:0310": 1,
"0048:048d": 1,
"0048:0500": 1,
"0071:0006": 1
},
"reply_pending": null,
"timeline": [
"0.1410 cmd 005e:0001",
"1.8330 cmd 001a:1b6b",
"1.8335 cmd 003c:196b",
"1.8380 cmd 000f:0400",
"1.8384 cmd 0044:003f",
"1.8388 cmd 0048:7fff",
"1.8393 cmd 0051:21ff",
"1.8396 cmd 0052:1ef8",
"1.8400 cmd 0052:1ef8",
"1.8404 cmd 0070:39ff",
"1.8409 cmd 0072:0b76",
"1.8413 cmd 001c:0008",
"1.8416 cmd 001d:0014",
"1.8420 cmd 002a:0006",
"1.8425 cmd 001a:1b6b",
"1.8429 cmd 003c:196b",
"1.8433 cmd 001a:1b6b",
"1.8438 cmd 003c:196b",
"1.8441 cmd 0042:0ff9",
"1.8445 cmd 0049:fff5",
"1.8449 cmd 0050:00c1",
"1.8454 cmd 0050:0165",
"1.8458 cmd 0050:0213",
"1.8461 cmd 0050:0310",
"1.8470 cmd 0050:0447",
"1.8474 cmd 0050:058d",
"1.8478 cmd 0050:0600",
"1.8482 cmd 0053:3fff",
"1.8486 cmd 0071:ffff",
"1.8490 cmd 0073:007f",
"1.8494 cmd 0074:ffff",
"1.8499 cmd 0004:0000",
"1.8502 cmd 0014:60dd",
"1.8704 reply 0016:0000",
"1.8904 reply 0016:0000",
"1.9104 reply 0016:0000",
"1.9304 reply 0016:0400",
"1.9504 reply 0016:0040",
"1.9704 reply 0016:0040",
"1.9904 reply 0016:0040",
"2.0104 reply 0016:0040",
"2.0304 reply 0016:0000",
"2.0504 reply 0016:0440",
"2.0704 reply 0016:0000",
"2.0904 reply 0016:0000",
"2.1104 reply 0016:0000",
"2.1303 reply 0016:03b0",
"2.1504 reply 0016:0000",
"2.1704 reply 0016:0000",
"2.1902 reply 0016:0000",
"2.2104 reply 0016:0440",
"2.2304 reply 0016:0040",
"2.2504 reply 0016:0000",
"2.2704 reply 0016:0400",
"2.2904 reply 0016:03ba",
"2.3104 reply 0016:0000",
"2.3304 reply 0016:0400",
"2.3504 reply 0016:0090",
"2.3704 reply 0016:0440",
"2.3904 reply 0016:0440",
"2.4104 reply 0016:0440",
"2.4304 reply 0016:0000",
"2.4503 reply 0016:0000",
"2.4704 reply 0016:0440",
"2.4904 reply 0016:0400",
"2.5103 reply 0016:0440",
"2.5304 reply 0016:0040",
"2.5504 reply 0016:0040",
"2.5704 reply 0016:0000",
"2.5904 reply 0016:0440",
"2.6104 reply 0016:02ba",
"2.6304 reply 0016:0440",
"2.6504 reply 0016:0000",
"2.6704 reply 0016:000a",
"2.6904 reply 0016:0440",
"2.7104 reply 0016:000a",
"2.7304 reply 0016:0440",
"2.7504 reply 0016:0400",
"2.7702 reply 0016:0400",
"2.7904 reply 0016:0040",
"2.8104 reply 0016:02b0",
"2.8302 reply 0016:0400",
"2.8504 reply 0016:0040",
"2.8704 reply 0016:0400",
"2.8904 reply 0016:0400",
"2.9104 reply 0016:0008",
"2.9304 reply 0016:0000",
"2.9504 reply 0016:0000",
"2.9704 reply 0016:0440",
"2.9904 reply 0016:0000",
"3.0104 reply 0016:00a0",
"3.0304 reply 0016:0400",
"3.0504 reply 0016:0408",
"3.0704 reply 0016:0440",
"3.0903 reply 0016:0440",
"3.1104 reply 0016:0440",
"3.1304 reply 0016:0040",
"3.1504 reply 0016:0080",
"3.1704 reply 0016:0000",
"3.1904 reply 0016:0008",
"3.2104 reply 0016:0000",
"3.2304 reply 0016:0018",
"3.2504 reply 0016:0018",
"3.2704 reply 0016:0440",
"3.2904 reply 0016:0048",
"3.3104 reply 0016:0408",
"3.3304 reply 0016:0048",
"3.3504 reply 0016:0448",
"3.3704 reply 0016:0000",
"3.3904 reply 0016:0448",
"3.4103 reply 0016:0108",
"3.4304 reply 0016:0040",
"3.4504 reply 0016:0000",
"3.4703 reply 0016:0050",
"3.4904 reply 0016:0048",
"3.5104 reply 0016:0008",
"3.5304 reply 0016:0400",
"3.5504 reply 0016:0008",
"3.5704 reply 0016:0008",
"3.5904 reply 0016:0408",
"3.6104 reply 0016:0000",
"3.6304 reply 0016:0008",
"3.6504 reply 0016:0400",
"3.6704 reply 0016:0008",
"3.6904 reply 0016:0018",
"3.7104 reply 0016:0018",
"3.7302 reply 0016:0008",
"3.7504 reply 0016:0008",
"3.7704 reply 0016:0048",
"3.7902 reply 0016:0008",
"3.8104 reply 0016:0000",
"3.8304 reply 0016:0408",
"3.8504 reply 0016:0040",
"3.8704 reply 0016:000a",
"3.8904 reply 0016:0008",
"3.9104 reply 0016:0008",
"3.9304 reply 0016:0018",
"3.9504 reply 0016:0018",
"3.9704 reply 0016:0008",
"3.9904 reply 0016:0408",
"4.0104 reply 0016:0048",
"4.0304 reply 0016:0108",
"4.0503 reply 0016:0108",
"4.0704 reply 0016:0008",
"4.0904 reply 0016:0008",
"4.1102 reply 0016:0008",
"4.1304 reply 0016:0008",
"4.1504 reply 0016:0018",
"4.1704 reply 0016:0018",
"4.1904 reply 0016:0018",
"4.2104 reply 0016:0018",
"4.2304 reply 0016:0008",
"4.2504 reply 0016:0008",
"4.2704 reply 0016:0108",
"4.2904 reply 0016:0408",
"4.3104 reply 0016:0008",
"4.3304 reply 0016:0008",
"4.3504 reply 0016:0108",
"4.3703 reply 0016:0008",
"4.3904 reply 0016:0018",
"4.3933 reply 0048:00c1",
"4.3935 reply 0048:0145",
"4.3940 reply 0048:0213",
"4.3943 reply 0048:0310",
"4.3948 reply 0048:048d",
"4.3951 reply 0048:0500",
"19.6141 reply 0071:0006",
"19.6142 reply 0047:0006",
"19.6150 cmd 0002:a000"
],
"tx_ready": true
},
"pic": {
"delivered": 87794,
"master": {
"auto_eoi": false,
"irr": 0,
"isr": 0,
"mask": 179,
"vector_base": 32
},
"slave": {
"auto_eoi": false,
"irr": 64,
"isr": 0,
"mask": 131,
"vector_base": 40
}
},
"pit": {
"clock_hz": 892857,
"control_writes": 3,
"counters": [
{
"count": 1010,
"hz": 480.0306451612903,
"index": 0,
"initial": 1860,
"mode": 2,
"period": 1860,
"wraps": 17257
},
{
"count": 6223,
"hz": 100.00638440860214,
"index": 1,
"initial": 8928,
"mode": 2,
"period": 8928,
"wraps": 3595
},
{
"count": 8018,
"hz": 25.000196001568014,
"index": 2,
"initial": 35714,
"mode": 2,
"period": 35714,
"wraps": 898
}
]
},
"registers": {
"ax": 65284,
"bx": 6,
"cs": 41984,
"cx": 0,
"di": 10,
"ds": 9728,
"dx": 948,
"es": 9728,
"ip": 40769,
"si": 27824,
"sp": 1526,
"ss": 2624
},
"serial": {
"a": {
"base": "0xf8f8",
"baud": 9645,
"character_instructions": 5185,
"divisor": 80,
"ier": 11,
"input_clock_hz": 12345600,
"irq": 3,
"lcr": 3,
"mcr": 0,
"overruns": 0,
"queued": 0,
"received": 4,
"signals": 0,
"transmitted": 0
},
"b": {
"base": "0xf4f8",
"baud": 115200,
"character_instructions": 435,
"divisor": 2,
"ier": 11,
"input_clock_hz": 3686400,
"irq": null,
"lcr": 3,
"mcr": 0,
"overruns": 0,
"queued": 0,
"received": 0,
"signals": 0,
"transmitted": 0
}
},
"serial_a": "",
"serial_b": "",
"serial_internal": "",
"serial_session": [
{
"direction": "sent",
"instructions": 30000128,
"text": "ATA\r"
}
],
"software_interrupts": {
"0x30": 115688
},
"status": "instruction-limit",
"timer_ticks": 21750,
"unmodelled_ports": [
"0x0000",
"0x0002",
"0x0003",
"0x0006",
"0x0007",
"0x000a",
"0x000c",
"0x000e",
"0x0010",
"0x0012",
"0x0014",
"0x0016",
"0x0100",
"0xf00d",
"0xf400",
"0xf402",
"0xf404",
"0xf406",
"0xf408",
"0xf40a",
"0xf40c",
"0xf40e",
"0xf410",
"0xf412",
"0xf414",
"0xf416",
"0xf418",
"0xf41a",
"0xf41c",
"0xf41e",
"0xf420",
"0xf422",
"0xf424",
"0xf426",
"0xf428",
"0xf42a",
"0xf42c",
"0xf42e",
"0xf430",
"0xf438",
"0xf804",
"0xf820",
"0xf822",
"0xf824",
"0xf826",
"0xf830",
"0xf832",
"0xf834",
"0xf836",
"0xf862",
"0xf864",
"0xf86a",
"0xf86c",
"0xf870",
"0xf874"
]
}