Crossworks 3.7 consistently crashing when debugging

Comments

9 comments

  • Avatar
    Markus

    Is the IDE also crashing with the most reasoned Version of Crossworks?

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Could be unhandled dwarf debugging data - if you zip and attach the .elf file I'll have a look

    0
    Comment actions Permalink
  • Avatar
    James Carter

    Markus - Yes I've tried the trial version of v4 and it also crashes in this.

    Michael - Not too familiar with how the SWD data is parsed and what is transmitted in this protocol - so I will ZIP and example elf when I'm at my dev machine for you to take a look - many thanks for your help.

    I am able to debug by using F9 to set breakpoints and F5 until those are reached, when stepping over or out of lines however it will just collapse with no warning, although it does this most often when stepping over a curly brace, indicating stepping out of a method, or to the start of a for/while loop.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    The dwarf data is the stuff the compiler generates that the debugger has to interpret - I suspect it's a problem in this area.

    0
    Comment actions Permalink
  • Avatar
    James Carter

    Hi Michael, You can find the ELF here: https://drive.google.com/file/d/1JeSQ5tCdnjigezHgG114Rkjb5B5UVkBK/view?usp=sharing

    Thanks for any assistance.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Hi James,

    Which device are you using?

    Regards

    Michael

    0
    Comment actions Permalink
  • Avatar
    James Carter

    Hi Michael - I am using the XMC4300 from Infineon on their Relax development kit board. Crossworks has a sample solution in it's templates for this particular chip/dev board.

    Cheers,
    James

    0
    Comment actions Permalink
  • Avatar
    James Carter

    I did have this problem with a chip from Nordic Semiconductors nRF52840 (also Cortex-M4), I believe earlier this year, but it wasn't as critical there as I was only testing an issue with the code as opposed to writing a new application.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    I can download and step etc at assembly code level - do you have a watch window open - if so what are you watching?

    0
    Comment actions Permalink

Please sign in to leave a comment.