Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

How-to SMP

09-Jun-2023

How to know if you have an SMP?

  • Are multiple cores handled by the OS?
  • Is the application running on multiple cores?

In this case, you would define one application and one memory space which would be assigned to the SMP binding.


Examples of hybrid SMP/AMP and pure SMP:




General

  • A typical use case requirement is that the cores run synchronously, i.e. when one core hits a breakpoint, the other cores stop as well. Configure via Hardware / CPU Options / Debugging / Synchronize selected cores (stop/run) when possible.
    • ARM Cortex-M - Cross-trigger channels 0 and 1 (Hardware / CPU Options / SoC page) are used for core synchronization.

Tracing and profiling

Core selection

You can select which cores from the SMP configuration will be used for tracing via Analyzer / Analyzer Configuration / Profiler / Core selection.

  • If an application runs on 2 cores, you have to configure SMP and you will also see 2 cores in Profiler configuration.
  • If you have two applications each running on a separate core, core selection does not matter since you have only one core per application.

Infineon TriCore
  • If you have a TC3xx production device, you have to define a custom trigger to limit the resources used by miniMCDS (supported on the majority of devices)
  • On the TC3xx production device, you can trace only 1 core at a time, but because the timing messages are also recorded, these messages fill up the trace buffer before the core1 is started. If you want to record anything on core1, you have to run the application up to the point where core1 is started and only then run a trace and then run CPU.


More resources:

Was this answer helpful?

Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!