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

[microblaze-uclinux] UART and IRQ



Hi all,
I'm working on Xilinx ML300 board that provides two serial interfaces.
I'm trying to use both serials: the first one for console and the second 
one for debug. In addition, I use opb_mdm core as hw debugger.
When uClinux boots, on the console I see strange characters such as:

<KC

and other more complex characters.

Some questions:
1) In xparameters.h I see 3 UART peripherals, one of which represents 
the jtag UART usage of the mdm. Can this cause some problems on 
interrupt management?
2) I've instantiated an emac core (INT #3). Can this cause some problems 
on interrupt management too?

In my system.mhs I see:

BEGIN opb_intc
  PARAMETER INSTANCE = opb_intc_0
  PARAMETER HW_VER = 1.00.c
  PARAMETER C_BASEADDR = 0xFFFF3000
  PARAMETER C_HIGHADDR = 0xFFFF30FF
  BUS_INTERFACE SOPB = mb_opb
  PORT Intr = Ethernet_MAC_IP2INTC_Irpt & debug_uart_Interrupt & 
RS232_Uart_1_Interrupt & opb_timer_1_Interrupt
  PORT Irq = Interrupt
END

So, I think interrupt concatenation is right, isn't it?

I'm sure that my address mapping is correct, so the problem is not there.

Any suggestion?


Regards,
Pizza


PS: what about debugging with gdb? Which should be the right steps I've 
to follow?

-----------------------------------------
Luca Pizzamiglio
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 Milano
e-mail pizzamiglio@cefriel.it
Tel.   02 2395 4236
ICQ    5046978
-----------------------------------------
___________________________
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/