Re: BSP support - UART

ba_f <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Am 2015-10-14 16:27, schrieb Martin Schröder:
> Am 14.10.2015 um 00:39 schrieb ba_f:
>> Hello Hackers,
>> 
>> 
>> I have a custom board with Zynq processor.
>> Unfortunately, it uses UART0 which produces only garbage.
>> (A lot of white spaces or tabs and single freak characters, if this is 
>> any help.)
>> 
>> My ZedBoard uses UART1 and Fiasco runs successfully on it.
>> 
>> I'm sure Zynq is proper configured on the new board, because the 
>> U-Boot output is displayed correctly.
>> But the Fiasco output then looks like a wrong baud-rate, or something.
>> With both boards i open console with:
>> picocom /dev/ttyACM0 -b 115200
> 
> 
> Looks like a wrong calculated divisor in the baudrate divider
> register. You should check the actual UART clock source and change the
> value in uart_cadence.cc accordingly: _regs-write<unsigned>(BAUDGEN,
> 50000000 / r / (div + 1));
> 
> 
> Martin
> 


Yes, u're right.
The clock was changed in the new project.



Thank You,

ba_f

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.