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

Re: [microblaze-uclinux] UART and IRQ



aurash wrote:
> 
> Luca,
> 
> Sounds like you have a problem with your baud rate, can you print something first
> ? (without uClinux)
> I don't think you have 100Mhz on ML300 (if I remember correctly) it should be a
> 156Mhz (or 156/2) for the infiniband
> 
> check your MHS file - especially the section for DCM and UARTS for the opb_clock
> parameter
> but be careful to the opb_clock frequency
> in the original demo the oscillator used was 100Mhz and 66Mhz was synthesized with
> the DCM 66=100/3 *2
> 
> 
> 
> BEGIN opb_uartlite
>  PARAMETER INSTANCE = console_uart
>  PARAMETER HW_VER = 1.00.b
>  PARAMETER C_BAUDRATE = 57600
>  PARAMETER C_DATA_BITS = 8
>  PARAMETER C_USE_PARITY = 0
>  PARAMETER C_ODD_PARITY = 0
>  PARAMETER C_CLK_FREQ = 66_666_667
>  PARAMETER C_BASEADDR = 0xFFFF2000
>  PARAMETER C_HIGHADDR = 0xFFFF20FF
>  BUS_INTERFACE SOPB = d_opb_v20
>  PORT Interrupt = console_uart_interrupt
>  PORT OPB_Clk = sys_clk
>  PORT RX = console_uart_rx
>  PORT TX = console_uart_tx
> END
> 
> 
> same story for other peripherals like: memory controllers ethernet etc.
> Is looking like a HW problem but maybe I'm wrong...
> 
> Aurash

___________________________
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/