I am using MQX 4.0.2 on M4 core of Vybrid SOM with Linux running on A5 core.
I modified mqx/examples/hello to write to "ttya:".
In DS-5 debugger, when fopen( ttya:, default mode) call gets to _kuart_change_baudrate() and I step over C4 register read, nothing more happens. C4 read is:
sci_ptr->C4 &= (~ UART_C4_BRFA_MASK);
I verified read problem by first running:
uint8_t c4 = sci_ptr->C4;
sci_ptr value is 0x40047000, which looks right. I don't know what happened to the task, I'm new to MQX and DS-5.
Does anyone know what I can look at to troubleshoot this?
#define BSPCFG_ENABLE_TTYA 1
#define BSPCFG_ENABLE_ITTYA 0
char const * const deviceSci0 = "ttya:";
hndSCI0 = fopen( deviceSci0, BSP_DEFAULT_IO_OPEN_MODE );