Raj Vardhan
|
Serial Communication between two CPU's
|
Raj Vardhan
11/18/2010 6:18 AM
post75059
|
Serial Communication between two CPU's
We have a dual board Machine. One of the board gets connected to the network using a LAN wire and the other board gets
connected to the first board using serial communication(COM port).
We have an existing code in QNX 6.2 which is
io-net -dspeedo -dfd fd=/dev/ser1,mac=000102030405,ahdlc -ptcpip
ifconfig en1 / netmask 255.255.255.252
Now we are porting it to QNX 6.5.0
I am trying to create a serial communication like above in QNX 6.5.
I wrote the code
io-pkt-v4-hc -d/lib/dll/devnp-speedo.so -d/lib/dll/devnp-shim.so /lib/dll/devn-fd.so fd=/dev/ser1,mac=000102030405,adhlc
-ptcpip
But the above command throws and error. IT says unable to init the devnp-shim driver. I am new to QNX and i am stuck
with this serial communication problem for the last 3 weeks. I tried almost everything that is available on the internet
but nothing seems to work. We have a release deadline on next tuesday for this. I have ported everything except this
serial communication between these 2 boards is not working. Please help me in solving this.
|
|
|