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.

Sys/Bios Behind The Scenes - Any High Priority Tasks?

Hello,

Say I want to create a single task in Sys/Bios that would never get interrupted - I mean never.  Let's assume that I haven't intentionally created any HWIs or SWIs or any other higher priority tasks.  Yes, I realize this defeats the purpose of having an RTOS in the first place.

However, the question I'm really trying to answer is, when does all this nifty logging and debugging code run (IE - load logging, task logging, application logging - calls to functions like Log_info0())?  Does it all get updated in the idle task and thrown into the buffers on the processor, or is there some cyclical update that happens behind the scenes through JTAG that would interrupt this theoretical Sys/Bios task?  Other than disabling the clock module, are there any other debugging features that I would need to disable to prevent the task from getting interrupted?

Thanks.

Brian Sarvis

 

Sys/Bios 6_33_05_46

XDC 3_23_03_53

CCS Version: 5.2.1.00018

  • Brian,

    There is no high priority task running otherwise it would be intrusive to your application.  The idle task (which is created as the lowest possible priority task) is the only task created by BIOS.  Typically your app or BIOS would call LOG_print which prints to some internal buffer.  Now depending on what sort of RTA mode you have been setup with, you will either see this when you halt the processor or while it is running.  We call it "Stop mode" if you only get the log prints when the processor is halted.  In "stop mode" RTA, there is no intrusive interrupt firing behind the scenes.  This is why you only get updates when the processor is halted.

    Now if you were configured with RTDX and getting real-time updates then the idle thread does do some work that will cause the host to interrupt the processor. BTW, RTDX is not only supported in BIOS 5 and not supported in BIOS 6 so this should not affect you.

    http://processors.wiki.ti.com/index.php/Adding_RTA_to_Your_SYS/BIOS_Application

    Judah

  • Thanks again, Judah.

    Brian