<?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>LPC MicrocontrollersのトピックRe: Instruction trace not working on LPCXpresso54628</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045764#M40579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;thanks for the info. I must say that the instructions found in MCUXpresso IDE Instruction Trace Guide misslead me since it says ETB is supported on a range of Cortex-M3, M4.... maybe that part of the text is not accurate enough, especially for somebody not familiar with tracing, or maybe it is just me :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, I will look into it although I just found some info&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-341957"&gt;How To Use SWO Trace on MCUXpresso IDE&lt;/A&gt;&amp;nbsp;for the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;LPCXpresso54114. I presume it can be scaled to fit the&amp;nbsp;&lt;SPAN&gt;LPCXpresso54628 (edit:&amp;nbsp;SWO pin is PIO0_10).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2020 15:12:09 GMT</pubDate>
    <dc:creator>primate</dc:creator>
    <dc:date>2020-04-20T15:12:09Z</dc:date>
    <item>
      <title>Instruction trace not working on LPCXpresso54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045760#M40575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using a&amp;nbsp;LPCXpresso54628 (OM13098) board and since I am getting some hard faults I would like to trace the code since the Fault does not report the exact problem where to look for the fault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am unable to set up the instruction trace for the board. When I click on the Record button the IDE says that the instruction trace is not supported for the target. Sreenshoot below.&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/108183i2E9465556A56D924/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;I have deleted the launch configuration but I get back the same message. Am I doing something wrong? Using&amp;nbsp;MCUXpresso IDE v11.1.1 [Build 3241].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;H1 class="" style="color: #ffffff; background-color: #ffffff; font-weight: bold; font-size: 2.6705em;"&gt;LPCXpresso54628&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 class="" style="color: #ffffff; background-color: #ffffff; font-weight: bold; font-size: 2.6705em;"&gt;LPCXpresso54628&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 07:25:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045760#M40575</guid>
      <dc:creator>primate</dc:creator>
      <dc:date>2020-04-17T07:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Instruction trace not working on LPCXpresso54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045761#M40576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That’s correct. MCUXpresso supports devices with ETB or MTB for instruction trace. The LPC54 devices use ETM for instruction tracing and thus are not supported.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The essential difference is that with ETB/MTB the traces instructions are captured in RAM on the device and then read out by the debug probe and decoded with the debugged. With ETM the trace is streamed directly through the trace port - at very high data rates. You need special hardware to capture the trace data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:12:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045761#M40576</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-04-17T12:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Instruction trace not working on LPCXpresso54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045762#M40577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that the other SWO trace modes are supported by MCUXpresso on these devices. Details in the Trace Guide supplied with the product.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:14:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045762#M40577</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-04-17T12:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Instruction trace not working on LPCXpresso54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045763#M40578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Primate,&lt;/P&gt;&lt;P&gt;Pls refer to the community doc, it focuses on the SWO trace function based on LPCXpresso54628.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/530102"&gt;https://community.nxp.com/thread/530102&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 02:04:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045763#M40578</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-04-20T02:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Instruction trace not working on LPCXpresso54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045764#M40579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;thanks for the info. I must say that the instructions found in MCUXpresso IDE Instruction Trace Guide misslead me since it says ETB is supported on a range of Cortex-M3, M4.... maybe that part of the text is not accurate enough, especially for somebody not familiar with tracing, or maybe it is just me :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, I will look into it although I just found some info&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-341957"&gt;How To Use SWO Trace on MCUXpresso IDE&lt;/A&gt;&amp;nbsp;for the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;LPCXpresso54114. I presume it can be scaled to fit the&amp;nbsp;&lt;SPAN&gt;LPCXpresso54628 (edit:&amp;nbsp;SWO pin is PIO0_10).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 15:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045764#M40579</guid>
      <dc:creator>primate</dc:creator>
      <dc:date>2020-04-20T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Instruction trace not working on LPCXpresso54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045765#M40580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stuck at Enable SWO Trace clock since the startup_lpc54628.c does not contain any code so I added (from the SWO trace help file):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM&gt;volatile unsigned int *TRACECLKDIV = (unsigned int *) 0x40000304; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;volatile unsigned int *SYSAHBCLKCTRLSET = (unsigned int *) 0x40000220; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// Write 0x00000000 to TRACECLKDIV / Trace divider &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;*TRACECLKDIV = 0; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// Enable IOCON peripheral clock // by setting bit13 via SYSAHBCLKCTRLSET[0] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;*SYSAHBCLKCTRLSET = 1 &amp;lt;&amp;lt; 13; // 0x2000 &lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;&amp;nbsp;error: conflicting types for 'TRACECLKDIV'&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;error: conflicting types for 'SYSAHBCLKCTRLSET'&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 15:49:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045765#M40580</guid>
      <dc:creator>primate</dc:creator>
      <dc:date>2020-04-20T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Instruction trace not working on LPCXpresso54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045766#M40581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. You don't need to set anything up in the code - the IDE will do this when you start trace&lt;/P&gt;&lt;P&gt;2. 'conflicting types' means that it is already defined - probably in a header file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 16:04:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045766#M40581</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-04-20T16:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Instruction trace not working on LPCXpresso54628</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045767#M40582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks for the hint, I have managed to set it up however....&lt;/P&gt;&lt;P&gt;I am not getting the info needed to pinpoint the fault.&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;More in detali I am using FreeRTOS with 2&amp;nbsp;tasks (one xTaskCreate for USART and one for lwIP)&amp;nbsp; and when I leave out eather one of those two everything is OK but when I use both the app gets a fault within a minute. Sometimes the fault is not presented but I can see that everything stopped and its driving me crazy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Figured out that the USART STACKSIZE was to small, sometimes you cannot see a tree from the forest :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 08:35:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Instruction-trace-not-working-on-LPCXpresso54628/m-p/1045767#M40582</guid>
      <dc:creator>primate</dc:creator>
      <dc:date>2020-04-21T08:35:58Z</dc:date>
    </item>
  </channel>
</rss>

