This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is this the full content for ROV?

Hi,

I run RTOS UART example projects on TM4C1294 LaunchPad. On RTOS 2.14 user guide, it says it can view so many value/contents:

5.12.7.2 ROV
The UART driver provides ROV information through the UART module. All UARTs that have been
created are displayed by their base address and show the following information:
• Configuration parameters:
— Base Address
— Write Mode
— Read Mode
— Write Timeout
— Read Timeout
— Write Data Mode
— Read Data Mode
— Read Return mode
— Read Echo
• Write buffer: Contents of the write buffer
• Read buffer: Contents of the read buffer

I have enabled instrument to RTOS, but the ROV doesn't look like having the above contents. Please see the screen shot:

The project is uartconsole_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT. I don't see such things:

— Write Data Mode

— Read Data Mode

— Read Return mode

— Read Echo

• Write buffer: Contents of the write buffer

• Read buffer: Contents of the read buffer

on ROV. Could you see the problem?

Thanks,

  • Some documents say about turn on diags_USER1 and diags_USER2. Although they are turned on in the .cfg file, they are still off at ROV/UART. 

    Please see the attached picture.

    Is it correct or not?

    Thanks,

  • I just notice that for other modules, such as task and timer, Module__diagsEnabled is non zeros, such as task:

    Module__diagsEnabled,144

    Module__diagsIncluded,912

    while for UART, it is 0

    Module__diagsEnabled,0

    Module__diagsIncluded,0

    In the echo function, there is UART read and write loop:

        while (1) {
            UART_read(uart, &input, 1);
            GPIO_toggle(Board_LED0);
            UART_write(uart, &input, 1);
        }
    

    The previous 'diagsEnabled' and 'diagsIncluded' are 0. Does it matter?

    Thanks

  • It is found that diags_USER1 cannot be set to ON, because it will generate an error:

    Description Resource Path Location Type
    ti.drivers.UART/common$: 'diags_USER1' is sealed .xdchelp /uartecho_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT line 129 C/C++ Problem

    Please see the picture:

    Why does it have such as error?

    Thanks,

  • Hi Robert,

    The DIAGS mask do not impact ROV. ROV directly reads data structures on the target. The Diags mask are used to enable/disable logging of the module.

    We need update our documentation. We removed much of the ROV functionality from the drivers. There were some accuracy/support issues that we were having a hard time resolving for ROV. So we removed most of the items listed in the documentation. Note: the issues were with ROV getting the data, not the actual target code.

    Todd