Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Sys/BIOS RTA on MSP430F5324 refuses to work.

$
0
0

Mohammed,

I tweaked around with a TI-RTOS example to enable CPU load logging with UIA. I've attached a .cfg file that worked for me with my example. In my example, I had only one task going to sleep every 10ms.

(Please visit the site to view this file)

Here were a few things that I found I had to change to get the CPU load to show up in the LoggingSetup.

  • The Power module removed (disabled)
  • The Task module needs to have the Idle task enabled (default)
  • I used the following BIOS setup. Note that I have BIOS logs enabled.
var BIOS = xdc.useModule('ti.sysbios.BIOS'); BIOS.libType = BIOS.LibType_Custom; BIOS.swiEnabled = false; BIOS.logsEnabled = true; BIOS.assertsEnabled = false;
  • I used the following LoggingSetup to show the CPU load. Note that I have loadLogging = true.
var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup'); LoggingSetup.loadLogging = true; LoggingSetup.sysbiosTaskLogging = false; LoggingSetup.sysbiosTaskLoggingRuntimeControl = false;

Note that a lot of these settings can be configured using the graphical LoggingSetup pages.

I'd also suggest to check ROV's Load module and see that you are getting a decent CPU load there before you try displaying the CPU load values in the Live Logs or the CPU graph.


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>