Part Number: MSP432P401R
Tool/software: TI-RTOS
Hi all,
Can anyone give me some pointers for using Execution graph more effectively? I'm running into a few difficulties I hope you can help me work around.
Before I ask my questions, here is a typical Execution Graph I am seeing.
1. I create all RTOS object instances (HWIs, SWIs, Tasks, Clock Functions, Semaphores, Timers) dynamically. For each one I set the .instance->name field. Is there any way to get Execution Graph to use those names instead of the more cryptic names it uses [#Swi.2000348??? Hwi.ti_sysbios_family_arm_msp432_Timer_oneShotStub_E()?????]
Sure, these things can be decoded with enough digging through ROV etc. But why should I have to??
I have gone to the effort of giving these things names, and it would be great if Execution Graph could use them.
(BTW, What IS the .instance->name field for, if not for identifying objects in the RTOS tools???)
2. What does {unknown} correspond to? It appears the CPU is spending most of it's time there! How can I find out what the micro is really doing during these periods???
3. It seems that the units used by measurement markers (displayed top left oft he execution graph window) somehow track the units being used on the horizontal axis. And the units on the horizontal axis change as you zoom in and out. This can get annoying. At a high zoom level you might have 1645uSec between your markers, then as you zoom out you have 2mSec betweeny your markers and if you zoom out far enough you can have 0mSec between your markers, even though you didn't move your markers. Is there any way to make the units used by the markers independent of the horizontal axis. Or can I set up the markers to display as floats rather than ints? I've tried changing the properties of the horizontal axis, but that doesn't really help.....
3a. Can measurement markers be moved after being placed? Or is the only option to delete and reset?
4.Why does Execution Graph forget the position of the red cursor (placed when you click on the graph) as you zoom. If I place that cursor, I want to be able to zoom in/out around that location as far as I like. But the current behaviour is that the red cursor disappears each time you zoom in and if you click zoom again you zoom around center. When you have a long period of data, this gets you lost really quickly.
5. Is there a way to compress periods of data loss so that periods of real data appear close together. During debug I find I sometime run and pause execution multiple times. Given the relatively small amount of data that Execution Graph captures you end up with something like the picture below. Tiny bursts of data with huge gaps between (e.g. the execution graph above is what you get when you zoom into the far left edge of the execution graph below). Couple this with issue 4 above and you have a hard time nagivating around the data.
6. How do I clear the execution graph so that next time I run the micro I start with a blank slate (rather than something like the above with big gaps?)
7. Is there a way to have CCS remember my use of Execution Graph/CPULoad graph etc between debug sessions. It can be frustrating to start up all these tools again each time you compile.
7a. Why does it sometimes take 20sec or more for the Tools->RTOS Analyzer menu to pop out (CCS7)?
Thank you very much for your help!
Cheers
Julian