login as: root root@192.168.50.244's password: [root@M28x ~]# top Mem: 39400K used, 85060K free, 0K shrd, 0K buff, 21256K cached CPU: 21% usr 7% sys 0% nic 71% idle 0% io 0% irq 0% sirq Load average: 2.02 2.06 2.03 2/68 14703 PID PPID USER STAT VSZ %MEM %CPU COMMAND 14702 14694 root R 2268 2% 29% top 1274 1273 root S 16340 13% 0% ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub 1326 1 root S 14464 12% 0% ./omTray 14309 1488 root S 6816 5% 0% sshd: root@notty 14262 1488 root S 6816 5% 0% sshd: root@notty 11318 1488 root S 6816 5% 0% sshd: root@notty 11889 1488 root S 6816 5% 0% sshd: root@notty 2808 1488 root S 6668 5% 0% sshd: root@notty 14672 1488 root S 6668 5% 0% sshd: root@pts/0 1488 1 root S 4056 3% 0% /usr/sbin/sshd 11906 11889 root S 3728 3% 0% /usr/lib/sftp-server 14279 14262 root S 3728 3% 0% /usr/lib/sftp-server 11336 11318 root S 3728 3% 0% /usr/lib/sftp-server 14326 14309 root S 3728 3% 0% /usr/lib/sftp-server 2825 2808 root S 3728 3% 0% /usr/lib/sftp-server 14694 14672 root S 2696 2% 0% -sh 1208 1 dbus S 2336 2% 0% dbus-daemon --system 1351 1 root S 2272 2% 0% /sbin/getty -L ttyAM0 115200 vt100 1354 1 root S 2268 2% 0% /usr/bin/tail -f /var/log/messages 1 0 root S 2268 2% 0% init 1353 1 root S 2268 2% 0% /sbin/klogd -n 1352 1 root S 2268 2% 0% /sbin/syslogd -n -m 0 1465 1 root S 2268 2% 0% /usr/sbin/telnetd -l /bin/login 1184 1 root S < 1764 1% 0% /sbin/udevd -d 1197 1 daemon S 1620 1% 0% portmap 1273 1 root S 1548 1% 0% wr ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub 3 2 root SW 0 0% 0% [ksoftirqd/0] 4 2 root SW 0 0% 0% [events/0] 1194 2 root SW 0 0% 0% [ubifs_bgt1_1] 1190 2 root SW 0 0% 0% [ubi_bgt1d] 5 2 root SW 0 0% 0% [khelper] 2 0 root SW 0 0% 0% [kthreadd] 172 2 root SW 0 0% 0% [bdi-default] 1031 2 root SW 0 0% 0% [mtdblock2] 1050 2 root SW 0 0% 0% [ubi_bgt0d] 8 2 root SW 0 0% 0% [async/mgr] 9 2 root SW 0 0% 0% [pm] 63 2 root DW 0 0% 0% [usb_wakeup thre] 170 2 root SW 0 0% 0% [sync_supers] 173 2 root SW 0 0% 0% [kblockd/0] 187 2 root SW 0 0% 0% [otg_switch/0] 193 2 root SW 0 0% 0% [khubd] 196 2 root SW 0 0% 0% [kseriod] 201 2 root SW 0 0% 0% [kmmcd] 223 2 root SW 0 0% 0% [rpciod/0] 229 2 root DW 0 0% 0% [usb_wakeup thre] 291 2 root SW 0 0% 0% [kswapd0] 339 2 root SW 0 0% 0% [aio/0] 349 2 root SW 0 0% 0% [nfsiod] 354 2 root SW 0 0% 0% [crypto/0] 1025 2 root SW 0 0% 0% [mtdblock0] 1028 2 root SW 0 0% 0% [mtdblock1] 1034 2 root SW 0 0% 0% [mtdblock3] 1037 2 root SW 0 0% 0% [mtdblock4] 1040 2 root SW 0 0% 0% [mtdblock5] 1043 2 root SW 0 0% 0% [mtdblock6] 1051 2 root SW 0 0% 0% [mxs-spi.2] 1054 2 root SW 0 0% 0% [mxs-spi.3] 1081 2 root SW 0 0% 0% [usb_gadget_work] 1084 2 root SW 0 0% 0% [kpsmoused] 1144 2 root SW 0 0% 0% [usbhid_resumer] 1153 2 root SW 0 0% 0% [pswitch] 1218 2 root SW 0 0% 0% [ubifs_bgt0_0] 14344 2 root SW 0 0% 0% [flush-ubifs_1_1] 14389 2 root SW 0 0% 0% [flush-ubifs_0_0] [root@M28x ~]# cd /NandFlash [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21256 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84760 kB Buffers: 0 kB Cached: 21256 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 18 09 28 09 25 09 21 0F CC 0F D2 0F D0 0F D0 00 C3 00 5C 00 23 00 6B 00 8A 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 E0 25 08 25 46 24 F6 C3 31 AE 90 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DB 00 03 CA 4D t=4655 iaddr=1 iext=0 40001=2328 40002=2344 40003=2341 40004=2337 40005=4044 40006=4050 40007=4048 40008=4048 40009=195 40010=92 40011=35 40012=107 40013=138 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=22 40024=8 40025=75 40026=9440 40027=9480 40028=9542 40029=9462 40030=49969 40043=197595 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 19 09 29 09 25 09 22 0F CE 0F D4 0F D1 0F D1 00 C5 00 5A 00 23 00 6B 00 8C 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2E 00 15 00 08 00 4B 24 EC 24 FB 25 9B 25 03 C3 31 AC 50 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DB 00 03 CA 4D t=4655 iaddr=1 iext=0 40001=2329 40002=2345 40003=2341 40004=2338 40005=4046 40006=4052 40007=4049 40008=4049 40009=197 40010=90 40011=35 40012=107 40013=140 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=46 40023=21 40024=8 40025=75 40026=9452 40027=9467 40028=9627 40029=9475 40030=49969 40043=197595 brief= ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21256 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84760 kB Buffers: 0 kB Cached: 21256 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 14 09 27 09 22 09 1F 0F C7 0F D0 0F CC 0F CB 00 C7 00 5C 00 23 00 6D 00 8D 00 2C 00 15 00 08 00 48 FF F2 FF FB FF FE FF EB 00 2E 00 16 00 08 00 4C 24 FB 25 16 25 A2 25 15 C3 34 5D EB SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DC 00 03 7B 8C t=4655 iaddr=1 iext=0 40001=2324 40002=2343 40003=2338 40004=2335 40005=4039 40006=4048 40007=4044 40008=4043 40009=199 40010=92 40011=35 40012=109 40013=141 40014=44 40015=21 40016=8 40017=72 40018=65522 40019=65531 40020=65534 40021=65515 40022=46 40023=22 40024=8 40025=76 40026=9467 40027=9494 40028=9634 40029=9493 40030=49972 40043=50387971 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 18 09 26 09 23 09 20 0F CB 0F D1 0F CE 0F CE 00 C3 00 5C 00 23 00 6C 00 89 00 2B 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 DD 25 13 25 62 24 FB C3 33 90 6E SEND: 01 03 00 2A 00 02 E5 C3 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21256 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84760 kB Buffers: 0 kB Cached: 21256 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 16 09 25 09 22 09 1F 0F C7 0F CE 0F CD 0F CC 00 C1 00 5E 00 23 00 6B 00 86 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EC 00 2D 00 16 00 08 00 4B 24 CD 25 05 25 7B 24 F0 C3 41 3E 8F SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DD 00 03 2A 4C t=4655 iaddr=1 iext=0 40001=2326 40002=2341 40003=2338 40004=2335 40005=4039 40006=4046 40007=4045 40008=4044 40009=193 40010=94 40011=35 40012=107 40013=134 40014=42 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65516 40022=45 40023=22 40024=8 40025=75 40026=9421 40027=9477 40028=9595 40029=9456 40030=49985 40043=64815107 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 16 09 24 09 21 09 1F 0F C6 0F CD 0F CD 0F CB 00 C4 00 5C 00 23 00 6B 00 8B 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EC 00 2E 00 15 00 08 00 4B 24 E2 24 F7 25 9C 24 FC C3 3E A4 82 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DD 00 03 2A 4C t=4655 iaddr=1 iext=0 40001=2326 40002=2340 40003=2337 40004=2335 40005=4038 40006=4045 40007=4045 40008=4043 40009=196 40010=92 40011=35 40012=107 40013=139 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65516 40022=46 40023=21 40024=8 40025=75 40026=9442 40027=9463 40028=9628 40029=9468 40030=49982 40043=64815107 brief= ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21256 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84760 kB Buffers: 0 kB Cached: 21256 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1A 09 2A 09 26 09 23 0F CE 0F D6 0F D3 0F D3 00 C2 00 5B 00 23 00 6A 00 88 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 15 00 08 00 4B 24 DF 25 1A 25 A4 25 05 C3 2F CC 3B SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DD 00 03 2A 4C t=4655 iaddr=1 iext=0 40001=2330 40002=2346 40003=2342 40004=2339 40005=4046 40006=4054 40007=4051 40008=4051 40009=194 40010=91 40011=35 40012=106 40013=136 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=21 40024=8 40025=75 40026=9439 40027=9498 40028=9636 40029=9477 40030=49967 40043=0 brief= SEND: 01 03 00 00 00 1E C5 C2 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 84984 kB Buffers: 0 kB Cached: 21264 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21264 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1E 09 2B 09 20 09 23 0F D0 0F D6 0F D0 0F D2 00 C2 00 5B 00 23 00 6B 00 8A 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 15 00 08 00 4B 24 D8 24 EC 25 90 24 F2 C3 71 23 CE SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DE 00 03 DA 4C t=4655 iaddr=1 iext=0 40001=2334 40002=2347 40003=2336 40004=2339 40005=4048 40006=4054 40007=4048 40008=4050 40009=194 40010=91 40011=35 40012=107 40013=138 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=21 40024=8 40025=75 40026=9432 40027=9452 40028=9616 40029=9458 40030=50033 40043=0 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 19 09 2A 09 26 09 23 0F CE 0F D5 0F D3 0F D2 00 C2 00 5C 00 23 00 6B 00 89 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 D7 24 F4 25 9D 24 F4 C3 70 9D 8D SEND: 01 03 00 2A 00 02 E5 C3 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 84984 kB Buffers: 0 kB Cached: 21264 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21264 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 17 09 2B 09 27 09 23 0F CE 0F D6 0F D3 0F D2 00 C1 00 5F 00 23 00 6C 00 86 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 DF 25 3B 25 9A 25 0F C3 4F 48 A6 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DE 00 03 DA 4C t=4655 iaddr=1 iext=0 40001=2327 40002=2347 40003=2343 40004=2339 40005=4046 40006=4054 40007=4051 40008=4050 40009=193 40010=95 40011=35 40012=108 40013=134 40014=42 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=22 40024=8 40025=75 40026=9439 40027=9531 40028=9626 40029=9487 40030=49999 40043=197598 brief= SEND: 01 03 00 00 00 1E C5 C2 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21264 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21264 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 19 09 25 09 22 09 20 0F CB 0F D0 0F CD 0F CD 00 C1 00 5C 00 23 00 6A 00 87 00 2A 00 14 00 08 00 46 FF F2 FF FB FF FE FF EB 00 2D 00 15 00 08 00 4B 24 CA 25 08 25 85 24 F0 C3 32 CA 3D SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DF 00 03 8B 8C t=4655 iaddr=1 iext=0 40001=2329 40002=2341 40003=2338 40004=2336 40005=4043 40006=4048 40007=4045 40008=4045 40009=193 40010=92 40011=35 40012=106 40013=135 40014=42 40015=20 40016=8 40017=70 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=21 40024=8 40025=75 40026=9418 40027=9480 40028=9605 40029=9456 40030=49970 40043=197 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1A 09 27 09 24 09 22 0F CE 0F D2 0F CF 0F D0 00 C0 00 58 00 23 00 69 00 88 00 2A 00 13 00 08 00 45 FF F2 FF FB FF FE FF EB 00 2D 00 15 00 08 00 49 24 C8 24 CC 25 8A 24 DF C3 33 B2 1D SEND: 01 03 00 2A 00 02 E5 C3 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21264 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21264 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 20 09 2C 09 23 09 25 0F D5 0F D9 0F D3 0F D6 00 C0 00 60 00 23 00 6B 00 84 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 CD 25 37 25 88 25 00 C3 31 42 F2 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 E3 00 03 4B 80 SEND: 01 03 00 2C 00 02 05 C2 RECV: 01 03 04 00 00 00 00 FA 33 t=4655 iaddr=1 iext=0 40001=2336 40002=2348 40003=2339 40004=2341 40005=4053 40006=4057 40007=4051 40008=4054 40009=192 40010=96 40011=35 40012=107 40013=132 40014=42 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=22 40024=8 40025=75 40026=9421 40027=9527 40028=9608 40029=9472 40030=49969 40043=197 40045=0 brief= SEND: 01 03 00 00 00 1E C5 C2 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 84984 kB Buffers: 0 kB Cached: 21268 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21268 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 15 09 29 09 24 09 21 0F CB 0F D4 0F CD 0F CF 00 C2 00 5C 00 23 00 6B 00 88 00 2B 00 15 00 08 00 47 FF F2 FF FB FF FE FF EC 00 2D 00 16 00 08 00 4B 24 E8 25 2B 25 8C 25 0D C3 2D 61 CC SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 E5 00 03 AB 81 SEND: 01 03 00 2C 00 02 05 C2 RECV: 01 03 04 00 00 00 00 FA 33 t=4655 iaddr=1 iext=0 40001=2325 40002=2345 40003=2340 40004=2337 40005=4043 40006=4052 40007=4045 40008=4047 40009=194 40010=92 40011=35 40012=107 40013=136 40014=43 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65516 40022=45 40023=22 40024=8 40025=75 40026=9448 40027=9515 40028=9612 40029=9485 40030=49965 40043=197605 40045=0 brief= SEND: 01 03 00 00 00 1E C5 C2 ^C [root@M28x NandFlash]# ./sscomx Input the com prot: ttySP4 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/ttySP4, 9600, n, 8, 1 for hex send: 01 04 00 2A 00 04 D0 01 no data receive! send: 01 03 00 2A 00 04 65 C1 rece: 01 03 08 03 EA 00 03 00 00 00 00 DA 0C send: ^[[A no data receive! send: 01 03 00 2A 00 04 65 C1 rece: 01 03 08 03 EA 00 03 00 00 00 00 DA 0C send: 01 03 00 2A 00 04 65 C1 rece: 01 03 08 03 EA 00 03 00 00 00 00 DA 0C send: 01 03 00 2A 00 04 65 C1 rece: 01 03 08 03 EA 00 03 00 00 00 00 DA 0C send: login as: root root@192.168.50.244's password: [root@M28x ~]# top Mem: 39400K used, 85060K free, 0K shrd, 0K buff, 21256K cached CPU: 21% usr 7% sys 0% nic 71% idle 0% io 0% irq 0% sirq Load average: 2.02 2.06 2.03 2/68 14703 PID PPID USER STAT VSZ %MEM %CPU COMMAND 14702 14694 root R 2268 2% 29% top 1274 1273 root S 16340 13% 0% ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub 1326 1 root S 14464 12% 0% ./omTray 14309 1488 root S 6816 5% 0% sshd: root@notty 14262 1488 root S 6816 5% 0% sshd: root@notty 11318 1488 root S 6816 5% 0% sshd: root@notty 11889 1488 root S 6816 5% 0% sshd: root@notty 2808 1488 root S 6668 5% 0% sshd: root@notty 14672 1488 root S 6668 5% 0% sshd: root@pts/0 1488 1 root S 4056 3% 0% /usr/sbin/sshd 11906 11889 root S 3728 3% 0% /usr/lib/sftp-server 14279 14262 root S 3728 3% 0% /usr/lib/sftp-server 11336 11318 root S 3728 3% 0% /usr/lib/sftp-server 14326 14309 root S 3728 3% 0% /usr/lib/sftp-server 2825 2808 root S 3728 3% 0% /usr/lib/sftp-server 14694 14672 root S 2696 2% 0% -sh 1208 1 dbus S 2336 2% 0% dbus-daemon --system 1351 1 root S 2272 2% 0% /sbin/getty -L ttyAM0 115200 vt100 1354 1 root S 2268 2% 0% /usr/bin/tail -f /var/log/messages 1 0 root S 2268 2% 0% init 1353 1 root S 2268 2% 0% /sbin/klogd -n 1352 1 root S 2268 2% 0% /sbin/syslogd -n -m 0 1465 1 root S 2268 2% 0% /usr/sbin/telnetd -l /bin/login 1184 1 root S < 1764 1% 0% /sbin/udevd -d 1197 1 daemon S 1620 1% 0% portmap 1273 1 root S 1548 1% 0% wr ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub 3 2 root SW 0 0% 0% [ksoftirqd/0] 4 2 root SW 0 0% 0% [events/0] 1194 2 root SW 0 0% 0% [ubifs_bgt1_1] 1190 2 root SW 0 0% 0% [ubi_bgt1d] 5 2 root SW 0 0% 0% [khelper] 2 0 root SW 0 0% 0% [kthreadd] 172 2 root SW 0 0% 0% [bdi-default] 1031 2 root SW 0 0% 0% [mtdblock2] 1050 2 root SW 0 0% 0% [ubi_bgt0d] 8 2 root SW 0 0% 0% [async/mgr] 9 2 root SW 0 0% 0% [pm] 63 2 root DW 0 0% 0% [usb_wakeup thre] 170 2 root SW 0 0% 0% [sync_supers] 173 2 root SW 0 0% 0% [kblockd/0] 187 2 root SW 0 0% 0% [otg_switch/0] 193 2 root SW 0 0% 0% [khubd] 196 2 root SW 0 0% 0% [kseriod] 201 2 root SW 0 0% 0% [kmmcd] 223 2 root SW 0 0% 0% [rpciod/0] 229 2 root DW 0 0% 0% [usb_wakeup thre] 291 2 root SW 0 0% 0% [kswapd0] 339 2 root SW 0 0% 0% [aio/0] 349 2 root SW 0 0% 0% [nfsiod] 354 2 root SW 0 0% 0% [crypto/0] 1025 2 root SW 0 0% 0% [mtdblock0] 1028 2 root SW 0 0% 0% [mtdblock1] 1034 2 root SW 0 0% 0% [mtdblock3] 1037 2 root SW 0 0% 0% [mtdblock4] 1040 2 root SW 0 0% 0% [mtdblock5] 1043 2 root SW 0 0% 0% [mtdblock6] 1051 2 root SW 0 0% 0% [mxs-spi.2] 1054 2 root SW 0 0% 0% [mxs-spi.3] 1081 2 root SW 0 0% 0% [usb_gadget_work] 1084 2 root SW 0 0% 0% [kpsmoused] 1144 2 root SW 0 0% 0% [usbhid_resumer] 1153 2 root SW 0 0% 0% [pswitch] 1218 2 root SW 0 0% 0% [ubifs_bgt0_0] 14344 2 root SW 0 0% 0% [flush-ubifs_1_1] 14389 2 root SW 0 0% 0% [flush-ubifs_0_0] [root@M28x ~]# cd /NandFlash [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21256 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84760 kB Buffers: 0 kB Cached: 21256 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 18 09 28 09 25 09 21 0F CC 0F D2 0F D0 0F D0 00 C3 00 5C 00 23 00 6B 00 8A 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 E0 25 08 25 46 24 F6 C3 31 AE 90 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DB 00 03 CA 4D t=4655 iaddr=1 iext=0 40001=2328 40002=2344 40003=2341 40004=2337 40005=4044 40006=4050 40007=4048 40008=4048 40009=195 40010=92 40011=35 40012=107 40013=138 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=22 40024=8 40025=75 40026=9440 40027=9480 40028=9542 40029=9462 40030=49969 40043=197595 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 19 09 29 09 25 09 22 0F CE 0F D4 0F D1 0F D1 00 C5 00 5A 00 23 00 6B 00 8C 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2E 00 15 00 08 00 4B 24 EC 24 FB 25 9B 25 03 C3 31 AC 50 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DB 00 03 CA 4D t=4655 iaddr=1 iext=0 40001=2329 40002=2345 40003=2341 40004=2338 40005=4046 40006=4052 40007=4049 40008=4049 40009=197 40010=90 40011=35 40012=107 40013=140 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=46 40023=21 40024=8 40025=75 40026=9452 40027=9467 40028=9627 40029=9475 40030=49969 40043=197595 brief= ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21256 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84760 kB Buffers: 0 kB Cached: 21256 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 14 09 27 09 22 09 1F 0F C7 0F D0 0F CC 0F CB 00 C7 00 5C 00 23 00 6D 00 8D 00 2C 00 15 00 08 00 48 FF F2 FF FB FF FE FF EB 00 2E 00 16 00 08 00 4C 24 FB 25 16 25 A2 25 15 C3 34 5D EB SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DC 00 03 7B 8C t=4655 iaddr=1 iext=0 40001=2324 40002=2343 40003=2338 40004=2335 40005=4039 40006=4048 40007=4044 40008=4043 40009=199 40010=92 40011=35 40012=109 40013=141 40014=44 40015=21 40016=8 40017=72 40018=65522 40019=65531 40020=65534 40021=65515 40022=46 40023=22 40024=8 40025=76 40026=9467 40027=9494 40028=9634 40029=9493 40030=49972 40043=50387971 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 18 09 26 09 23 09 20 0F CB 0F D1 0F CE 0F CE 00 C3 00 5C 00 23 00 6C 00 89 00 2B 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 DD 25 13 25 62 24 FB C3 33 90 6E SEND: 01 03 00 2A 00 02 E5 C3 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21256 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84760 kB Buffers: 0 kB Cached: 21256 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 16 09 25 09 22 09 1F 0F C7 0F CE 0F CD 0F CC 00 C1 00 5E 00 23 00 6B 00 86 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EC 00 2D 00 16 00 08 00 4B 24 CD 25 05 25 7B 24 F0 C3 41 3E 8F SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DD 00 03 2A 4C t=4655 iaddr=1 iext=0 40001=2326 40002=2341 40003=2338 40004=2335 40005=4039 40006=4046 40007=4045 40008=4044 40009=193 40010=94 40011=35 40012=107 40013=134 40014=42 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65516 40022=45 40023=22 40024=8 40025=75 40026=9421 40027=9477 40028=9595 40029=9456 40030=49985 40043=64815107 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 16 09 24 09 21 09 1F 0F C6 0F CD 0F CD 0F CB 00 C4 00 5C 00 23 00 6B 00 8B 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EC 00 2E 00 15 00 08 00 4B 24 E2 24 F7 25 9C 24 FC C3 3E A4 82 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DD 00 03 2A 4C t=4655 iaddr=1 iext=0 40001=2326 40002=2340 40003=2337 40004=2335 40005=4038 40006=4045 40007=4045 40008=4043 40009=196 40010=92 40011=35 40012=107 40013=139 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65516 40022=46 40023=21 40024=8 40025=75 40026=9442 40027=9463 40028=9628 40029=9468 40030=49982 40043=64815107 brief= ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21256 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84760 kB Buffers: 0 kB Cached: 21256 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1A 09 2A 09 26 09 23 0F CE 0F D6 0F D3 0F D3 00 C2 00 5B 00 23 00 6A 00 88 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 15 00 08 00 4B 24 DF 25 1A 25 A4 25 05 C3 2F CC 3B SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DD 00 03 2A 4C t=4655 iaddr=1 iext=0 40001=2330 40002=2346 40003=2342 40004=2339 40005=4046 40006=4054 40007=4051 40008=4051 40009=194 40010=91 40011=35 40012=106 40013=136 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=21 40024=8 40025=75 40026=9439 40027=9498 40028=9636 40029=9477 40030=49967 40043=0 brief= SEND: 01 03 00 00 00 1E C5 C2 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 84984 kB Buffers: 0 kB Cached: 21264 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21264 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1E 09 2B 09 20 09 23 0F D0 0F D6 0F D0 0F D2 00 C2 00 5B 00 23 00 6B 00 8A 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 15 00 08 00 4B 24 D8 24 EC 25 90 24 F2 C3 71 23 CE SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DE 00 03 DA 4C t=4655 iaddr=1 iext=0 40001=2334 40002=2347 40003=2336 40004=2339 40005=4048 40006=4054 40007=4048 40008=4050 40009=194 40010=91 40011=35 40012=107 40013=138 40014=43 40015=20 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=21 40024=8 40025=75 40026=9432 40027=9452 40028=9616 40029=9458 40030=50033 40043=0 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 19 09 2A 09 26 09 23 0F CE 0F D5 0F D3 0F D2 00 C2 00 5C 00 23 00 6B 00 89 00 2B 00 14 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 D7 24 F4 25 9D 24 F4 C3 70 9D 8D SEND: 01 03 00 2A 00 02 E5 C3 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 84984 kB Buffers: 0 kB Cached: 21264 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21264 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 17 09 2B 09 27 09 23 0F CE 0F D6 0F D3 0F D2 00 C1 00 5F 00 23 00 6C 00 86 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 DF 25 3B 25 9A 25 0F C3 4F 48 A6 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DE 00 03 DA 4C t=4655 iaddr=1 iext=0 40001=2327 40002=2347 40003=2343 40004=2339 40005=4046 40006=4054 40007=4051 40008=4050 40009=193 40010=95 40011=35 40012=108 40013=134 40014=42 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=22 40024=8 40025=75 40026=9439 40027=9531 40028=9626 40029=9487 40030=49999 40043=197598 brief= SEND: 01 03 00 00 00 1E C5 C2 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21264 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21264 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 19 09 25 09 22 09 20 0F CB 0F D0 0F CD 0F CD 00 C1 00 5C 00 23 00 6A 00 87 00 2A 00 14 00 08 00 46 FF F2 FF FB FF FE FF EB 00 2D 00 15 00 08 00 4B 24 CA 25 08 25 85 24 F0 C3 32 CA 3D SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 DF 00 03 8B 8C t=4655 iaddr=1 iext=0 40001=2329 40002=2341 40003=2338 40004=2336 40005=4043 40006=4048 40007=4045 40008=4045 40009=193 40010=92 40011=35 40012=106 40013=135 40014=42 40015=20 40016=8 40017=70 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=21 40024=8 40025=75 40026=9418 40027=9480 40028=9605 40029=9456 40030=49970 40043=197 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1A 09 27 09 24 09 22 0F CE 0F D2 0F CF 0F D0 00 C0 00 58 00 23 00 69 00 88 00 2A 00 13 00 08 00 45 FF F2 FF FB FF FE FF EB 00 2D 00 15 00 08 00 49 24 C8 24 CC 25 8A 24 DF C3 33 B2 1D SEND: 01 03 00 2A 00 02 E5 C3 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85012 kB Buffers: 0 kB Cached: 21264 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21264 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 20 09 2C 09 23 09 25 0F D5 0F D9 0F D3 0F D6 00 C0 00 60 00 23 00 6B 00 84 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 CD 25 37 25 88 25 00 C3 31 42 F2 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 E3 00 03 4B 80 SEND: 01 03 00 2C 00 02 05 C2 RECV: 01 03 04 00 00 00 00 FA 33 t=4655 iaddr=1 iext=0 40001=2336 40002=2348 40003=2339 40004=2341 40005=4053 40006=4057 40007=4051 40008=4054 40009=192 40010=96 40011=35 40012=107 40013=132 40014=42 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=22 40024=8 40025=75 40026=9421 40027=9527 40028=9608 40029=9472 40030=49969 40043=197 40045=0 brief= SEND: 01 03 00 00 00 1E C5 C2 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 84984 kB Buffers: 0 kB Cached: 21268 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 84732 kB Buffers: 0 kB Cached: 21268 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 15 09 29 09 24 09 21 0F CB 0F D4 0F CD 0F CF 00 C2 00 5C 00 23 00 6B 00 88 00 2B 00 15 00 08 00 47 FF F2 FF FB FF FE FF EC 00 2D 00 16 00 08 00 4B 24 E8 25 2B 25 8C 25 0D C3 2D 61 CC SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 E5 00 03 AB 81 SEND: 01 03 00 2C 00 02 05 C2 RECV: 01 03 04 00 00 00 00 FA 33 t=4655 iaddr=1 iext=0 40001=2325 40002=2345 40003=2340 40004=2337 40005=4043 40006=4052 40007=4045 40008=4047 40009=194 40010=92 40011=35 40012=107 40013=136 40014=43 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65516 40022=45 40023=22 40024=8 40025=75 40026=9448 40027=9515 40028=9612 40029=9485 40030=49965 40043=197605 40045=0 brief= SEND: 01 03 00 00 00 1E C5 C2 ^C [root@M28x NandFlash]# ./sscomx Input the com prot: ttySP4 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/ttySP4, 9600, n, 8, 1 for hex send: 01 04 00 2A 00 04 D0 01 no data receive! send: 01 03 00 2A 00 04 65 C1 rece: 01 03 08 03 EA 00 03 00 00 00 00 DA 0C send: ^[[A no data receive! send: 01 03 00 2A 00 04 65 C1 rece: 01 03 08 03 EA 00 03 00 00 00 00 DA 0C send: 01 03 00 2A 00 04 65 C1 rece: 01 03 08 03 EA 00 03 00 00 00 00 DA 0C send: 01 03 00 2A 00 04 65 C1 rece: 01 03 08 03 EA 00 03 00 00 00 00 DA 0C send: ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85676 kB Buffers: 0 kB Cached: 21268 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 85424 kB Buffers: 0 kB Cached: 21268 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1D 09 22 09 2B 09 24 0F D1 0F D3 0F D6 0F D3 00 C2 00 5D 00 23 00 6B 00 87 00 2B 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 D2 25 1F 25 91 24 FD C3 2D 8E 44 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 F2 00 03 1B 85 SEND: 01 03 00 2C 00 02 05 C2 RECV: 01 03 04 00 00 00 00 FA 33 t=4655 iaddr=1 iext=0 40001=2333 40002=2338 40003=2347 40004=2340 40005=4049 40006=4051 40007=4054 40008=4051 40009=194 40010=93 40011=35 40012=107 40013=135 40014=43 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=22 40024=8 40025=75 40026=9426 40027=9503 40028=9617 40029=9469 40030=49965 40043=50393603 40045=0 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1F 09 22 09 27 09 23 0F D1 0F D3 0F D3 0F D2 00 C3 00 5D 00 23 00 6C 00 88 00 2B 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 D2 25 19 25 7A 24 F9 C3 2D 68 26 SEND: 01 03 00 2A 00 02 E5 C3 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85648 kB Buffers: 0 kB Cached: 21268 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 85424 kB Buffers: 0 kB Cached: 21268 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 22 09 2A 09 22 09 25 0F D5 0F D9 0F D2 0F D5 00 C0 00 5E 00 23 00 6B 00 85 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 D0 25 3B 25 A1 25 06 C3 68 83 E7 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 F4 00 03 FB 84 SEND: 01 03 00 2C 00 02 05 C2 RECV: 01 03 04 00 00 00 00 FA 33 t=4655 iaddr=1 iext=0 40001=2338 40002=2346 40003=2338 40004=2341 40005=4053 40006=4057 40007=4050 40008=4053 40009=192 40010=94 40011=35 40012=107 40013=133 40014=42 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=22 40024=8 40025=75 40026=9424 40027=9531 40028=9633 40029=9478 40030=50024 40043=197620 40045=0 brief= SEND: 01 03 00 00 00 1E C5 C2 ^C [root@M28x NandFlash]# ./omDemo1 4655 1 0 0 0 ttySP4:9600,n,8,1 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 85648 kB Buffers: 0 kB Cached: 21268 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 5668 KB !!!MemVsz change: 1036 KB SMxxx: Type=4655 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=ttySP4:9600,n,8,1 Type=4655 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1e030 CSerCom InitCom: 1f0d0 1 CSerCom UpdParams: ComPort: ttySP4, 0, 0 CSerCom::Open: /dev/ttySP4,9600,8,N,0 set serial done+! ttySP4:9600,n,8,1[100004] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 85396 kB Buffers: 0 kB Cached: 21268 kB start SMxxx->DataGet ... SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1F 09 2A 01 03 3C 09 1F 09 26 09 23 09 22 0F D0 0F D5 0F CF 0F D1 00 C0 00 5E 00 23 00 6B 00 85 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 C9 25 29 25 75 24 F8 C3 4F B0 08 SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 1F 09 26 09 23 09 23 0F D1 0F D6 0F D0 0F D2 00 C0 00 5E 00 23 00 6B 00 86 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 D2 25 21 25 A5 25 00 C3 4F 9B 69 SEND: 01 03 00 2A 00 02 E5 C3 RECV: 01 03 04 03 F4 00 03 FB 84 SEND: 01 03 00 2C 00 02 05 C2 RECV: 01 03 04 00 00 00 00 FA 33 t=4655 iaddr=1 iext=0 40001=2335 40002=2342 40003=2339 40004=2339 40005=4049 40006=4054 40007=4048 40008=4050 40009=192 40010=94 40011=35 40012=107 40013=134 40014=42 40015=21 40016=8 40017=71 40018=65522 40019=65531 40020=65534 40021=65515 40022=45 40023=22 40024=8 40025=75 40026=9426 40027=9505 40028=9637 40029=9472 40030=49999 40043=50394115 40045=0 brief= SEND: 01 03 00 00 00 1E C5 C2 RECV: 01 03 3C 09 20 09 25 09 1F 09 21 0F CE 0F D3 0F CC 0F CF 00 C0 00 5D 00 23 00 6B 00 86 00 2A 00 15 00 08 00 47 FF F2 FF FB FF FE FF EB 00 2D 00 16 00 08 00 4B 24 CB 25 1B 25 90 24 F8 C3 4C 41 34 SEND: 01 03 00 2A 00 02 E5 C3 ^C [root@M28x NandFlash]# ./sscomx Input the com prot: ttySP4 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/ttySP4, 9600, n, 8, 1 for hex send: 01 03 02 00 00 02 C5 B3 rece: 01 03 04 08 EB 08 ED 4F EA send: 01 03 00 2A 00 02 E5 C3 rece: 01 03 04 03 F7 00 03 0B 84 send: 01 03 00 00 01 20 45 82 rece: 01 03 40 09 15 09 1C 09 29 09 1E 0F C4 0F C9 0F CF 0F C9 00 BF 00 5C 00 23 00 6A 00 84 00 2A 00 14 00 08 00 46 FF F2 FF FB FF FE FF EC 00 2C 00 16 00 08 00 4A 24 CF 25 22 25 A2 24 FE C3 62 00 02 01 CA 09 1C 00 03 00 09 00 68 00 30 00 2B 00 1F 00 00 00 00 00 00 04 0C 00 03 00 00 00 00 00 00 00 00 E0 24 00 00 00 2A 00 15 00 07 00 47 00 C1 00 5E 00 22 00 6B 09 5E 04 B2 00 B6 09 DD 05 3C 29 47 29 68 29 A2 29 70 01 DD 00 E7 00 57 01 09 09 64 00 00 00 11 00 CE 00 00 02 1B 00 00 00 00 00 00 21 12 03 15 21 48 00 00 00 00 01 0E 21 11 25 15 16 41 01 04 21 11 19 19 59 12 00 44 21 11 25 15 16 45 00 89 21 11 25 15 16 40 00 2C 21 12 01 20 58 10 00 15 21 12 01 15 34 10 00 09 21 11 23 19 49 10 00 49 21 12 01 20 58 10 00 C9 21 12 02 16 09 10 00 61 21 12 01 15 34 10 00 2A 21 11 23 19 51 10 00 6F 21 12 01 17 09 10 09 64 21 send: 01 03 00 2A 00 08 65 C4 rece: 12 02 03 24 08 09 69 21 11 20 01 39 17 09 71 21 11 20 01 39 17 09 69 21 11 20 01 39 17 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 94 00 00 C9 99 00 00 DB DC 00 00 E3 5F 00 00 69 A4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 0C 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 0C 00 03 00 00 00 00 00 00 00 00 00 00 00 00 11 94 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C9 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 DB DC 00 00 00 00 00 00 90 79 00 01 EF 30 00 00 D6 15 01 03 10 04 0D 00 03 00 00 00 00 00 00 00 00 E0 24 00 00 59 97 send: 01 03 00 2A 00 08 65 C4 rece: 01 03 10 04 0D 00 03 00 00 00 00 00 00 00 00 E0 24 00 00 59 97 send: 01 03 00 2A 00 08 65 C4 rece: 01 03 10 04 0D 00 03 00 00 00 00 00 00 00 00 E0 24 00 00 59 97 send: 01 03 00 2A 00 08 65 C4 rece: 01 03 10 04 0D 00 03 00 00 00 00 00 00 00 00 E0 24 00 00 59 97 send: