Hi, I am new in using QNX 7.1 on Zynq 7020. I am able to view the bootloader and QNX OS power on traces to /dev/ser1 (UART0) through serial terminal TeraTerm. I was able to use /dev/ser1 to type commands and see the responses. I also able to write/output application software to output to /dev/ser1 and see in TeraTerm. My question is how to disable QNX receiving inputs to allow application to receive? Thanks
Hi,
There are a couple ways I used to do this (as I recall). The quick and dirty way is I guess to simply slay and restart the serial driver (in rc.local in my case). Or slay the shell that has opened /dev/ser1 so that your application can grab it.
It’s been a while since I played with this stuff but that’s how I think I did it (I’d have to look at the old code to confirm). In my case I was working with the Xilinx MPSoC’s (ZCU102, ZCU111, ZCU104, and Mercury XU1). Eventually we implemented FPGA emulations of the Intel 68550 UART and forgot all about the on-board UART’s. To do this I had to build my own 68x50 serial driver though.
Geoff.