HI
Have been jumping around in several different doc's on the topic, but fail to get an overview. partly due to soooo many broken links in the documentations.
Can you please help me get an overview of my options.
I have some C code running on a f28279D.
We use a simple barebone IRQ based scheduling, no RTOS.
We have the issue that the code on our fast task is taking too long. and want to extract some profilling data, to get an idea of where the performance issues is hottest.
As far as I can gather the f28279D doers not have any hardware support for this.
I have read some of the "System Analyzer User’s Guide", but as far as I understand this only works if you are using TI-RTOS.
Another challenge on profiling our code is that large chunk of the "fast task" is code generated by Matlab/Simulink and comes as more ore less one huge function. So a standard profile would just tell us that we use a lot of time (80-90%) in this one function, not very surprising but also not very helpful.
Will the xds560 trace thing provide any help on this MCU?
Summary: I would prefer to have HW tracing on the F28279D, but profiling based on some code instrumentation is also feasible. Currently I am down to flipping an available I/O and measure time on oscilloscope but that is a quite slow process.
What are my options?