bench test updates
This commit is contained in:
48
scenarios/ack-race-000-001.json
Normal file
48
scenarios/ack-race-000-001.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"name": "ack-race-000-001",
|
||||
"notes": [
|
||||
"Focused command-1 pair that has produced the 07 80 40 20 90 2D retry frame on the bench.",
|
||||
"Uses immediate reactive ACK with a 2 ms poll interval to test whether command 5 can beat the second retry."
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"action": "power_cycle",
|
||||
"off_seconds": 1.5
|
||||
},
|
||||
{
|
||||
"action": "wait_ready",
|
||||
"timeout": 10.0,
|
||||
"heartbeats": 2,
|
||||
"require": true
|
||||
},
|
||||
{
|
||||
"action": "drain",
|
||||
"seconds": 0.25
|
||||
},
|
||||
{
|
||||
"action": "table_sweep",
|
||||
"selectors": [
|
||||
"0x000",
|
||||
"0x001"
|
||||
],
|
||||
"gap": 1.0,
|
||||
"ack_on": {
|
||||
"frames": [
|
||||
"07 80 40 20 90 2D"
|
||||
],
|
||||
"ack_frame": "05 00 40 00 00 1F",
|
||||
"ack_guard": 0.0,
|
||||
"poll_interval": 0.002,
|
||||
"post_ack_read": 1.0,
|
||||
"once_per_selector": true,
|
||||
"max_acks": 4,
|
||||
"max_target_hits": 8,
|
||||
"abort_on_limit": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "listen",
|
||||
"seconds": 2.0
|
||||
}
|
||||
]
|
||||
}
|
||||
41
scenarios/early-ack-000-001.json
Normal file
41
scenarios/early-ack-000-001.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "early-ack-000-001",
|
||||
"notes": [
|
||||
"Manual early-ACK variant: send the command-1 pair and immediately send command-5 ACK instead of waiting for the retry frame.",
|
||||
"This tests whether the ACK has to arrive before the ROM emits the second retry."
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"action": "power_cycle",
|
||||
"off_seconds": 1.5
|
||||
},
|
||||
{
|
||||
"action": "wait_ready",
|
||||
"timeout": 10.0,
|
||||
"heartbeats": 2,
|
||||
"require": true
|
||||
},
|
||||
{
|
||||
"action": "drain",
|
||||
"seconds": 0.25
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "read_0x000",
|
||||
"frame": "01 00 00 00 00 5B",
|
||||
"listen": 0.75
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "read_0x001",
|
||||
"frame": "01 00 01 00 00 5A",
|
||||
"listen": 0.0
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "early_ack",
|
||||
"frame": "05 00 40 00 00 1F",
|
||||
"listen": 2.0
|
||||
}
|
||||
]
|
||||
}
|
||||
46
scenarios/table-sweep-ack-000-07f.json
Normal file
46
scenarios/table-sweep-ack-000-07f.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"name": "table-sweep-ack-000-07f",
|
||||
"notes": [
|
||||
"Read-only command-1 sweep of live E000 table selectors 0x000-0x07F.",
|
||||
"If the visible retry frame 07 80 40 20 90 2D appears, send command-5 ACK 05 00 40 00 00 1F."
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"action": "power_cycle",
|
||||
"off_seconds": 1.5
|
||||
},
|
||||
{
|
||||
"action": "wait_ready",
|
||||
"timeout": 10.0,
|
||||
"heartbeats": 2,
|
||||
"require": true
|
||||
},
|
||||
{
|
||||
"action": "drain",
|
||||
"seconds": 0.25
|
||||
},
|
||||
{
|
||||
"action": "table_sweep",
|
||||
"start": "0x000",
|
||||
"count": "0x080",
|
||||
"gap": 0.75,
|
||||
"ack_on": {
|
||||
"frames": [
|
||||
"07 80 40 20 90 2D"
|
||||
],
|
||||
"ack_frame": "05 00 40 00 00 1F",
|
||||
"ack_guard": 0.0,
|
||||
"poll_interval": 0.002,
|
||||
"post_ack_read": 0.35,
|
||||
"once_per_selector": true,
|
||||
"max_acks": 8,
|
||||
"max_target_hits": 32,
|
||||
"abort_on_limit": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "listen",
|
||||
"seconds": 2.0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user