No inherited component assigned (Runtime Counter LDD)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

No inherited component assigned (Runtime Counter LDD)

ソリューションへジャンプ
1,493件の閲覧回数
honghao
Contributor I

When I try to disable Use Tick Counter, i have to use LDD component. But i could not find the Runtime LDD component.

If i would like to use custom timer for Runtime Statistics,what am I supposed to do next?

pastedImage_2.pngpastedImage_1.png

ラベル(3)
タグ(3)
0 件の賞賛
返信
1 解決策
1,311件の閲覧回数
ErichStyger
Specialist I

1) I'm afraid that there are no LDD components available for S32

2) see 1)

3) You would have to configure and setup a timer with appropriate frequency (10x times the frequency of your tick timer interrupt frequency) and then use this as a timer base for performance counting. If time permits, I plan to write up an article on MCU on Eclipse | Everything on Eclipse, Microcontrollers and Software , but that would be for the MCUXpresso IDE and SDK, as this is what I'm currently using for my projects.

Additionally on any M4 you could use the Cycle Counter approach described in Performance and Runtime Analysis with FreeRTOS | MCU on Eclipse .

Or you could consider the approach described in Measure Time within a Task with xTaskGetTickCount() - FreeRTOS 

I hope this helps,

Erich

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,311件の閲覧回数
ErichStyger
Specialist I

first, I recommend that you switch to the non-tab view as this one is easier to use than the tabbed view (see Switching between ‘tabs’ and ‘no-tabs’ UI in Processor Expert | MCU on Eclipse ).

second: what IDE and target CPU are you using? the LDD components are not available for every CPU architecture. In that case, use the non-LDD one.

I hope this helps,

Erich

0 件の賞賛
返信
1,311件の閲覧回数
honghao
Contributor I

Thanks for your reply,take the informations as mentioned below for reference:

1.Target CPU:PS32K118UEX0MLUT on the S32K148EVB hardware platform;

2.IDE:S32 Design studio for ARM;

Here is the non-tab view of my configration:

pastedImage_34.png

Based on your answers,I have further more question:

1.Is the LDD components avaiable for my target CPU?

2.If the answer is positive,how to get the Legacy User Components?

3.If it's not avaiable,how to implement the Runtime Statistics function with my timebase?Since I have already read those related papers,and it's not helpful for my trouble.Here is the URL:

Performance and Runtime Analysis with FreeRTOS | MCU on Eclipse 

Better FreeRTOS Debugging in Eclipse | MCU on Eclipse 

Processor Expert Component Repositories | MCU on Eclipse 

I am really appreciate your help.

0 件の賞賛
返信
1,311件の閲覧回数
ErichStyger
Specialist I

Just in case:

this is for MCUXpresso and SDK, but with minor modifications should work for S32K too:

Implementing FreeRTOS Performance Counters on ARM Cortex-M | MCU on Eclipse 

I hope this helps,

Erich

0 件の賞賛
返信
1,312件の閲覧回数
ErichStyger
Specialist I

1) I'm afraid that there are no LDD components available for S32

2) see 1)

3) You would have to configure and setup a timer with appropriate frequency (10x times the frequency of your tick timer interrupt frequency) and then use this as a timer base for performance counting. If time permits, I plan to write up an article on MCU on Eclipse | Everything on Eclipse, Microcontrollers and Software , but that would be for the MCUXpresso IDE and SDK, as this is what I'm currently using for my projects.

Additionally on any M4 you could use the Cycle Counter approach described in Performance and Runtime Analysis with FreeRTOS | MCU on Eclipse .

Or you could consider the approach described in Measure Time within a Task with xTaskGetTickCount() - FreeRTOS 

I hope this helps,

Erich

0 件の賞賛
返信