[DUPLICATE] RISC-V hart selection

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

  • [DUPLICATE] RISC-V hart selection

    Hello,

    at the time being Segger JLink always selects hart #0 when it comes to RISC-V debugging.
    I'm trying to debug SiFive U54-MC processor that has 5 hearts and this is a very unfortunate limitation from Segger.

    I tried selecting the hart manually, after the link is established, by programming the needed hartsel in the dmcontrol register using the JLink scripting language, but it looks like with every operation that the debugger does (like stepping, reading/writing memory, refreshing registers, etc.) JLink sets the hartsel to 0 again. Therefore it's not possible to debug the needed core even if I selected it manually :(

    Is there a way to disable this somehow or there is a way to provide the hart ID for JLink to use?
    If no, are there any plans on adding this feature someday?

    Sincerely,
    Maxim.
  • Thread closed because same request was also issued via the support system.
    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.