How to view the CPU usage, and FLASH usage in FreeRTOS in STM32H745 discovery board using STM32Cube IDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-01 7:03 AM
Hello Support Team,
Currently, I am working with FreeRTOS and using STM32cube IDE.
I have created two tasks in my FreeRTOS-based application.
I need to require the below data using STM32 cube IDE when both tasks are in a running state.
Both tasks are running in CORE-M7.
i) CPU utilization(for particular CORE-M7)
ii) RAM Usage
iii)FLASH usage
Ex. In Linux, we easily view the particular process CPU usage and memory.
Could we do the same thing for a particular CORE-M7 in STM32 cube IDE?
Let me know how to achieve this in STM32Cube IDE for FreeRTOS.
Or, Required any plugins for this give all steps for how to add plugins and use them.
Hardware and Software Details:
1) Hardware :
- STM32H745 Discovery board.
2) Software :
- STM32cube IDE Version: 1.8.0
- OS - Windows OS(Windows 10)
Thanks In Advance..
Solved! Go to Solution.
- Labels:
-
FreeRTOS
-
STM32CubeIDE
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-16 11:02 PM
Some comments:
- CPU usage can be measured with FreeRTOS Task list view. You need to instrument FreeRTOS to use a timer. Read the User guide UM2609, chapter 6.2.1 (FreeRTOS - Requirements)
- RAM usage: If you are referring to stack usage for the task, then also read the same chapter and rely on FreeRTOS Task list view.
- Flash usage: Check the Build analyzer view or the map-file. It can show you how much flash is used (at compile-time).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-03 1:57 AM
Hello Team,
I work on one project where I really want to know what is the CPU usage of Core M7, RAM, and FLASH size for a specific task (RTOS task) and based on I have to take further decisions.
I am really waiting for the replay of my queries.
Your reply is really helping full for me.
Your earlier replay is highly appreciatable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-10 5:55 AM
Hi @HPate.10​ ,
May be the post RTOS debug with STM32CubeIDE created by @mattias norlander​ will help you.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-16 11:02 PM
Some comments:
- CPU usage can be measured with FreeRTOS Task list view. You need to instrument FreeRTOS to use a timer. Read the User guide UM2609, chapter 6.2.1 (FreeRTOS - Requirements)
- RAM usage: If you are referring to stack usage for the task, then also read the same chapter and rely on FreeRTOS Task list view.
- Flash usage: Check the Build analyzer view or the map-file. It can show you how much flash is used (at compile-time).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-08 7:12 AM
Hi,
I have followed the User guide for my existing project, but without the chapter 6.2.1.2 - Add to registry. When I try to compile I get an error in file tasks.c:
Is this error due to the fact I do not add queues and semaphores to registry or related to something else ?
Thanks for your help
