<?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: MTB (Micro Trace Buffer) LPC812 Not Working in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1476129#M49232</link>
    <description>&lt;P&gt;It’s not like the board doesn’t support MTB, you just have to debug the LPC812 with an external debug probe, because the onboard debug probe uses the LPC11U35.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielRuvalcaba_0-1655485662109.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/183760iF93A1CDCE6077BD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielRuvalcaba_0-1655485662109.png" alt="DanielRuvalcaba_0-1655485662109.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For the supported external debug probes, please refer to section 4.1 of the LPCXpresso812-MAX User manual.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2022/04/28/debugging-the-lpc804-on-the-mcu-link-pro-with-an-external-debug-probe/" target="_self"&gt;This&lt;/A&gt; article might help you.&lt;/P&gt;
&lt;P&gt;Best regards, Daniel.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 17:10:33 GMT</pubDate>
    <dc:creator>DanielRuvalcaba</dc:creator>
    <dc:date>2022-06-17T17:10:33Z</dc:date>
    <item>
      <title>MTB (Micro Trace Buffer) LPC812 Not Working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1450161#M48579</link>
      <description>&lt;P&gt;I am using MCUXpresso v11.5.0[Build 7232][2022-01-11] with the&amp;nbsp;LPCXpresso812-MAX Board.&amp;nbsp; I have started a fresh workspace and have created a project by importing an SDK example.&amp;nbsp; When I try to use the MTB I get a notice&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Unable to get instruction trace configuration.&amp;nbsp; Unsupported target detected when attempting to configure instruction trace........."&lt;/P&gt;&lt;P&gt;The data sheet for the LPC812M101JDH20 says that MTB is supported.&amp;nbsp; I must have missed setting something up to enable the tracing but I have searched many places and have not found an answer.&lt;/P&gt;&lt;P&gt;What has to be set to enable the trace buffer?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 21:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1450161#M48579</guid>
      <dc:creator>jimpearce</dc:creator>
      <dc:date>2022-04-27T21:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: MTB (Micro Trace Buffer) LPC812 Not Working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1451440#M48613</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Can you please make sure that your project is making use of the &lt;EM&gt;cr_mtb_buffer.h &lt;/EM&gt;and the &lt;EM&gt;mtb.c &lt;/EM&gt;files?&lt;/P&gt;
&lt;P&gt;I also dropping you some links that can be useful to solve your problem.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/quick-reference-guide/MCUXpresso_IDE_Instruction_Trace.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/quick-reference-guide/MCUXpresso_IDE_Instruction_Trace.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045766" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045766&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps, Daniel.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 17:25:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1451440#M48613</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2022-04-29T17:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: MTB (Micro Trace Buffer) LPC812 Not Working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1454234#M48682</link>
      <description>&lt;P&gt;I had already tried all of the suggestions in your attached documents to no avail.&amp;nbsp; I reduced the problem to ist simplest form:&lt;/P&gt;&lt;P&gt;Unfortunately, that did not help.&amp;nbsp; I have reduced the problem to its simplest form:&lt;/P&gt;&lt;P&gt;I am using an unmodified LPC812 mbed/Xpresso (Arduino compatible) board and the lpcxpresso812max_led_blinky SDK example.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimpearce_1-1651842692147.png" style="width: 847px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179051i60E54BC4304FD229/image-dimensions/847x464?v=v2" width="847" height="464" role="button" title="jimpearce_1-1651842692147.png" alt="jimpearce_1-1651842692147.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example code shows that it includes cr_mtb_buffer.h and mtb.c as part of the project.&amp;nbsp; It builds with no errors or warnings.&amp;nbsp; When I run it in debug mode and select Window-&amp;gt;Show View-&amp;gt;MCUxpresso IDE Trace and Energy Measurement-&amp;gt;Instruction Trace Config and then click on the refresh icon in the Configure window, I get this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimpearce_0-1651842444751.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179050iEE3E8DFD4CAC474D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimpearce_0-1651842444751.png" alt="jimpearce_0-1651842444751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you can get the tracing to work with this simple setup, please detailed instructions of how you did it or post a link to a video of it.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 13:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1454234#M48682</guid>
      <dc:creator>jimpearce</dc:creator>
      <dc:date>2022-05-06T13:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: MTB (Micro Trace Buffer) LPC812 Not Working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1455133#M48706</link>
      <description>&lt;P&gt;So, has anyone managed to get the MTB working with the SDK examples for the LPCXpresso812-MAX Board?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 17:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1455133#M48706</guid>
      <dc:creator>jimpearce</dc:creator>
      <dc:date>2022-05-09T17:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: MTB (Micro Trace Buffer) LPC812 Not Working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1461029#M48841</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you please show me a screenshot of how your board is enumerated once it is connected to your computer?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 15:57:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1461029#M48841</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2022-05-19T15:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: MTB (Micro Trace Buffer) LPC812 Not Working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1461090#M48842</link>
      <description>&lt;P&gt;I hope that this is what you are asking for.&amp;nbsp; If not, please let me know.&amp;nbsp; Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimpearce_0-1652988091977.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180321i249DFD3099B88B16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimpearce_0-1652988091977.png" alt="jimpearce_0-1652988091977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimpearce_1-1652988791715.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180323i713E8F1F81C38759/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimpearce_1-1652988791715.png" alt="jimpearce_1-1652988791715.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 19:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1461090#M48842</guid>
      <dc:creator>jimpearce</dc:creator>
      <dc:date>2022-05-19T19:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: MTB (Micro Trace Buffer) LPC812 Not Working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1463322#M48898</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, that helps, thank you very much.&lt;/P&gt;
&lt;P&gt;What I see is that your computer/IDE is detecting your board as the LPC11U35 that mean that uses the on-board debug probe. This one doesn’t have an MTB module, this might be the reason why you are having problems.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielRuvalcaba_0-1653402771126.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180885i6565A47634C17B57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielRuvalcaba_0-1653402771126.png" alt="DanielRuvalcaba_0-1653402771126.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you would like to debug the LPC812 (the one that has the MTB module), you will need to use an external debug probe.&lt;/P&gt;
&lt;P&gt;For more information you can take a look to the User Manual for LPCXpresso812-MAX Board available in &lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpcxpresso812-max-board-for-lpc81x-family-mcus:OM13055" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I hope this helps, Daniel.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 14:42:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1463322#M48898</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2022-05-25T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: MTB (Micro Trace Buffer) LPC812 Not Working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1470787#M49102</link>
      <description>&lt;P&gt;Thank you for clarifying that the&amp;nbsp;&lt;SPAN&gt;LPCXpresso812-MAX Board does not support the MTB.&amp;nbsp; I don't see that mentioned in its documentation.&amp;nbsp; What debug probes support the MTB?&amp;nbsp; I also have a PE&amp;nbsp; USB-ML-UNIVERSAL debug probe but cannot make that work with the MTB either.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have searched the document "MCUXpresso IDE InstructionTrace Guide" and have found no mention of the hardware requirements for implementing instruction tracing using the MTB.&amp;nbsp; This is a quote from that:&lt;/P&gt;&lt;P&gt;• Instruction Trace - capturing an instruction stream within onboard RAM of the MCU. This&lt;BR /&gt;data can then be retrieved, decoded, and displayed within the IDE.&lt;BR /&gt;• Available with any supported debug probe.&lt;/P&gt;&lt;P&gt;Okay, where is the list of supported debug probes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 15:18:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1470787#M49102</guid>
      <dc:creator>jimpearce</dc:creator>
      <dc:date>2022-06-08T15:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: MTB (Micro Trace Buffer) LPC812 Not Working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1476129#M49232</link>
      <description>&lt;P&gt;It’s not like the board doesn’t support MTB, you just have to debug the LPC812 with an external debug probe, because the onboard debug probe uses the LPC11U35.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielRuvalcaba_0-1655485662109.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/183760iF93A1CDCE6077BD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielRuvalcaba_0-1655485662109.png" alt="DanielRuvalcaba_0-1655485662109.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For the supported external debug probes, please refer to section 4.1 of the LPCXpresso812-MAX User manual.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2022/04/28/debugging-the-lpc804-on-the-mcu-link-pro-with-an-external-debug-probe/" target="_self"&gt;This&lt;/A&gt; article might help you.&lt;/P&gt;
&lt;P&gt;Best regards, Daniel.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 17:10:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MTB-Micro-Trace-Buffer-LPC812-Not-Working/m-p/1476129#M49232</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2022-06-17T17:10:33Z</dc:date>
    </item>
  </channel>
</rss>

