<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32 Design Studio中的主题 S32DS ARM debugging stuck with Segger J-Link</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-debugging-stuck-with-Segger-J-Link/m-p/1610282#M9841</link>
    <description>&lt;P&gt;1. Background&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; a. MCU: SKEAZ128, IDE: S32 DS ARM&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; b. I have my own project that has been working on S32DS ARM with PE multilink universal.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; c. I need to use Segger J-Link probe for my advanced code development within same development env. i.e. S32DS ARM and the same project.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; d. I verified that my S32DS ARM works with Segger J-Link for hello_kea128 project brought from "S32DS Project from example". The R15(PC) =&amp;nbsp;0x000004E8.&lt;/P&gt;&lt;P&gt;2. Issue&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; a. My S32 DS ARM with Segger J-Link for my project does not run as it runs well with PE multilink universal probe.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; b. PC register when debug starts for my project with Segger J-link had had R15(PC) = FFFFFFFE until I did check "initialize registers on start", but R15(PC) = 000004E8 since I did uncheck the&amp;nbsp;"initialize registers on start" in the Debug Configuration. And no matter check/uncheck the&amp;nbsp;"initialize registers on start", the R15(PC) = 000004E8. The R15(PC) I got console while launching debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; c. Debugging stuck at [0x00000000:&amp;nbsp;stc2l 15, cr1, [r0, #-1020]! ; 0xfffffc04] when I start with&amp;nbsp;checking "initialize registers on start", however debugging stuck at [0x0000004EB: cpsid i]&amp;nbsp;when I start with unchecking "initialize registers on start".&lt;/P&gt;&lt;P&gt;Please let me know if I need to initialize PC, MSP, and more registers when startup, and how to do if necessary. Moreover why is it working without the initialization when I debug with PE multilink universal probe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2023 22:58:28 GMT</pubDate>
    <dc:creator>uzza9</dc:creator>
    <dc:date>2023-03-06T22:58:28Z</dc:date>
    <item>
      <title>S32DS ARM debugging stuck with Segger J-Link</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-debugging-stuck-with-Segger-J-Link/m-p/1610282#M9841</link>
      <description>&lt;P&gt;1. Background&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; a. MCU: SKEAZ128, IDE: S32 DS ARM&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; b. I have my own project that has been working on S32DS ARM with PE multilink universal.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; c. I need to use Segger J-Link probe for my advanced code development within same development env. i.e. S32DS ARM and the same project.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; d. I verified that my S32DS ARM works with Segger J-Link for hello_kea128 project brought from "S32DS Project from example". The R15(PC) =&amp;nbsp;0x000004E8.&lt;/P&gt;&lt;P&gt;2. Issue&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; a. My S32 DS ARM with Segger J-Link for my project does not run as it runs well with PE multilink universal probe.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; b. PC register when debug starts for my project with Segger J-link had had R15(PC) = FFFFFFFE until I did check "initialize registers on start", but R15(PC) = 000004E8 since I did uncheck the&amp;nbsp;"initialize registers on start" in the Debug Configuration. And no matter check/uncheck the&amp;nbsp;"initialize registers on start", the R15(PC) = 000004E8. The R15(PC) I got console while launching debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; c. Debugging stuck at [0x00000000:&amp;nbsp;stc2l 15, cr1, [r0, #-1020]! ; 0xfffffc04] when I start with&amp;nbsp;checking "initialize registers on start", however debugging stuck at [0x0000004EB: cpsid i]&amp;nbsp;when I start with unchecking "initialize registers on start".&lt;/P&gt;&lt;P&gt;Please let me know if I need to initialize PC, MSP, and more registers when startup, and how to do if necessary. Moreover why is it working without the initialization when I debug with PE multilink universal probe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 22:58:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-debugging-stuck-with-Segger-J-Link/m-p/1610282#M9841</guid>
      <dc:creator>uzza9</dc:creator>
      <dc:date>2023-03-06T22:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS ARM debugging stuck with Segger J-Link</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-debugging-stuck-with-Segger-J-Link/m-p/1610324#M9842</link>
      <description>&lt;P&gt;3. Updates&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 3.1. The debugging is working if I Set program counter: 0x0000 24ea as workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This is because the forced PC skipping&amp;nbsp;&lt;SPAN&gt;[cpsid i] at 0x0000 24e8. A weird is that the [cpsid] was at&amp;nbsp;0x0000004EB before setting program counter: 0x0000 24ea.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Please refer to screen captures.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;However, definitely this is not a appropriate fix. Any comment will be appreciated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 23:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-debugging-stuck-with-Segger-J-Link/m-p/1610324#M9842</guid>
      <dc:creator>uzza9</dc:creator>
      <dc:date>2023-03-06T23:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS ARM debugging stuck with Segger J-Link</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-debugging-stuck-with-Segger-J-Link/m-p/1622639#M9945</link>
      <description>&lt;P&gt;The problem has been fixed when create new project from scratch.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 13:41:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-debugging-stuck-with-Segger-J-Link/m-p/1622639#M9945</guid>
      <dc:creator>uzza9</dc:creator>
      <dc:date>2023-03-27T13:41:40Z</dc:date>
    </item>
  </channel>
</rss>

