|
楼主 |
发表于 2022-7-5 22:25:33
|
显示全部楼层
这是日志文件success或fail的举例说明,请大神帮忙指点一下
### 测试次数:1 ###(success举例)
afexxxx_2p2 cfg 0 /ram/omu/dif/hw/AFEXXX_DT.bin
SUCCESS: cfg
afexxxx_2p2 cfg 1 /ram/omu/dif/hw/AFEXXX_MT.bin
SUCCESS: cfg
afexxxx_2p2 wr 0 16 4
SUCCESS: wr
afexxxx_2p2 rd 0 88 1
addr=0x88(136), data=0xd
SUCCESS: rd
afexxxx_2p2 rd 0 8a 1
addr=0x8a(138), data=0xb
SUCCESS: rd
afexxxx_2p2 rd 0 90 1
addr=0x90(144), data=0xd
SUCCESS: rd
afexxxx_2p2 wr 0 16 8
SUCCESS: wr
afexxxx_2p2 rd 0 88 1
addr=0x88(136), data=0xb
SUCCESS: rd
afexxxx_2p2 rd 0 8a 1
addr=0x8a(138), data=0xb
SUCCESS: rd
afexxxx_2p2 rd 0 90 1
addr=0x90(144), data=0xd
SUCCESS: rd
afexxxx_2p2 wr 0 16 0
SUCCESS: wr
afexxxx_2p2 wr 1 16 4
SUCCESS: wr
afexxxx_2p2 rd 1 88 1
addr=0x88(136), data=0xb
SUCCESS: rd
afexxxx_2p2 rd 1 8a 1
addr=0x8a(138), data=0xb
SUCCESS: rd
afexxxx_2p2 rd 1 90 1
addr=0x90(144), data=0xd
SUCCESS: rd
afexxxx_2p2 wr 1 16 8
SUCCESS: wr
afexxxx_2p2 rd 1 88 1
addr=0x88(136), data=0xd
SUCCESS: rd
afexxxx_2p2 rd 1 8a 1
addr=0x8a(138), data=0xd
SUCCESS: rd
afexxxx_2p2 rd 1 90 1
addr=0x90(144), data=0xd
SUCCESS: rd
afexxxx_2p2 wr 1 16 0
SUCCESS: wr
config AFEXXX done
### 测试次数:2 ###(fail举例1)
afexxxx_2p2 cfg 0 /ram/omu/dif/hw/AFEXXX_DT.bin
[../src/device/Afe79xx/Src/basicFunctions.c][afeSpiCheckWrapper][279]INFO:addr[0x011D], lsb[0], msb[7], data[0x10] not matching with expected value[0x00]
[AFE][2035-06-24 12:41:31]ERR:[C_afe79xx.cpp,L338]position[13897] mode[SPIReadCheck], addr[0x11d] data[0x0] lsb[0] msb[7]
[AFE][2035-06-24 12:41:31]ERR:[cmd.cpp,L280]cmd cfg failed
args_count[0], usage: afe79xx cfg [file]
afexxxx_2p2 cfg 1 /ram/omu/dif/hw/AFEXXX_MT.bin
SUCCESS: cfg
afexxxx_2p2 wr 0 16 4
SUCCESS: wr
afexxxx_2p2 rd 0 88 1
addr=0x88(136), data=0x13
SUCCESS: rd
afexxxx_2p2 rd 0 8a 1
addr=0x8a(138), data=0x13
SUCCESS: rd
afexxxx_2p2 rd 0 90 1
addr=0x90(144), data=0x13
SUCCESS: rd
afexxxx_2p2 wr 0 16 8
SUCCESS: wr
afexxxx_2p2 rd 0 88 1
addr=0x88(136), data=0x13
SUCCESS: rd
afexxxx_2p2 rd 0 8a 1
addr=0x8a(138), data=0x13
SUCCESS: rd
afexxxx_2p2 rd 0 90 1
addr=0x90(144), data=0x13
SUCCESS: rd
afexxxx_2p2 wr 0 16 0
SUCCESS: wr
afexxxx_2p2 wr 1 16 4
SUCCESS: wr
afexxxx_2p2 rd 1 88 1
addr=0x88(136), data=0xb
SUCCESS: rd
afexxxx_2p2 rd 1 8a 1
addr=0x8a(138), data=0xd
SUCCESS: rd
afexxxx_2p2 rd 1 90 1
addr=0x90(144), data=0xd
SUCCESS: rd
afexxxx_2p2 wr 1 16 8
SUCCESS: wr
afexxxx_2p2 rd 1 88 1
addr=0x88(136), data=0xb
SUCCESS: rd
afexxxx_2p2 rd 1 8a 1
addr=0x8a(138), data=0xd
SUCCESS: rd
afexxxx_2p2 rd 1 90 1
addr=0x90(144), data=0xd
SUCCESS: rd
afexxxx_2p2 wr 1 16 0
SUCCESS: wr
config AFEXXX done
|
|