修改测试用例,SPI/QSPI的测试用例应该过了

This commit is contained in:
2025-09-22 00:58:34 +08:00
parent d19c7e8481
commit 2c1627b215
7 changed files with 60 additions and 37 deletions

View File

@@ -510,8 +510,8 @@ def tc8():
+"\n#5000\n"
+genIFRwDataCode(0, 0x09, True, 1, [0, ], False, iface=1)
+genIFRwDataCode(2, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(0)
+using_proper_transcode(2)
+using_proper_workmode(0)
+using_proper_workmode(2)
+genMessageCode("--读取中断")
+genIFRwDataCode(0, 0x74, False, 4)
@@ -2120,8 +2120,8 @@ def tc28():
+"#5000"
+genIFRwDataCode(0, 0x09, True, 1, [0, ], False, iface=1)
+genIFRwDataCode(4, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(0)
+using_proper_transcode(4)
+using_proper_workmode(0)
+using_proper_workmode(4)
+genMessageCode("--读取中断")
+genIFRwDataCode(0, 0x74, False, 4)
@@ -2336,8 +2336,8 @@ def tc28():
+"#5000"
+genIFRwDataCode(0, 0x09, True, 1, [0, ], False, iface=1)
+genIFRwDataCode(4, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(0)
+using_proper_transcode(4)
+using_proper_workmode(0)
+using_proper_workmode(4)
+genMessageCode("--读取中断")
+genIFRwDataCode(0, 0x74, False, 4)
@@ -2627,7 +2627,7 @@ def tc31():
+genIFRwDataCode(4, 0x40, True, 4, [0x01, 0x00, 0x66, 0x79])
+"#5000"
+genIFRwDataCode(4, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(4)
+using_proper_workmode(4)
+genIFRwDataCode(4, 0x0, True, 1, [1, ])
+genIFRwDataCode(4, 0x78, True, 4, [0xff, 0xff, 0xff, 0xff])
#+genEnableInsertTimeCode(0xa)
@@ -2825,7 +2825,7 @@ def tc31():
+genIFRwDataCode(0, 0x40, True, 4, [0x01, 0x00, 0x66, 0x79])
+"#5000\n"
+genIFRwDataCode(0, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(0)
+using_proper_workmode(0)
+genIFRwDataCode(0, 0x0, True, 1, [1, ])
+genIFRwDataCode(0, 0x78, True, 4, [0xff, 0xff, 0xff, 0xff])
+genIFRwDataCode(0, 0x7c, True, 2, [0x10, 0x80])
@@ -3009,7 +3009,7 @@ def tc31():
+genIFRwDataCode(4, 0x40, True, 4, [0x01, 0x00, 0x66, 0x79])
+"#5000"
+genIFRwDataCode(4, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(4)
+using_proper_workmode(4)
+genIFRwDataCode(4, 0x00, True, 1, [2, ])
+genIFRwDataCode(4, 0x78, True, 4, [0xff, 0xff, 0xff, 0xff])
)