[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] lsz works only with text files
Hi Claudio,
Claudio Lanconelli wrote:
> I tried with another COM port on the same PC and now it works!! The
> first COM was on
> a PCI add on card, while the second COM is integrated on the motherboard.
Interesting...
> I suspect the point is the uartlite frequency on my spartan3 is not 100%
> correct.
> Xuartlite doesn't ROUND the calculated ratio, instead it TRUNCATE:
>
[snip]
> Would it be better to change xuartlite to round instead of truncate??
>
> Something like:
> constant RATIO : integer := ( C_CLK_FREQ + 8 * C_BAUDRATE) / (16 *
> C_BAUDRATE);
I thought there used to be something like this in the uartlite, take a
look at the baudrate.vhd file in the opb_uartlite core directory:
There's a parameter C_INACCURACY - it's presently ignored, but I thought
in days gone past, Goran had a tricky little circuit that could make
arbitrarily accurate baudrate clocks. Strange..
Cheers,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/