Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - memory mapped devc-ser8250: (3 Items)
   
memory mapped devc-ser8250  
HI 
I am having to get working a versalogic VL-MPEe-U2 serial port. it is a minipcie quad serial card with XR17V354 UART.

This device is memory mapped , not i/o mapped.

in the last generic  BSP for x86 i found a devc-ser8250 that can work with io mapped devices, but only i can make work 
the frst port.

if i type devc-ser8250 -m [address], [IRQ]
i get /dev/ser3 ( the board have 2 more integrated serial ports).

i tried it making a loopback and using qtalk. for some strange reason it only works to 9600. after that i receive 
garbage.

when i try starting the other ports the driver hangs
devc-ser8250 -m -u3 [address],[IRQ]  -u4 [address+8 ],[IRQ] -u5 [address+16],[IRQ] -u6 [address+24],[IRQ]



Re: memory mapped devc-ser8250  
I solved it looking at the datasheet for xr17v358

teh ofsset between ports is not 8 as i've seen on other boards, is 400 Now the card is working.

I have only the issue of the speed. it works ok until 9600. at faster speeds i get garbage
Re: memory mapped devc-ser8250  
What's the interface clock to the controllers? The driver assumes the 8250's 1.843 MHz clock. Try setting the "-c clock[
/divisor]" argument to the driver with the appropriate value.

Regards,

Anas