Charles_1 Community Member

  • Member since Sep 12th 2024

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

  • Charles_1 -

    Replied to the thread [SOLVED] Issue Attaching to Running Program.

    Post
    Yes I can attach now, and the solution was to override the SetupTarget function in JlinkScript in the Ozone project file function: BeforeTargetConnect()
  • Charles_1 -

    Replied to the thread [SOLVED] Issue Attaching to Running Program.

    Post
    Ok, so I've been able to attach by using the SetupTarget function: int SetupTarget() { // // We leave ths function empty here to skip the ECC RAM init for SystemView. // Otherwise the RTT buffer would be overwritten and SystemView will not…
  • Charles_1 -

    Replied to the thread [SOLVED] Issue Attaching to Running Program.

    Post
    I confirmed that it WFI=0 at startup and when in Idle task. But I found something that seems to be the answer (although still not working): Here wiki.segger.com/S32Kxxx at section Attach to debug session It says that for S32K chips, you cannot attach…
  • Charles_1 -

    Replied to the thread [SOLVED] Issue Attaching to Running Program.

    Post
    Some new information: I bypassed my freeRTOS scheduler start with a while(1) loop and I'm able to attach/play/pause/play again without issue. Is it possible this is specific to the freertos plugin?
  • Charles_1 -

    Replied to the thread [SOLVED] Issue Attaching to Running Program.

    Post
    Sorry my original post did not have values in the image. Here's some more information: It seems that I am able to attach, but it halts (even though I'm doing Attach to Running Program and not Attach and Halt. Then I hit step or play and I get the fault…
  • Charles_1 -

    Posted the thread [SOLVED] Issue Attaching to Running Program.

    Thread
    I'm having trouble with Attach to Running program in Ozone. I have a jLink Ultra+ and am using Ozone (v 3.36). I’m connecting to a S32K396 chip and Ozone works great when I Download & Reset Program, but When I Attach to Running Program, it almost…