copy branch
This commit is contained in:
41
scenarios/copy-step-006c-only.json
Normal file
41
scenarios/copy-step-006c-only.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "copy-step-006c-only",
|
||||
"notes": [
|
||||
"Control run: recover to CONNECT OK, then send only command-5 selector 0x006C.",
|
||||
"Expected from ROM model: 006C alone may clear/blank state because the 006D copy-in-progress flags are not live."
|
||||
],
|
||||
"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": "ok_baseline_1",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 0.7
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "ok_baseline_2",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 1.0
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "copy_complete_candidate_006c_only",
|
||||
"frame": "05 00 6C 00 00 33",
|
||||
"listen": 8.0
|
||||
}
|
||||
]
|
||||
}
|
||||
47
scenarios/copy-step-006d-006c-1000ms.json
Normal file
47
scenarios/copy-step-006d-006c-1000ms.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "copy-step-006d-006c-1000ms",
|
||||
"notes": [
|
||||
"Recover to CONNECT OK, send 006D, then send 006C 1 second later.",
|
||||
"This gives the LCD time to visibly enter COPY IN PROGRESS before the completion candidate arrives."
|
||||
],
|
||||
"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": "ok_baseline_1",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 0.7
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "ok_baseline_2",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 1.0
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "copy_start_006d",
|
||||
"frame": "05 00 6D 00 00 32",
|
||||
"listen": 1.0
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "copy_complete_candidate_006c",
|
||||
"frame": "05 00 6C 00 00 33",
|
||||
"listen": 10.0
|
||||
}
|
||||
]
|
||||
}
|
||||
47
scenarios/copy-step-006d-006c-2500ms.json
Normal file
47
scenarios/copy-step-006d-006c-2500ms.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "copy-step-006d-006c-2500ms",
|
||||
"notes": [
|
||||
"Recover to CONNECT OK, send 006D, then send 006C 2.5 seconds later.",
|
||||
"This tests whether completion remains accepted after the in-progress display has settled."
|
||||
],
|
||||
"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": "ok_baseline_1",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 0.7
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "ok_baseline_2",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 1.0
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "copy_start_006d",
|
||||
"frame": "05 00 6D 00 00 32",
|
||||
"listen": 2.5
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "copy_complete_candidate_006c",
|
||||
"frame": "05 00 6C 00 00 33",
|
||||
"listen": 10.0
|
||||
}
|
||||
]
|
||||
}
|
||||
47
scenarios/copy-step-006d-006c-250ms.json
Normal file
47
scenarios/copy-step-006d-006c-250ms.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "copy-step-006d-006c-250ms",
|
||||
"notes": [
|
||||
"Recover to CONNECT OK, send 006D, then send 006C 250 ms later.",
|
||||
"This tests whether completion must arrive while the 006D copy flags are freshly live."
|
||||
],
|
||||
"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": "ok_baseline_1",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 0.7
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "ok_baseline_2",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 1.0
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "copy_start_006d",
|
||||
"frame": "05 00 6D 00 00 32",
|
||||
"listen": 0.25
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "copy_complete_candidate_006c",
|
||||
"frame": "05 00 6C 00 00 33",
|
||||
"listen": 10.0
|
||||
}
|
||||
]
|
||||
}
|
||||
41
scenarios/copy-step-006d-only.json
Normal file
41
scenarios/copy-step-006d-only.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "copy-step-006d-only",
|
||||
"notes": [
|
||||
"Recover to CONNECT OK, then send command-5 selector 0x006D.",
|
||||
"Expected from ROM model: 006D starts the copy state, displays COPY IN PROGRESS, then eventually times out if no completion/CCU transfer follows."
|
||||
],
|
||||
"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": "ok_baseline_1",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 0.7
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "ok_baseline_2",
|
||||
"frame": "04 00 00 80 00 DE",
|
||||
"listen": 1.0
|
||||
},
|
||||
{
|
||||
"action": "send",
|
||||
"label": "copy_start_006d",
|
||||
"frame": "05 00 6D 00 00 32",
|
||||
"listen": 10.0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user