login as: root root@192.168.1.222's password: [root@OM-A6-T300A:~]# cd /NandFlash [root@OM-A6-T300A:NandFlash]# ps PID USER VSZ STAT COMMAND 1 root 1708 S init [5] 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 5 root 0 SW< [kworker/0:0H] 6 root 0 SW [kworker/u2:0] 7 root 0 SW [rcu_preempt] 8 root 0 SW [rcu_sched] 9 root 0 SW [rcu_bh] 10 root 0 SW [migration/0] 11 root 0 SW< [khelper] 12 root 0 SW [kdevtmpfs] 13 root 0 SW< [perf] 14 root 0 SW< [writeback] 15 root 0 SW< [crypto] 16 root 0 SW< [bioset] 17 root 0 SW< [kblockd] 18 root 0 SW< [ata_sff] 20 root 0 SW< [cfg80211] 21 root 0 SW< [rpciod] 22 root 0 SW [kswapd0] 23 root 0 SW [fsnotify_mark] 24 root 0 SW< [nfsiod] 61 root 0 SW [spi0] 67 root 0 SW< [ci_otg] 68 root 0 SW [cfinteractive] 69 root 0 SW [irq/220-mmc0] 70 root 0 SW [irq/47-2190000.] 72 root 0 SW [mxs_dcp_chan/sh] 73 root 0 SW [mxs_dcp_chan/ae] 78 root 0 SW< [ipv6_addrconf] 79 root 0 SW< [deferwq] 80 root 0 SW [irq/202-imx_the] 81 root 0 SW [ubi_bgt0d] 118 root 2836 S /sbin/udevd -d 144 root 0 SW [ubifs_bgt0_0] 437 messageb 2912 S /usr/bin/dbus-daemon --system 453 root 4668 S /usr/sbin/sshd 458 rpc 2196 S /usr/sbin/rpcbind 473 root 2724 S /sbin/syslogd -n -O /var/log/messages 476 root 2724 S /sbin/klogd -n 483 avahi 4108 S avahi-daemon: running [OM-A6-T300A.local] 484 avahi 3460 S avahi-daemon: chroot helper 488 root 4776 S /usr/sbin/ofonod 498 root 1948 S /usr/sbin/cron 506 root 2764 S {rmimages.sh} /bin/sh ./rmimages.sh 100 553 root 0 SW [kworker/u2:2] 618 root 16684 S ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub 684 root 15208 S ./omTray 710 root 2768 S {start_getty} /bin/sh /bin/start_getty 115200 ttymxc 711 root 2724 S /sbin/getty 38400 tty1 712 root 2724 S /sbin/getty -L 115200 ttymxc0 20682 root 0 SW [kworker/0:1] 22572 root 0 SW [kworker/0:0] 24430 root 0 SW [kworker/0:2] 24729 root 4796 R sshd: root@pts/0 24740 root 3000 S -sh 24757 root 1948 S /usr/sbin/cron 24758 root 4464 S /usr/bin/ntpdate cn.pool.ntp.org 24779 root 2592 S sleep 300 24795 root 2960 R ps [root@OM-A6-T300A:NandFlash]# ^C [root@OM-A6-T300A:NandFlash]# ls SM/ libomser-bak.so* omMonitor.ini SerialPortQuickDef.ini libomser-bak2.so* omOneNetPost* bak/ libomser-quick.so* omOneNetPost.ini dbCfg.db3 libomser.so omTray* dbData.db3 libomsm.so* omTray.ini dbLog.db3 libomsuw.so* omapp.conf hwtest* omApp.ini readme.txt hwtest.ini* omAppPost* sscomx* hwtestEx* omAppPost.ini tmp/ libomalm.so omAppSU* update_dbcfg_quick.sh libomdb.so* omAppSU.ini update_dbcfg_xxx_bak.sh* libomdev.so* omDemo1* www/ [root@OM-A6-T300A:NandFlash]# ./omDemo1 1314 29 0 0 0 RS485-2:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185616 kB MemAvailable: 209836 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: 8eb710 !!!MemVsz change: 128 KB !!!MemVsz change: 4916 KB !!!MemVsz change: 1248 KB SMxxx: Type=1314 Addr=29 Port=0 Tag1=0 Ext1=0 SerDef=RS485-2:9600,n,8,1 Type=1314 testSM SM=8ee3a8 CSerCom InitCom: 8ee518 1 CSerCom UpdParams: ComPort: RS485-2, 0, 0 CSerCom::Open: /dev/RS485-2,9600,8,N,0 set serial done+! RS485-2:9600,n,8,1[100002] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185248 kB MemAvailable: 209480 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0001 13:40:58 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0002 13:40:59 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0003 13:41:01 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0004 13:41:02 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0005 13:41:03 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0006 13:41:04 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 ^C [root@OM-A6-T300A:NandFlash]# ./omDemo1 1314 31 0 0 0 RS485-2:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185576 kB MemAvailable: 209808 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: 1d58710 !!!MemVsz change: 128 KB !!!MemVsz change: 4916 KB !!!MemVsz change: 1248 KB SMxxx: Type=1314 Addr=31 Port=0 Tag1=0 Ext1=0 SerDef=RS485-2:9600,n,8,1 Type=1314 testSM SM=1d5b3a8 CSerCom InitCom: 1d5b518 1 CSerCom UpdParams: ComPort: RS485-2, 0, 0 CSerCom::Open: /dev/RS485-2,9600,8,N,0 set serial done+! RS485-2:9600,n,8,1[100002] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185268 kB MemAvailable: 209504 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 1F 03 00 02 00 03 A7 B5 RECV: testSM-0001 13:41:24 RS485-2:9600,n,8,1 SEND: 1F 03 00 02 00 03 A7 B5 RECV: testSM-0002 13:41:26 RS485-2:9600,n,8,1 SEND: 1F 03 00 02 00 03 A7 B5 RECV: testSM-0003 13:41:27 RS485-2:9600,n,8,1 SEND: 1F 03 00 02 00 03 A7 B5 RECV: testSM-0004 13:41:29 RS485-2:9600,n,8,1 SEND: 1F 03 00 02 00 03 A7 B5 RECV: ^C [root@OM-A6-T300A:NandFlash]# ./omDemo1 1314 27 0 0 0 RS485-2:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185568 kB MemAvailable: 209804 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: 1624710 !!!MemVsz change: 128 KB !!!MemVsz change: 4916 KB !!!MemVsz change: 1248 KB SMxxx: Type=1314 Addr=27 Port=0 Tag1=0 Ext1=0 SerDef=RS485-2:9600,n,8,1 Type=1314 testSM SM=16273a8 CSerCom InitCom: 1627518 1 CSerCom UpdParams: ComPort: RS485-2, 0, 0 CSerCom::Open: /dev/RS485-2,9600,8,N,0 set serial done+! RS485-2:9600,n,8,1[100002] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185260 kB MemAvailable: 209496 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 1B 03 00 02 00 03 A6 31 RECV: 1B 03 06 00 10 00 03 00 00 A3 D6 testSM-0001 13:41:46 RS485-2:9600,n,8,1 SEND: 1B 03 00 02 00 03 A6 31 RECV: 1B 03 06 00 10 00 03 00 00 A3 D6 testSM-0002 13:41:47 RS485-2:9600,n,8,1 SEND: 1B 03 00 02 00 03 A6 31 RECV: 1B 03 06 00 10 00 03 00 00 A3 D6 testSM-0003 13:41:49 RS485-2:9600,n,8,1 SEND: 1B 03 00 02 00 03 A6 31 ^C [root@OM-A6-T300A:NandFlash]# ./omDemo1 1314 29 0 0 0 RS485-2:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185620 kB MemAvailable: 209856 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: a6b710 !!!MemVsz change: 128 KB !!!MemVsz change: 4916 KB !!!MemVsz change: 1248 KB SMxxx: Type=1314 Addr=29 Port=0 Tag1=0 Ext1=0 SerDef=RS485-2:9600,n,8,1 Type=1314 testSM SM=a6e3a8 CSerCom InitCom: a6e518 1 CSerCom UpdParams: ComPort: RS485-2, 0, 0 CSerCom::Open: /dev/RS485-2,9600,8,N,0 set serial done+! RS485-2:9600,n,8,1[100002] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185252 kB MemAvailable: 209488 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0001 13:44:18 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0002 13:44:20 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0003 13:44:21 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0004 13:44:22 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0005 13:44:24 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0006 13:44:25 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0007 13:44:26 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0008 13:44:27 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0009 13:44:29 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0010 13:44:30 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0011 13:44:31 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0012 13:44:33 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0013 13:44:34 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 ^C [root@OM-A6-T300A:NandFlash]# ./sscomx Input the com prot: RS485-2 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-2, 9600, n, 8, 1 for hex send: 1D 03 00 01 00 01 D7 96 rece: 1D 03 02 00 03 29 87 send: 1D 03 00 04 00 01 C7 97 rece: 1D 03 02 FF F7 69 F0 send: