It could be useful for debugging to compare the contents of the UART registers after configuration by the Linux vs RTDM driver ?
I believe there's a tool somewhere (ioport) to access the ports directly. Get a 16550 datasheet to see what they mean. There are 8 registers, but you must set the bit 7 (DLAB) in register offset 3 to read the baud rate divisor in reg offsets 0 and 1. Be sure to clear it afterwards and have no activity on the serial line while doing this. Jeroen. 2016-08-24 23:11 GMT+02:00 Lennart Sorensen <[email protected]>: > On Wed, Aug 24, 2016 at 10:06:20PM +0200, Asutosh Satapathy wrote: >> Yes. The port works at 230400 in linux driver. I tested it using >> Cutecom/minicom. >> >> I am changing the baud base by the command as follows: >> sudo insmod ~/xen/linux-3.14.17/drivers/xenomai/serial/xeno_16550A.ko >> io=0x3f8 irq=4 baud_base=230400 > > And if all you change is that baud_base it works at 115200? > > You actually have a uart at the old ISA port numbers that supports high > baud rates? (I have seen this, but it isn't very common, so I figure > I would ask in case you copied that from an example and your uart is > actually at a different port). > > -- > Len Sorensen > > _______________________________________________ > Xenomai mailing list > [email protected] > https://xenomai.org/mailman/listinfo/xenomai _______________________________________________ Xenomai mailing list [email protected] https://xenomai.org/mailman/listinfo/xenomai
