I am having trouble getting the serial console up and running on my WGU624 (running VxWorks /Nucleus /Delta Networks code). Console TXD is working, but console RCV is a problem. I have verified, using OCD Commander, that I can strobe characters into the on-chip UART, but I am not able to kick off an ISR to service the device. I have tried to reenable the UART FIFO, UART Rcv Data Irq - and this will set the MISC UART0 bit in the ISR [0xbc003010 = 0x10], but the interupt never gets serviced.
Here are the control areas (which I believe are OS agnostic) -
>word 0xbc003000 0x38 - AR5312_SYSREG_Base
BC003000: CE62DCEF FFFFFFFF 00000000 00000000
BC003010: 00000040 00000000 00000029 00000000
BC003020: 00000000 00000000 00000000 00000000
BC003030: 00000007 00000000 00000000 00000000
BC003040: 00000000 00000000 00000000 00000000
BC003050: 00000000 00000000 00000000 00000000
BC003060: 0000000F 00000B15 10000010 0D1CEF00
BC003070: 00000000 00000000 00000000 00000000
BC003080: 0000001F 00000000 00000000 00000000
BC003090: 00005742 00000000 00000000 00000000
BC0030A0: 00000000 00000000 00000000 00000000
BC0030B0: 00000002 00000000 00000000 00000000
BC0030C0: 00000000 00000000 00000000 00000000
BC0030D0: 00000000 00000000 00000000 00000000
>word 0xbc000000 0x8 - AR5312_UART0_Base
BC000000: 00000000 00000000 00000001 00000003
BC000010: 00000000 00000060 00000000 00000000
>word 0xbc002000 0x8 - AR5312_GPIO_BASE
BC002000: 00000000 00000F00 00000040 00030FFF
BC002010: 00000000 00000000 00000000 00000000
>word 0xbc004000 0x18 -AR5312_UARTDMA_BASE
BC004000: FF7FFEFF 7FEFFFFF 00020000 00000000
BC004010: 00000000 00000000 00000000 00000000
BC004020: FFFFDFB8 7FFFFD1C 00020000 00000000
BC004030: 00000000 00000000 000FFFFF 00000000
BC004040: 00000000 0000001F 00000000 00000000
BC004050: 00000000 00000000 00000000 00000000
[I must say that OCD Commander is a pretty nifty tool. Kudos to Macraigor Systems for making this tool available.]
Without a serial console (and a reliable JTAG recovery mechanism) I am reluctant to flash the firmware.
Any ideas?
-nih
(Last edited by nih on 27 Jan 2007, 13:48)