login as: root root@192.168.0.16's password: [root@OM-A6-X500:~]# cd /NandFlash [root@OM-A6-X500:NandFlash]# ./omDemo1 791 1 0 0 0 RS485-3:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 202260 kB MemAvailable: 215140 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 !!!MemVsz change: 220 KB !!!MemVsz change: 5276 KB !!!MemVsz change: 1248 KB SMxxx: Type=791 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=RS485-3:9600,n,8,1 Type=791 testSM SM=1d7b5c8 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 202004 kB MemAvailable: 214900 kB Buffers: 0 kB start SMxxx->DataGet ... testSM-0001 11:32:28 RS485-3:9600,n,8,1 testSM-0002 11:32:31 RS485-3:9600,n,8,1 ^C [root@OM-A6-X500:NandFlash]# ./omDemo1 791 1 0 0 0 RS485-3:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 205292 kB MemAvailable: 218540 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: 12cb710 !!!MemVsz change: 128 KB !!!MemVsz change: 5276 KB !!!MemVsz change: 1248 KB SMxxx: Type=791 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=RS485-3:9600,n,8,1 Type=791 testSM SM=12ce5b8 CSerCom InitCom: 12ce868 1 CSerCom UpdParams: ComPort: RS485-3, 0, 0 CSerCom::Open: /dev/RS485-3,9600,8,N,0 set serial done+! RS485-3:9600,n,8,1[110003] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 204864 kB MemAvailable: 218168 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 01 04 75 30 00 28 EA 17 RECV: 01 04 50 09 0A 09 16 09 08 01 F4 00 4F 00 50 00 50 00 5F 00 5F 00 5F 08 8F 08 8A 08 99 01 F4 00 24 00 27 00 A6 00 04 00 05 00 1F 00 08 00 08 00 24 00 DC 00 F0 00 D2 09 2C 09 19 09 16 01 F4 08 85 08 85 00 00 00 00 00 00 00 00 00 64 03 3E 00 00 00 C8 E0 AA SEND: 01 02 27 50 00 0B 33 68 RECV: 01 02 02 00 00 B9 B8 SEND: 01 02 27 19 00 05 63 7A RECV: 01 02 01 12 21 85 testSM-0001 11:35:56 RS485-3:9600,n,8,1 SEND: 01 04 75 30 00 28 EA 17 RECV: 01 04 50 09 0A 09 16 09 06 01 F4 00 4F 00 50 00 50 00 5F 00 5E 00 5F 08 8F 08 8A 08 99 01 F4 00 24 00 27 00 A6 00 04 00 05 00 1F 00 07 00 08 00 24 00 F0 00 E6 00 D2 09 2C 09 18 09 15 01 F4 08 85 08 85 00 00 00 00 00 00 00 00 00 64 03 3E 00 00 00 C8 04 BA SEND: 01 02 27 50 00 0B 33 68 RECV: 01 02 02 00 00 B9 B8 SEND: 01 02 27 19 00 05 63 7A RECV: 01 02 01 12 21 85 testSM-0002 11:35:58 RS485-3:9600,n,8,1 SEND: 01 04 75 30 00 28 EA 17 RECV: 01 04 50 09 0B 09 12 09 06 01 F4 00 4E 00 51 00 50 00 5F 00 5E 00 5F 08 8F 08 8A 08 99 01 F4 00 24 00 27 00 A6 00 04 00 05 00 1F 00 07 00 08 00 24 00 E6 00 E6 00 D2 09 2B 09 17 09 14 01 F4 08 85 08 85 00 00 00 00 00 00 00 00 00 64 03 3E 00 00 00 C8 A2 41 SEND: 01 02 27 50 00 0B 33 68 RECV: 01 02 02 00 00 B9 B8 SEND: 01 02 27 19 00 05 63 7A RECV: 01 02 01 12 21 85 ^C [root@OM-A6-X500:NandFlash]# ./omDemo1 4617 1 0 0 0 RS485-1:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 204504 kB MemAvailable: 217912 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: 1b28710 !!!MemVsz change: 128 KB !!!MemVsz change: 5276 KB !!!MemVsz change: 1248 KB SMxxx: Type=4617 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=RS485-1:9600,n,8,1 Type=4617 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1b2b5b8 CSerCom InitCom: 1b2b970 1 CSerCom UpdParams: ComPort: RS485-1, 0, 0 CSerCom::Open: /dev/RS485-1,9600,8,N,0 set serial done+! RS485-1:9600,n,8,1[110001] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 204424 kB MemAvailable: 217832 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 01 03 61 00 00 04 5B F5 RECV: testSM-0001 11:40:23 RS485-1:9600,n,8,1 SEND: 01 03 61 00 00 04 5B F5 RECV: testSM-0002 11:40:25 RS485-1:9600,n,8,1 SEND: 01 03 61 00 00 04 5B F5 RECV: testSM-0003 11:40:26 RS485-1:9600,n,8,1 SEND: 01 03 61 00 00 04 5B F5 RECV: testSM-0004 11:40:27 RS485-1:9600,n,8,1 SEND: 01 03 61 00 00 04 5B F5 RECV: ^C [root@OM-A6-X500:NandFlash]# ./omDemo1 4691 31 0 0 0 RS485-1:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 169596 kB MemAvailable: 217404 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: b01710 !!!MemVsz change: 128 KB !!!MemVsz change: 5276 KB !!!MemVsz change: 1248 KB SMxxx: Type=4691 Addr=31 Port=0 Tag1=0 Ext1=0 SerDef=RS485-1:9600,n,8,1 Type=4691 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=1 testSM SM=b045b8 CSerCom InitCom: b04920 1 CSerCom UpdParams: ComPort: RS485-1, 0, 0 CSerCom::Open: /dev/RS485-1,9600,8,N,0 set serial done+! RS485-1:9600,n,8,1[110001] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 169228 kB MemAvailable: 217036 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 1F 04 00 00 00 09 33 B2 RECV: 1F 04 09 00 00 00 00 00 00 00 00 00 74 F6 t=4691 iaddr=31 iext=0 30001=0 30002=0 30003=0 30004=0 30005=0 30006=0 30007=0 30008=0 30009=0 brief= testSM-0001 12:05:54 RS485-1:9600,n,8,1 SEND: 1F 04 00 00 00 09 33 B2 RECV: 1F 04 09 00 00 00 00 00 00 00 00 00 74 F6 t=4691 iaddr=31 iext=0 30001=0 30002=0 30003=0 30004=0 30005=0 30006=0 30007=0 30008=0 30009=0 brief= testSM-0002 12:05:55 RS485-1:9600,n,8,1 SEND: 1F 04 00 00 00 09 33 B2 RECV: 1F 04 09 00 00 00 00 00 00 00 00 00 74 F6 t=4691 iaddr=31 iext=0 30001=0 30002=0 30003=0 30004=0 30005=0 30006=0 30007=0 30008=0 30009=0 brief= testSM-0003 12:05:57 RS485-1:9600,n,8,1 SEND: 1F 04 00 00 00 09 33 B2 RECV: 1F 04 09 00 00 00 00 00 00 00 00 00 74 F6 t=4691 iaddr=31 iext=0 30001=0 30002=0 30003=0 30004=0 30005=0 30006=0 30007=0 30008=0 30009=0 brief= testSM-0004 12:05:58 RS485-1:9600,n,8,1 SEND: 1F 04 00 00 00 09 33 B2 RECV: 1F 04 09 00 00 00 00 00 00 00 00 00 74 F6 t=4691 iaddr=31 iext=0 30001=0 30002=0 30003=0 30004=0 30005=0 30006=0 30007=0 30008=0 30009=0 brief= testSM-0005 12:05:59 RS485-1:9600,n,8,1 SEND: 1F 04 00 00 00 09 33 B2 RECV: 1F 04 09 00 00 00 00 00 00 00 00 00 74 F6 t=4691 iaddr=31 iext=0 30001=0 30002=0 30003=0 30004=0 30005=0 30006=0 30007=0 30008=0 30009=0 brief= ^C [root@OM-A6-X500:NandFlash]#