修改测试用例,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

@@ -834,7 +834,7 @@ def tc5():
+genIFRwDataCode(3, 0xc0, False, 4)
+genIFRwDataCode(4, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(4)
+using_proper_workmode(4)
+genIFRwDataCode(4, 0x00, True, 1, [0x2, ])
+genIFRwDataCode(4, 0x78, True, 4, [0xff, 0xff, 0xff, 0xff])
@@ -1338,7 +1338,7 @@ def tc7():
genPkt.addBeforeExc("\n#5000\n"
+genIFRwDataCode(0, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(0)
+using_proper_workmode(0)
+genIFRwDataCode(0, 0x74, False, 4)
#+genIFRwDataCode(0, 0x40, False, 4)
@@ -1771,14 +1771,14 @@ def tc8():
genPkt.addBeforeExc("\n#5000\n"
+genIFRwDataCode(0, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(0)
+using_proper_workmode(0)
+genIFRwDataCode(0, 0x74, False, 4)
+genIFRwDataCode(0, 0x00, True, 1, [0x1, ])
+genIFRwDataCode(0, 0x78, True, 4, [0xff, 0xff, 0xff, 0xff])
+genIFRwDataCode(1, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(1)
+using_proper_workmode(1)
+genIFRwDataCode(1, 0x74, False, 4)
+genIFRwDataCode(1, 0x00, True, 1, [0x2, ])
@@ -1863,7 +1863,7 @@ def tc8():
genPkt.addBeforeExc("\n#5000\n"
+genIFRwDataCode(0, 0x09, True, 1, [0, ], False, iface=1)
+using_proper_transcode(0)
+using_proper_workmode(0)
+genIFRwDataCode(0, 0x74, False, 4)
#+genIFRwDataCode(0, 0x40, False, 4)