OS : QNX ver 7.0
My board has two gpio pins configured as UART2
GPIO_PX_0 UART TX Address : 0xe500
GPIO_PX_0 UART RX Address : 0xe508
Port X address : 0x20080
Now I want to create a serial device file using command : devc-ser8250 [options] [port[^shift][,irq]] &. to be configured at 115200 baud rate.
Which options should i use with devc-ser8250 command to that my serial device file maps to above mention GPIO pins and PORT address?
Also how do I check if the data is being transmitted on the GPIO pins or not. ?
How do we check device tree in QNX and all the address and status of GPIO pins in QNX ?