[SOLVED] Debugging code for all three cores (A7_0,A7_1,M4)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Debugging code for all three cores (A7_0,A7_1,M4)

    We are using stm32mp157.
    [/quote]We have written code for all three cores (A7_0,A7_1,M4). Individually we are able to debug(with limitations), For final testing, we would like to debug one processor(one of the core) while other are running.


    How to load code to other cores to run/simulate the actual system.


    We are debugging only one core but others should be in running. How to load code and put them in the full run state for application testing.
    [/quote]
  • Hello,

    we received this inquiry via our support system in parallel.

    Here is the answer we provided via mail so if someone stumbles across this inquiry they can read the answer as well:

    Embedded Studio itself does not have extensive support for multi-core debugging.
    It is user responsibility to set up the target system to a working state, such as before the debug session is started or in a J-Link script file.
    The basic setup would be to load the code for all cores, e.g. program the memory with J-Link Commander or through ES if accessible,
    get the cores into running state, and then connect to the core to be debugged.
    If a reset or all cores is required or the other cores need to be
    restarted after debug start, this could be done in a J-Link script.

    To make sure no information is lost between the different channels that we have been contacted through this thread will be closed now.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.