<?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>MCUXpresso IDEのトピックRe: Advanced instruction trace</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793525#M2747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've&amp;nbsp;made some tests and I think&amp;nbsp;that the concept to operate according to my needs can be:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When the second variable&amp;nbsp;is written with 0, trace&amp;nbsp;starts&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;When the second variable&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is written with a value other than 0, trace&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;stops&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;When&amp;nbsp;the first variable is written with any value, a trigger event occurs&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How must I configure the instruction trace to work such a way?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Biafra&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2018 15:25:18 GMT</pubDate>
    <dc:creator>biafra</dc:creator>
    <dc:date>2018-11-23T15:25:18Z</dc:date>
    <item>
      <title>Advanced instruction trace</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793522#M2744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem using lwip as I described in the post&amp;nbsp;&lt;A href="https://community.nxp.com/message/1081486"&gt;LWIP_ASSERT on pbuf_free function&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;To catch the problem, I need a little complex breakpoint: I think the correct tool is using instruction trace; I've read the tutorial, but with that configuration I'm not able to trap the&amp;nbsp;issue.&lt;/P&gt;&lt;P&gt;I need to set a trigger that is true when a&amp;nbsp;(global) variable is written with any value, but only when another (global) variable has a specific value (0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to configure such a trigger? If yes, how? If no, how can I trap this condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2018 13:52:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793522#M2744</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2018-11-22T13:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced instruction trace</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793523#M2745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biafra,&lt;/P&gt;&lt;P&gt;Yes, you can. This function is called watchpoint. Please read MCUXpresso_IDE_User_Guide.pdf section 11.5. You can set it when the IDE in debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2018 07:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793523#M2745</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-11-23T07:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced instruction trace</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793524#M2746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jingpan"&gt;jingpan&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your answer.&lt;/P&gt;&lt;P&gt;I know the watchpoint function, but it isn't the right tool for me, because the variable I'm interested in is written continuously and with such function enabled the CPU runs very slowly and can't work.&lt;/P&gt;&lt;P&gt;I've read about instruction trace (&lt;A href="https://www.nxp.com/docs/en/quick-reference-guide/MCUXpresso_IDE_Instruction_Trace.pdf"&gt;MCUXpresso IDE Instruction Trace&lt;/A&gt;) and I think it can be the right tool for me, but the example is related to&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;set a trigger that is true when a variable is written with a specific value (not when it&amp;nbsp;&lt;SPAN&gt;is written with any value, but only when &lt;STRONG style="text-decoration: underline;"&gt;another&lt;/STRONG&gt; variable has a specific value: this is the situation I'm trying to catch!).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Biafra&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2018 08:48:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793524#M2746</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2018-11-23T08:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced instruction trace</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793525#M2747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've&amp;nbsp;made some tests and I think&amp;nbsp;that the concept to operate according to my needs can be:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When the second variable&amp;nbsp;is written with 0, trace&amp;nbsp;starts&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;When the second variable&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is written with a value other than 0, trace&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;stops&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;When&amp;nbsp;the first variable is written with any value, a trigger event occurs&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How must I configure the instruction trace to work such a way?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Biafra&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2018 15:25:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793525#M2747</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2018-11-23T15:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced instruction trace</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793526#M2748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biafra,&lt;/P&gt;&lt;P&gt;These three point can't be done at same time. There are only 4 watchpoint comparator. The first point need 2 comparator, the second one need 1 comparator. And a trigger event A also need 2 comparator. Further more, these comparator should combine together to fulfill your requirement. But as we can see, only 2 comparator can link together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a demo to deal with requirement 1 and 2&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78552i67BD9707CD3024C1/image-size/large?v=v2&amp;amp;px=999" title="instruction_trace_config_start_stop.png" alt="instruction_trace_config_start_stop.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can give you some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 09:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793526#M2748</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-11-26T09:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced instruction trace</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793527#M2749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jingpan"&gt;jingpan&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately your solution isn't right for me.&lt;/P&gt;&lt;P&gt;Now I'm trying to use DebugMon interrupt to do the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've configured the DWT peripheral to set the debug monitor interrupt, but I have two problems:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Every time I write the variable, the program stops if there is the debug probe connected (P&amp;amp;E multilink universal), whether if it's running a debug session or a release session&lt;/LI&gt;&lt;LI&gt;The interrupt is never executed (whether the debug probe is connected or not)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;unsigned long DebugVar = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;unsigned long DebugHandler = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;void main( void )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;unsigned long DebugCnt = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//init debugmon&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CoreDebug-&amp;gt;DEMCR = CoreDebug_DEMCR_TRCENA_Msk | CoreDebug_DEMCR_MON_EN_Msk;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;DWT-&amp;gt;COMP0 = ( uint32_t )&amp;amp;DebugVar;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;DWT-&amp;gt;MASK0 = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;DWT-&amp;gt;FUNCTION0 = ( 1 &amp;lt;&amp;lt; 11 ) | ( 1 &amp;lt;&amp;lt; 2 ) | ( 1 &amp;lt;&amp;lt; 0 );&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;NVIC_SetPriority( DebugMonitor_IRQn, 7 );&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;EnableIRQ( DebugMonitor_IRQn );&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;while( 1 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if( DebugCnt++ &amp;gt;= 100 ) //every 10 s&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DebugCnt = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DebugVar++; //write var&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if( DebugHandler )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//debug&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PRINTF( "Debug monitor handler executed\n" );&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DebugHandler = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vTaskDelay( 10 ); //systick = 10 ms: delay 100 ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;void DebugMon_Handler( void )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if( DWT-&amp;gt;FUNCTION0 &amp;amp; DWT_FUNCTION_MATCHED_Msk )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DebugHandler = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any error? Why is the interrupt never executed? Is it possible to avoid stopping the execution during the debug session?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 16:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793527#M2749</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2018-11-28T16:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced instruction trace</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793528#M2750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One important thing to note is that the use of the DebugMonitor exception is basically not compatible with using a debug probe (as these will enable "Halting debug" mode). &amp;nbsp;And changing this is generally not possible from user application code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To &amp;nbsp;be honest though, I don't recall ever seeing anyone using the DebugMonitor exception before on Cortex-M devices before (although I'm sure someone somewhere does!). Generally when a debug probe is not connected you will see debug events (like a BKPT instruction) triggering a hard fault. There is more information on this in ARM's Cortex-M documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 10:31:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Advanced-instruction-trace/m-p/793528#M2750</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-11-30T10:31:11Z</dc:date>
    </item>
  </channel>
</rss>

