login as: root root@192.168.0.16's password: [root@OM-A6-T300A:~]# cd /NandFlash [root@OM-A6-T300A:NandFlash]# ./omDemo1 256 5 0 19 0 RS485-1:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 208400 kB MemAvailable: 219116 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: 142f710 !!!MemVsz change: 128 KB !!!MemVsz change: 5148 KB !!!MemVsz change: 1248 KB SMxxx: Type=256 Addr=5 Port=0 Tag1=19 Ext1=0 SerDef=RS485-1:9600,n,8,1 Type=256 testSM SM=14325b8 CSerCom InitCom: 1432798 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: 208092 kB MemAvailable: 218824 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 05 03 00 00 00 29 85 90 RECV: 05 03 52 56 D1 97 4E 23 E3 00 00 01 FC D9 0C FF EF 03 FC 57 1E 96 58 22 EB 00 00 01 EF 26 D4 00 15 03 E4 57 6A 96 FC 1C 02 09 10 01 8F D9 1D FF F9 03 22 96 E0 57 1D 20 F0 B6 F3 05 7B D9 1C FF FE 0B 03 00 00 D7 8E 00 D0 00 00 00 00 0B 9C 00 12 FF 86 00 01 F1 9D testSM-0001 16:43:01 RS485-1:9600,n,8,1 SEND: 05 03 00 00 00 29 85 90 RECV: 05 03 52 58 39 99 36 23 90 00 00 02 00 D9 0A FF F3 04 03 58 4B 98 D0 22 A4 00 00 01 F1 26 D1 00 17 03 EA 58 8E 99 05 1B D7 15 E0 01 92 D9 1C FF FA 03 27 99 03 58 5B 20 AE B6 F5 05 84 26 E4 00 05 0B 15 00 00 D7 8E 00 D0 00 00 00 00 0B 9C 00 12 FF 86 00 01 73 3F testSM-0002 16:43:03 RS485-1:9600,n,8,1 SEND: 05 03 00 00 00 29 85 90 RECV: 05 03 52 57 6A 97 7F 23 CC 00 00 01 FF D9 09 FF F2 04 01 57 5E 97 47 22 96 00 00 01 EB 26 D2 00 15 03 DE 57 76 97 5E 1B EB 18 10 01 8E D9 1D FF F9 03 20 97 61 57 6A 20 C5 B6 F2 05 79 26 E4 00 01 0A FF 00 00 D7 8E 00 D0 00 00 00 00 0B 9C 00 12 FF 86 00 01 EC 53 testSM-0003 16:43:04 RS485-1:9600,n,8,1 SEND: 05 03 00 00 00 29 85 90 ^C [root@OM-A6-T300A:NandFlash]# ./omDemo1 256 6 0 19 0 RS485-1:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 208324 kB MemAvailable: 219068 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: 2009710 !!!MemVsz change: 128 KB !!!MemVsz change: 5148 KB !!!MemVsz change: 1248 KB SMxxx: Type=256 Addr=6 Port=0 Tag1=19 Ext1=0 SerDef=RS485-1:9600,n,8,1 Type=256 testSM SM=200c5b8 CSerCom InitCom: 200c798 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: 208016 kB MemAvailable: 218760 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 06 03 00 00 00 29 85 A3 RECV: 06 03 52 5A 29 9C 61 2F 10 00 00 02 B4 26 E8 00 23 05 6E 5A 3B 9C 17 2B E2 00 00 02 85 26 E6 00 25 05 11 5A 47 9C 54 26 89 04 10 02 34 26 B1 00 41 04 73 9C 44 5A 39 2B 29 B6 EE 07 6E 26 D7 00 8B 0E F3 00 00 51 10 01 4D 00 14 00 00 28 2A 00 44 86 0C 00 04 B1 1F testSM-0001 16:43:13 RS485-1:9600,n,8,1 SEND: 06 03 00 00 00 29 85 A3 RECV: 06 03 52 5A 34 9C 4E 2F 12 00 00 02 B4 26 E8 00 23 05 6F 5A 1F 9C 11 2B ED 00 00 02 85 26 E5 00 26 05 11 5A 47 9C 45 26 88 1D 60 02 34 26 B1 00 41 04 73 9C 36 5A 33 2B 2D B6 EB 07 6F 26 D7 00 8B 0E F3 00 00 51 1A 01 4D 00 14 00 00 28 2A 00 44 86 0C 00 04 82 3D ^C [root@OM-A6-T300A:NandFlash]# [root@OM-A6-T300A:NandFlash]# [root@OM-A6-T300A:NandFlash]# [root@OM-A6-T300A:NandFlash]# ./sscomx send: 05 03 03 07 00 03 B5 CA rece: 05 03 06 00 01 00 00 01 2C 2E 38