<?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: Switch debug console non-blocking to blocking in hardfault in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1802264#M55351</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;can you tell us the part number you are using?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 03:03:55 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2024-02-06T03:03:55Z</dc:date>
    <item>
      <title>Switch debug console non-blocking to blocking in hardfault</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1800948#M55330</link>
      <description>&lt;P&gt;I am using the non-blocking configuration of the debug console (DEBUG_CONSOLE_TRANSFER_NON_BLOCKING) because I need to be able to poll for input without blocking.&amp;nbsp; However, I would like to output information from my hardfault handler.&amp;nbsp; Is there a way within the debug console to cause buffered output to be transferred out of the debug console UART while in a hardfault (which blocks interrupts)?&amp;nbsp; In previous projects, I have directly called the UART's ISR until the output buffer was empty, but it seems like there should be a way to do it within the fsl_debug_console library.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 15:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1800948#M55330</guid>
      <dc:creator>LarryZ</dc:creator>
      <dc:date>2024-02-02T15:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Switch debug console non-blocking to blocking in hardfault</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1801308#M55332</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that the hardfault event is not an interrupt event, it is an exception event, I suppose that you can not output char in the ISR of hardfalut via uart.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2024 04:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1801308#M55332</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-02-04T04:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Switch debug console non-blocking to blocking in hardfault</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1801863#M55341</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 13:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1801863#M55341</guid>
      <dc:creator>LarryZ</dc:creator>
      <dc:date>2024-02-06T13:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Switch debug console non-blocking to blocking in hardfault</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1802264#M55351</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;can you tell us the part number you are using?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 03:03:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1802264#M55351</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-02-06T03:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Switch debug console non-blocking to blocking in hardfault</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1802679#M55358</link>
      <description>&lt;P&gt;It's a&amp;nbsp;LPC55S69JBD64K.&lt;/P&gt;&lt;P&gt;And, just to be clear, the solution of calling the interrupt handler has the desired effect, it just feels like a bit of a kludge so I would prefer to use a method built into the fsl debug console library.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 13:00:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1802679#M55358</guid>
      <dc:creator>LarryZ</dc:creator>
      <dc:date>2024-02-06T13:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Switch debug console non-blocking to blocking in hardfault</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1802680#M55359</link>
      <description>Right - it's an exception, which means interrupts are not allowed. I know I can call FLEXCOMM7_DriverIRQHandler() every mS or so (I am using Flex Comm 7 for the console port), but I was hoping there might be an official way to do it within the FSL library.</description>
      <pubDate>Tue, 06 Feb 2024 13:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Switch-debug-console-non-blocking-to-blocking-in-hardfault/m-p/1802680#M55359</guid>
      <dc:creator>LarryZ</dc:creator>
      <dc:date>2024-02-06T13:02:00Z</dc:date>
    </item>
  </channel>
</rss>

