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.

Console has incomplete content

Hi,

When I run a sample project of BIOS user guide on Tiva-C 1294 LauchPad, RTOS 2.14, the console has incomplete content. Please see the picture below.

The console should have these:

myRegister1: assigned hookSet Id = 0
myRegister2: assigned hookSet Id = 1
Starting SwiHookExample...

The code has no problem because these contents are shown in ROV SysMin. I don't know what configuration can has these show up.

This PC has CCS6.1

Thanks,

  • I have my TM4C129 LaunchPad setup and Ihave installed TI RTOS 2.14 for TM4C. I would like to try to reproduce this. Which example are you using? I found a SWI one but it is not the same as the one you are using.  I can't seem to find one called SwiHookExample.  Did you get to it from ResourceExplorer?

    John

  • Hi Robert,

    I expect you have SysMin as your System Provider. You can confirm by looking in the .cfg file for the following:

    System.SupportProxy = SysMin;

    With SysMin, the System_printf output is stored in an internal buffer until System_flush or BIOS_exit (and you have BIOS_exit set to flush the output) is called. If the internal buffer is full, the new data over-writes the old data. You can fix this by

    1. Making the internal buffer bigger (SysMin.bufSize = 2048; // default is 1024).

    2. Call System_flush periodically

    3. Output less data

    Note: when CCS is attached and you are using SysMin, the System_flush might cause CCS to halt the target to read the data. So if real-time is important, I'd go for option 1 or 3.

    There is a nice write-up of the different System Providers in the TI-RTOS User Guide.

    Todd