<?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>topic Re: The application can no longer enter interrupts when using printf in main() to print a message. in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878877#M4575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the only difference what I can identify is that you are using older version of PE Micro debug plugin. On third screenshot I can see gdbjtag.ppc_1.7.2 . On my machine is latest version - 1.8.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68738i4075465584858FEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to update your PE Micro debug plugin -&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-342273"&gt;https://community.nxp.com/docs/DOC-342273&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2019 09:29:53 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2019-03-26T09:29:53Z</dc:date>
    <item>
      <title>The application can no longer enter interrupts when using printf in main() to print a message.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878873#M4571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm now having a problem when using printf in the main function.&lt;BR /&gt;I do observe the messsage from the console.&lt;BR /&gt;And the INTVEC is updated，but&amp;nbsp; the&amp;nbsp; interrupts can no longer be entered.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="INTC.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72279i4ECE3159BC5B7412/image-size/large?v=v2&amp;amp;px=999" role="button" title="INTC.png" alt="INTC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without using the printf,&amp;nbsp; the interrupts work well.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I configured my project as the follows.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="semihosting.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72490i22919EF1A835D29E/image-size/large?v=v2&amp;amp;px=999" role="button" title="semihosting.png" alt="semihosting.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any connection between the printf and the interrupts?&lt;/P&gt;&lt;P&gt;How can I use the printf&amp;nbsp; correctly without affecting the interrupts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best regards!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Laura&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2019 12:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878873#M4571</guid>
      <dc:creator>liuww_fnst</dc:creator>
      <dc:date>2019-03-21T12:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: The application can no longer enter interrupts when using printf in main() to print a message.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878874#M4572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laura,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for report, I can reproduce your issue. I'll do more investigation and hope will be back with solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2019 14:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878874#M4572</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-03-21T14:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: The application can no longer enter interrupts when using printf in main() to print a message.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878875#M4573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured out, that my issue is related to MPC5748G only (there is the same Z4 core). I did some test with MPC5744P - and there is no issue - at least with pll + interrupt example with added semihosting console support:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65777iA15213D297893C06/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share your project?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2019 13:38:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878875#M4573</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-03-25T13:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: The application can no longer enter interrupts when using printf in main() to print a message.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878876#M4574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Hi Jiri,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;I have also tried the&amp;nbsp;&lt;/SPAN&gt;pll + interrupt example . The same issue happened.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The changes I made are as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1.Libraries support&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66179i271EFB084A41D1DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2. semihosting support&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66305i7A8CFB6F3EE12CC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;3. Printf function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65780iED0CA43FDD514CFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but as you see the application just can't stop at the breakpoint in the PIT0_isr&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Is there anything wrong with my changes above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best regards!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Laura&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 01:23:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878876#M4574</guid>
      <dc:creator>liuww_fnst</dc:creator>
      <dc:date>2019-03-26T01:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: The application can no longer enter interrupts when using printf in main() to print a message.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878877#M4575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the only difference what I can identify is that you are using older version of PE Micro debug plugin. On third screenshot I can see gdbjtag.ppc_1.7.2 . On my machine is latest version - 1.8.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68738i4075465584858FEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to update your PE Micro debug plugin -&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-342273"&gt;https://community.nxp.com/docs/DOC-342273&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 09:29:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878877#M4575</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-03-26T09:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: The application can no longer enter interrupts when using printf in main() to print a message.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878878#M4576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/liuww.fnst@cn.fujitsu.com"&gt;liuww.fnst@cn.fujitsu.com&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Jiri is right, you have to update P&amp;amp;E plugin. They have fixed this issue since version 1.7.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 15:57:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878878#M4576</guid>
      <dc:creator>alexanderfedoto</dc:creator>
      <dc:date>2019-03-26T15:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: The application can no longer enter interrupts when using printf in main() to print a message.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878879#M4577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I updated&amp;nbsp;the&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; PE Micro debug plugin and now it works well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Best regards!&lt;/P&gt;&lt;P style="border: 0px;"&gt;Laura&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 02:51:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/The-application-can-no-longer-enter-interrupts-when-using-printf/m-p/878879#M4577</guid>
      <dc:creator>liuww_fnst</dc:creator>
      <dc:date>2019-03-27T02:51:48Z</dc:date>
    </item>
  </channel>
</rss>

