Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Serial Communication between two CPU's: Page 1 of 29 (29 Items)
   
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.