<?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: Loss of debug functions within MCUXpresso IDE in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1712522#M53941</link>
    <description>&lt;P&gt;Thank you &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We got the debugger to work again by upgrading to the newest IDE&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;MCUXpresso IDE v11.8.0 [Build 1165] &lt;FONT face="arial,helvetica,sans-serif"&gt;and then changing the workspace back to the original.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Your suggestion of turnin&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;g on the sys clock worked as well (with the change of LPC_ prefix).&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;LPC_SYSCON&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;SYSAHBCLKCTRL&lt;/SPAN&gt;&lt;SPAN&gt;|=(1&amp;lt;&amp;lt;6)|(1&amp;lt;&amp;lt;16)|(1&amp;lt;&amp;lt;19);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="4"&gt;Notes:&lt;/FONT&gt; the documentation in "pinint_8c_source.html" from our LPCopen download two years ago does not include this line.&lt;BR /&gt;this line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The example project from the same download would not work without additional hardware on the LPC11U68&amp;nbsp; test PCB.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;The user guide for the &lt;SPAN&gt;LPC11U68&lt;/SPAN&gt; chip also does not mention it.&amp;nbsp; We have not yet located the chip data sheet.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Problem solved.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;jDrum&lt;/FONT&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 28 Aug 2023 16:11:21 GMT</pubDate>
    <dc:creator>jDrum</dc:creator>
    <dc:date>2023-08-28T16:11:21Z</dc:date>
    <item>
      <title>Loss of debug functions within MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1711726#M53932</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using a LINK2 to debug a program for chip LPC11U68 on our own PCB.&amp;nbsp; The C program and the debugger software all functioned well yesterday.&amp;nbsp;&amp;nbsp; (I am in the process of trying to get a PIN (1_21) interrupt to work and invoke its interrupt handler ). Some of that code is shown below.&lt;/P&gt;&lt;P&gt;Today, the debug function compiles and loads the program, but the debug window remains empty instead of showing current status, etc. The console window shows "[MCUXpresso Semihosting Telnet console for 'L3M LinkServer Debug' started on port 51600 @ 127.0.0.1]".&lt;/P&gt;&lt;P&gt;The step and run keys and icons do not respond. For example F5 (step into) and F8 (continue) keys do not function.&amp;nbsp; However, control ^ F2 stops the debugger as advertised. &amp;nbsp; When reset, the program in the LPC11U68 runs OK except for the PIN INT code which I would like to debug.&lt;/P&gt;&lt;P&gt;The last thing I was doing before shutting down for the night was to look in the NVIC window in the peripherals window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Curiously, the GDB debugger functions still seem to operate correctly from the debugger console!&lt;/P&gt;&lt;P&gt;Do I need to reinstall the IDE?&lt;/P&gt;&lt;P&gt;The code that I am having problems with is:&lt;/P&gt;&lt;P&gt;void PIN_INT0_IRQHandler()&lt;BR /&gt;{&lt;BR /&gt;Chip_PININT_ClearIntStatus(LPC_PININT, PININTCH0);&lt;BR /&gt;CycleCount = 1;&lt;/P&gt;&lt;P&gt;} //PIN_INT0_IRQHandler()&lt;/P&gt;&lt;P&gt;//******************&lt;/P&gt;&lt;P&gt;// Phase Pin&lt;BR /&gt;Chip_IOCON_PinMuxSet(LPC_IOCON, 1, 21, (IOCON_FUNC0 ));&lt;BR /&gt;Chip_GPIO_SetPinDIRInput(LPC_GPIO, 1,21);&lt;BR /&gt;Chip_SYSCTL_SetPinInterrupt(0 , 1, 21);&lt;BR /&gt;Chip_PININT_EnableIntLow(LPC_PININT, PININTCH0);&amp;nbsp; // Falling edge&lt;BR /&gt;Chip_PININT_ClearIntStatus(LPC_PININT, PININTCH0);&lt;BR /&gt;NVIC_ClearPendingIRQ(PIN_INT0_IRQn);&lt;/P&gt;&lt;P&gt;then later:&lt;/P&gt;&lt;P&gt;NVIC_EnableIRQ(PIN_INT0_IRQn);&lt;/P&gt;&lt;P&gt;the IRQ handler is never called.&lt;/P&gt;&lt;P&gt;Thanks, jDrum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Aug 2023 03:20:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1711726#M53932</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2023-08-27T03:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of debug functions within MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1711850#M53935</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Firstly, pls restart your PC and load the MCUXPresso tools, then load a simple example for example toggle a LED with GPIO pin, can you debug or not?&lt;/P&gt;
&lt;P&gt;This is LPCOpen package for LPC11U68, you can download it:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc11xx:LPCOPEN-SOFTWARE-FOR-LPC11XX" target="_blank"&gt;https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc11xx:LPCOPEN-SOFTWARE-FOR-LPC11XX&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regarding your PINT0 configuration, I do not see the code to enable module gated clock for IOCON, GPIO and PINT.&lt;/P&gt;
&lt;P&gt;SYSCON-&amp;gt;SYSAHBCLKCTRL|=(1&amp;lt;&amp;lt;6)|(1&amp;lt;&amp;lt;16)|(1&amp;lt;&amp;lt;19);&lt;/P&gt;
&lt;P&gt;The line enable GPIO, IOCON and PINT gated clock, pls add it before you write register of above modules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it is helpful&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>Mon, 28 Aug 2023 03:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1711850#M53935</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-08-28T03:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of debug functions within MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1712522#M53941</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We got the debugger to work again by upgrading to the newest IDE&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;MCUXpresso IDE v11.8.0 [Build 1165] &lt;FONT face="arial,helvetica,sans-serif"&gt;and then changing the workspace back to the original.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Your suggestion of turnin&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;g on the sys clock worked as well (with the change of LPC_ prefix).&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;LPC_SYSCON&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;SYSAHBCLKCTRL&lt;/SPAN&gt;&lt;SPAN&gt;|=(1&amp;lt;&amp;lt;6)|(1&amp;lt;&amp;lt;16)|(1&amp;lt;&amp;lt;19);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="4"&gt;Notes:&lt;/FONT&gt; the documentation in "pinint_8c_source.html" from our LPCopen download two years ago does not include this line.&lt;BR /&gt;this line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The example project from the same download would not work without additional hardware on the LPC11U68&amp;nbsp; test PCB.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;The user guide for the &lt;SPAN&gt;LPC11U68&lt;/SPAN&gt; chip also does not mention it.&amp;nbsp; We have not yet located the chip data sheet.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Problem solved.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;jDrum&lt;/FONT&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Aug 2023 16:11:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1712522#M53941</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2023-08-28T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of debug functions within MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1712689#M53943</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls refer to section 4.4.19 System clock control register in UM10732.pdf&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1693278919378.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238501i45535AB38D4DB944/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1693278919378.png" alt="xiangjun_rong_0-1693278919378.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it is helpful&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 03:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1712689#M53943</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-08-29T03:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of debug functions within MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1713390#M53955</link>
      <description>Thanks for the reference.&lt;BR /&gt;We have previously used this clock for I2C and UART and possibly for Flash. I plan to look at a general ARM manual to see if I can finally figure out how the LPC clocks work. Very complex.&lt;BR /&gt;jDrum</description>
      <pubDate>Tue, 29 Aug 2023 16:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Loss-of-debug-functions-within-MCUXpresso-IDE/m-p/1713390#M53955</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2023-08-29T16:55:25Z</dc:date>
    </item>
  </channel>
</rss>

