<?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>S32KのトピックRe: S32K144 Failed to read registers while debugging using J-Link</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1573983#M19626</link>
    <description>&lt;P&gt;Hi&amp;nbsp;EMB02,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sorry for the inconvenience we bring you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please use CLOCK_DRV_Init instead of&amp;nbsp;CLOCK_SYS_Init and&amp;nbsp;CLOCK_SYS_UpdateConfiguration. For more detail please refer to the discussion in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-SDK/SDK-problem-in-S32-Design-Studio-for-ARM-2-2/m-p/986190" target="_blank"&gt;https://community.nxp.com/t5/S32-SDK/SDK-problem-in-S32-Design-Studio-for-ARM-2-2/m-p/986190&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;BR /&gt;If still not work, please attach your test project.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 03:04:36 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2022-12-23T03:04:36Z</dc:date>
    <item>
      <title>S32K144 Failed to read registers while debugging using J-Link</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1573661#M19617</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm debugging S32K144 using&amp;nbsp;J-Link segger in S32DS. I've configured pin no 7 of PORT C as output using Processor expert.&lt;/P&gt;&lt;P&gt;If I'm using driver function - PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);&lt;/P&gt;&lt;P&gt;then I'm getting WARNING: Failed to read memory @ address 0x4004B000.&lt;/P&gt;&lt;P&gt;And if I'm using code without using utility (processor expert config) then I'm able to toggle GPIO.&lt;/P&gt;&lt;P&gt;But still failed to read registers using Jlink.&lt;/P&gt;&lt;P&gt;Please find below attachments and help me with this.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;EMB02&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 12:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1573661#M19617</guid>
      <dc:creator>emb02</dc:creator>
      <dc:date>2022-12-22T12:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Failed to read registers while debugging using J-Link</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1573983#M19626</link>
      <description>&lt;P&gt;Hi&amp;nbsp;EMB02,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sorry for the inconvenience we bring you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please use CLOCK_DRV_Init instead of&amp;nbsp;CLOCK_SYS_Init and&amp;nbsp;CLOCK_SYS_UpdateConfiguration. For more detail please refer to the discussion in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-SDK/SDK-problem-in-S32-Design-Studio-for-ARM-2-2/m-p/986190" target="_blank"&gt;https://community.nxp.com/t5/S32-SDK/SDK-problem-in-S32-Design-Studio-for-ARM-2-2/m-p/986190&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;BR /&gt;If still not work, please attach your test project.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 03:04:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1573983#M19626</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-12-23T03:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Failed to read registers while debugging using J-Link</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574552#M19650</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your reponse.&lt;/P&gt;&lt;P&gt;I've used functions&amp;nbsp;&lt;SPAN&gt;CLOCK_SYS_Init and&amp;nbsp;CLOCK_SYS_UpdateConfiguration for testing S32K148 development board and was able to read registers but now I'm not getting any value in register while debugging S32K144.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've used&amp;nbsp;&lt;SPAN&gt;CLOCK_DRV_Init instead of&amp;nbsp;CLOCK_SYS_Init and&amp;nbsp;CLOCK_SYS_UpdateConfiguration but still it's not working.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm sending my test project please find it in attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using S32DSv2.2 but I'm not able to select SDKv3.0.3 please guide me further.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;EMB02&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 09:20:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574552#M19650</guid>
      <dc:creator>emb02</dc:creator>
      <dc:date>2022-12-26T09:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Failed to read registers while debugging using J-Link</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574567#M19653</link>
      <description>&lt;P&gt;I am able to read the value of PORTC when debug your project with J-Link:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PORTC debug J-Link.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205456i19DA5990D75D2B8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="PORTC debug J-Link.png" alt="PORTC debug J-Link.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PORTC debug J-Link.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I can see that you configure the &lt;STRONG&gt;PTC7&lt;/STRONG&gt; as GPIO output, but don't know why you toggle &lt;STRONG&gt;PTC17&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PTC7 or PTC17.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205454iD75AADAB4EFF4D27/image-size/large?v=v2&amp;amp;px=999" role="button" title="PTC7 or PTC17.png" alt="PTC7 or PTC17.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PTC7 or PTC17.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;By the way, the PTC7 is UART_TX of OpenSDA.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PTC7 UART_TX S32K144EVB.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205455i62608796A2555569/image-size/large?v=v2&amp;amp;px=999" role="button" title="PTC7 UART_TX S32K144EVB.png" alt="PTC7 UART_TX S32K144EVB.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PTC7 UART_TX S32K144EVB.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 10:01:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574567#M19653</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-12-26T10:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Failed to read registers while debugging using J-Link</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574600#M19656</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;-&amp;gt;&amp;nbsp;&lt;SPAN&gt;I can see that you configure the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PTC7&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;as GPIO output, but don't know why you toggle&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PTC17&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've corrected this but still not working as&lt;SPAN&gt; I'm not getting valid clock in our board in which we are using internal oscillator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; static inline bool SCG_GetSoscStatus(const SCG_Type* const base)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please provide setting for internal clock configuration ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;EMB02&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 11:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574600#M19656</guid>
      <dc:creator>emb02</dc:creator>
      <dc:date>2022-12-26T11:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Failed to read registers while debugging using J-Link</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574717#M19659</link>
      <description>&lt;P&gt;Since you do not have an external clock, please refer to the figure below to cancel the settings of the SOSC_CLK and SPLL_CLK, and use FIRC_CLK clock the Core.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FIRC S32K144.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205491i439AC571F6D68C86/image-size/large?v=v2&amp;amp;px=999" role="button" title="FIRC S32K144.png" alt="FIRC S32K144.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;FIRC S32K144.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 00:59:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574717#M19659</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-12-27T00:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Failed to read registers while debugging using J-Link</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574782#M19661</link>
      <description>Thank you it's working.</description>
      <pubDate>Tue, 27 Dec 2022 04:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Failed-to-read-registers-while-debugging-using-J-Link/m-p/1574782#M19661</guid>
      <dc:creator>emb02</dc:creator>
      <dc:date>2022-12-27T04:18:48Z</dc:date>
    </item>
  </channel>
</rss>

