Other Parts Discussed in Thread: DA8XX
Tool/software: Linux
Hi,
Irritating problem in getting UART0 out (and in).
Mux should be ok in da850.c: MUX_CFG(DA850, UART0_RXD, 3, 16, 15, 2, false), MUX_CFG(DA850, UART0_TXD, 3, 20, 15, 2, false)
board-da850-evm.c:
static struct davinci_uart_config da850_evm_uart_config __initdata = {
.enabled_uarts = 0x7,
....
/* Support for UART 0 */
ret = davinci_cfg_reg_list(da850_uart0_pins);
....
davinci_serial_init(&da850_evm_uart_config);
// __raw_writel(0, IO_ADDRESS(DA8XX_UART0_BASE) + 0x30);
# dmesg | egrep 'serial|ttyS'
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7
console [ttyS1] enabled
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7
Number of TX interrupts increment when I echo something to port:
# cat /proc/tty/driver/serial
0: uart:AR7 mmio:0x01C42000 irq:25 tx:201 rx:0
# echo -e -n 'hfjdsafjgdjfg' > /dev/ttyS0
# cat /proc/tty/driver/serial
0: uart:AR7 mmio:0x01C42000 irq:25 tx:214 rx:0
I've changed all possible flags with "stty" but still silence...
Something is missing, can someoneone see what??
BR, risto