login as: root root@192.168.0.16's password: Last login: Fri Dec 29 13:52:01 2023 from 192.168.0.2 [root@ROC-A6-T300A:~]# cd /NandFlash [root@ROC-A6-T300A:NandFlash]# ./sscomx Input the com prot: RS485-6 baudrate: 9600 Parity(n\o\e): n DataBit(5\6\7\8): 8 StopBit(1\2): 1 data types: 1. hex 2. ascii select data type: 1 select com prot: /dev/RS485-6, 9600, n, 8, 1 for hex send: 04 03 00 00 00 0A C5 98 no data receive! send: 04 03 00 00 00 15 84 50 no data receive! send: login as: root root@192.168.0.16's password: Last login: Wed Jan 3 11:10:07 2024 from 192.168.0.2 [root@ROC-A6-T300A:~]# cd /NandFlash [root@ROC-A6-T300A:NandFlash]# ./sscomx Input the com prot: RS485-7 baudrate: 9600 Parity(n\o\e): n DataBit(5\6\7\8): 8 StopBit(1\2): 1 data types: 1. hex 2. ascii select data type: 1 select com prot: /dev/RS485-7, 9600, n, 8, 1 for hex send: 04 03 00 00 00 0A C5 98 rece: 04 03 14 00 C5 7F FF 00 C8 00 00 7F FF 00 70 00 6F 00 C3 00 C8 00 00 65 D8 send: 04 03 00 00 00 0A C5 98 rece: 04 03 14 00 C5 7F FF 00 C8 00 00 7F FF 00 70 00 6F 00 C3 00 C8 00 00 65 D8 send: login as: root root@192.168.0.16's password: Last login: Wed Jan 3 11:13:13 2024 from 192.168.0.2 [root@ROC-A6-T300A:~]# cd /NandFlash [root@ROC-A6-T300A:NandFlash]# ./omDemo1 2081 4 0 0 0 RS485-7:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 191216 kB MemAvailable: 205260 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: d85710 !!!MemVsz change: 128 KB !!!MemVsz change: 5148 KB !!!MemVsz change: 1248 KB SMxxx: Type=2081 Addr=4 Port=0 Tag1=0 Ext1=0 SerDef=RS485-7:9600,n,8,1 Type=2081 testSM SM=d885b8 CSerCom InitCom: d88790 1 CSerCom UpdParams: ComPort: RS485-7, 0, 0 CSerCom::Open: /dev/RS485-7,9600,8,N,0 set serial done+! RS485-7:9600,n,8,1[110007] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 191036 kB MemAvailable: 205080 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 04 03 00 00 00 15 84 50 RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 70 00 6F 00 C2 00 C6 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 BE 3B testSM-0001 11:17:00 RS485-7:9600,n,8,1 SEND: 04 03 00 00 00 15 84 50 RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 70 00 6F 00 C2 00 C7 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 EA C2 testSM-0002 11:17:02 RS485-7:9600,n,8,1 SEND: 04 03 00 00 00 15 84 50 RECV: testSM-0003 11:17:03 RS485-7:9600,n,8,1 SEND: 04 03 00 00 00 15 84 50 RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 70 00 6F 00 C1 00 C7 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 EB 05 testSM-0004 11:17:05 RS485-7:9600,n,8,1 SEND: 04 03 00 00 00 15 84 50 RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 70 00 6F 00 C1 00 C7 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 EB 05 testSM-0005 11:17:06 RS485-7:9600,n,8,1 SEND: 04 03 00 00 00 15 84 50 RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 6F 00 6F 00 C1 00 C6 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 CE 32 testSM-0006 11:17:07 RS485-7:9600,n,8,1 SEND: 04 03 00 00 00 15 84 50 RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 6F 00 6F 00 C1 00 C7 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 9A CB ^C [root@ROC-A6-T300A:NandFlash]#