Crossworks for ARM - Multicore

Comments

6 comments

  • Avatar
    Markus

    Never tried with the STM, but generally it is working like you can see in this video:

    https://www.youtube.com/watch?v=A7Q4ofe0Rxs

    The Problem is the support from Segger, the JLink has no native multicore support. The only option is to open Crossworks twice and connect separately to each core.

    You could also use a Crossconnect adapter or CMSIS-DAP to use the multicore support within a single instance of crossworks (like shown in the video).

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    The STM32H747I_DISCOVERY Board Support Package has a Dual Core Sample that works with the on-board ST-LINK/V2.

    As Markus points out there is no multicore support with the SEGGER J-Link.

    0
    Comment actions Permalink
  • Avatar
    Joe

    Thanks -- My first question is how you get TWO projects ( ARM M7) and (ARM M4) in to Crossworks?

    I'll work on the debugging / Segger -- after I can compile and link two project together.

    The video just showed him loading a sample project that had two already implemented.

    How to start from scratch and add another project?

    Thanks

     

    0
    Comment actions Permalink
  • Avatar
    Markus

    Just add an additional Project to your existing solution via File --> New Project …

    If you have configured one project for each core in your solution, do not forget to alter the Memory-Map-File for the M4 core, so that the Code is placed in the second memory bank. The Code of the M7 stays in the first memory bank.

    0
    Comment actions Permalink
  • Avatar
    Joe

    Last followup question

    STM32CubeIDE can use the STLink and debug both cores.

    Does Crossworks have the ability to debug both cores using STLink?

    0
    Comment actions Permalink
  • Avatar
    Markus

    As Michael wrote:

    „The STM32H747I_DISCOVERY Board Support Package has a Dual Core Sample that works with the on-board ST-LINK/V2”

    So the answer should be yes.

    0
    Comment actions Permalink

Please sign in to leave a comment.