<?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: Reading trace data from ETB using AHB interface in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034648#M56629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seema Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, we do not have similar examples&amp;nbsp;to your intended application.&lt;/P&gt;&lt;P&gt;Maybe the MCUXpresso trigger mechanism for record specific trace data into the ETB buffer could be useful to you.&lt;/P&gt;&lt;P&gt;As the MCUXpresso IDE instruction trace indicates&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;There are three main ways of using the trigger:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;trace after&lt;/STRONG&gt; – when that the data from the trigger onwards is the interesting information;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;trace about&lt;/STRONG&gt; — the data either side of the trigger is of interest;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;trace before&lt;/STRONG&gt; — data before the trigger is the key information.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Please, let me know your following thoughts&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2019 23:46:59 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2019-12-03T23:46:59Z</dc:date>
    <item>
      <title>Reading trace data from ETB using AHB interface</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034645#M56626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I read the trace data from ETB on FRDM K64F using a process on the board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Consider 2 processes/threads running on a&amp;nbsp;device, &lt;STRONG&gt;A&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;B&lt;/STRONG&gt;. I want the trace data of &lt;STRONG&gt;A&amp;nbsp;&lt;/STRONG&gt;to be read by &lt;STRONG&gt;B&lt;/STRONG&gt;.&amp;nbsp;Is this even possible? If yes, how can this be done?&lt;/P&gt;&lt;P&gt;2. How can I run 2 processes? Should I use an RTOS? Any suggestions are helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 15:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034645#M56626</guid>
      <dc:creator>seemakumar</dc:creator>
      <dc:date>2019-11-25T15:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reading trace data from ETB using AHB interface</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034646#M56627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Seema Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Maybe the following link tutorial from MCU on eclipse could enlighten up your path&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2016/11/05/tutorial-getting-etm-instruction-trace-with-nxp-kinetis-arm-cortex-m4f/" title="https://mcuoneclipse.com/2016/11/05/tutorial-getting-etm-instruction-trace-with-nxp-kinetis-arm-cortex-m4f/"&gt;Tutorial: Getting ETM Instruction Trace with NXP Kinetis ARM Cortex-M4F | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The instruction trace guide from MCUXpresso&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/quick-reference-guide/MCUXpresso_IDE_Instruction_Trace.pdf" title="https://www.nxp.com/docs/en/quick-reference-guide/MCUXpresso_IDE_Instruction_Trace.pdf"&gt;https://www.nxp.com/docs/en/quick-reference-guide/MCUXpresso_IDE_Instruction_Trace.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ARM coreSigth ETM&amp;nbsp; manual from ARM infocenter&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://infocenter.arm.com/help/topic/com.arm.doc.ddi0440b/DDI0440B_coresight_etm_m4_r0p0_trm.pdf?_ga=2.26971581.1673843729.1574799324-272236622.1574798559" title="http://infocenter.arm.com/help/topic/com.arm.doc.ddi0440b/DDI0440B_coresight_etm_m4_r0p0_trm.pdf?_ga=2.26971581.1673843729.1574799324-272236622.1574798559"&gt;http://infocenter.arm.com/help/topic/com.arm.doc.ddi0440b/DDI0440B_coresight_etm_m4_r0p0_trm.pdf?_ga=2.26971581.16738437…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;For two processes you can use FreeRTOS, which&amp;nbsp; MCUXpresso has integrated support. There is plenty of documentation for making a project with this RTOS.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;About the use an RTOS&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I've found the following link, could you tell if it is useful?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_Trace/RTOS_Trace_Instructions.html" title="https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_Trace/RTOS_Trace_Instructions.html"&gt;Adding Trace Capability To Your RTOS Application&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 22:15:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034646#M56627</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2019-11-26T22:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reading trace data from ETB using AHB interface</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034647#M56628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. I have already followed the MCUXPresso trace guide and also the tutorial on mcueclipse. I can download the ETB trace data&amp;nbsp;onto&amp;nbsp;MCUXPresso IDE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to achieve is something like on-board trace data access. Of the two processes&amp;nbsp;running on the board, the second process&amp;nbsp;will read&amp;nbsp;the ETB trace data&amp;nbsp;to make some inferences about the first process. It is for a small research project. I&amp;nbsp;am not sure such access is even possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 09:45:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034647#M56628</guid>
      <dc:creator>seemakumar</dc:creator>
      <dc:date>2019-11-27T09:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reading trace data from ETB using AHB interface</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034648#M56629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seema Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, we do not have similar examples&amp;nbsp;to your intended application.&lt;/P&gt;&lt;P&gt;Maybe the MCUXpresso trigger mechanism for record specific trace data into the ETB buffer could be useful to you.&lt;/P&gt;&lt;P&gt;As the MCUXpresso IDE instruction trace indicates&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;There are three main ways of using the trigger:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;trace after&lt;/STRONG&gt; – when that the data from the trigger onwards is the interesting information;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;trace about&lt;/STRONG&gt; — the data either side of the trigger is of interest;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;trace before&lt;/STRONG&gt; — data before the trigger is the key information.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Please, let me know your following thoughts&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 23:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034648#M56629</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2019-12-03T23:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reading trace data from ETB using AHB interface</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034649#M56630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. I had considered this option as my last one. I will work with this for now. Thanks again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 20:52:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034649#M56630</guid>
      <dc:creator>seemakumar</dc:creator>
      <dc:date>2019-12-05T20:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reading trace data from ETB using AHB interface</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034650#M56631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seema Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excellent, it would be interesting if you can share your results later!&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 21:07:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-trace-data-from-ETB-using-AHB-interface/m-p/1034650#M56631</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2019-12-06T21:07:41Z</dc:date>
    </item>
  </channel>
</rss>

