hi,
I am using Qnx4.25 on SCM 7026(a motherboard produced by shengbo in China). The motherboard can provide 6 serial port. Port 1,2 are original and the port 3-6 are extended port.
I have found the extended port(3-6) use the shared interrupt number 11 So I write the following sentenses to start the extended port in file--/etc/config/sysinit.1
/bin/Dev.ser -N/dev/ser3 D000,11 &
/bin/Dev.ser -N/dev/ser4 D008,11 &
/bin/Dev.ser -N/dev/ser5 D010,11 &
/bin/Dev.ser -N/dev/ser6 D018,11 &
but the system is crashed. when I load one port, such as only one sentence
/bin/Dev.ser -N/dev/ser3 D000,11 &
the serial port 3 can work well. who can tell me why?
thanks...
Thank you for Jutta Steinhoff's answer.
回复删除You can't share interrupts throughout multiple instances of Dev.ser.
A correct start should be: /bin/Dev.ser 3f8,4 2F8,3 D000, 11 D008,11
D010,11 D018,11 &
3F8, 2F8 are the default IO port addresses of ser1, ser2 ...
Best Regards
Armin Steinhoff
-
Armin Steinhoff
STEINHOFF Automation & Fieldbus-Systems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TEL +49-6431-529366 http://www.steinhoff-automation.com
FAX +49-6431- 57454 http://www.DACHS.info