[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] UARTLite at 115200



Hi Shamile,

Shamile Khan wrote:
> Just wanted to confirm if you are using and measured the throughput of
> Uartlite at 115200 KBPS. I only changed the parameter C_BAUDRATE to
> 115200 and I can only get upto around 17000 KBPS. Is there anything I am
> missing?

How have you measured the throughput?  I've seen similar things when, 
say using XMD to download binary files onto the board.  The effective 
baudrate is much lower than the "physical" rate.

I think this is because the uartlite has only 16 character tx/rx buffers 
- meaning that it's pretty tough for software to keep up without 
especially the RX buffer over flowing.  The protocol used by xmd to 
communicate with xmdstub has a resync command - i suspect that several 
"resync" and other commands get sent for every word of "real" data.

Now that the uclinux shell is up, I'm trying to get something like a 
zmodem program working as a means of pulling large files (ie kernel and 
filesystem images) over the serial port.  I've successfully built the 
lrzsz package for microblaze uclinux, but haven't got it going yet.

Cheers,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/