Jul 30, 2020
03:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 30, 2020
03:10 AM
Hi everyone,
Is it possible to display the execution time of sections of code within DAVE 4 ?
For example the time to execute a function.
Thank you very much
PHAB
Is it possible to display the execution time of sections of code within DAVE 4 ?
For example the time to execute a function.
Thank you very much
PHAB
- Tags:
- IFX
5 Replies
Jul 31, 2020
07:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 31, 2020
07:53 AM
You can toggle an output at start and end of your code. This way you can measure with a scope how long it takes.
good luck.
good luck.
Jul 31, 2020
10:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 31, 2020
10:16 AM
Hi,
I would recommend the following post at interrupt memfault blog, https://interrupt.memfault.com/blog/profiling-firmware-on-cortex-m
Regards,
Jesus
I would recommend the following post at interrupt memfault blog, https://interrupt.memfault.com/blog/profiling-firmware-on-cortex-m
Regards,
Jesus
Aug 02, 2020
11:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 02, 2020
11:30 PM
Jesus, thanks for the blog link. Have you tried this method on the Infineon XMC parts ?
NIcky, thanks for the suggestion, it's exactly what I do normally. It's very reliable but means modifying code with the risk of forgetting to delete it prior to code release and it finding it's way into production.
Best regards
PHAB
NIcky, thanks for the suggestion, it's exactly what I do normally. It's very reliable but means modifying code with the risk of forgetting to delete it prior to code release and it finding it's way into production.
Best regards
PHAB
Aug 17, 2020
01:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 17, 2020
01:52 AM
The cycle counter is an standard feature of all ARM Cortex-M4, therefore all XMC4 support it.
For XMC1 you can go with the system timer which runs at the same frequency as the CPU, although it is "only" 24bit timer.
For XMC1 you can go with the system timer which runs at the same frequency as the CPU, although it is "only" 24bit timer.
Aug 18, 2020
12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 18, 2020
12:13 AM
Thanks Jesus.