<?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 GeneralのトピックRe: How to solve debugging problem with lpc54608</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947257#M2394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;Please choose "All-Stop" at the IDE Debug Mode:&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/91078i2CDEA293752C835C/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;And about debug FreeRTOS project on MCUXpresso IDE, please refer to "MCUXpresso_IDE_FreeRTOS_Debug_Guide.pdf", I attached it for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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 style="min- padding: 0px;"&gt;&amp;nbsp;&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, 12 Jul 2019 09:10:01 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2019-07-12T09:10:01Z</dc:date>
    <item>
      <title>How to solve debugging problem with lpc54608</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947254#M2391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having some serious debug issues with the lpc54608 board.&lt;/P&gt;&lt;P&gt;The LPC-Link2 CMSIS-DAP (default out-of-the-box) firmware does not work or not reliable. I keep having issues with probes not being found.&lt;/P&gt;&lt;P&gt;I was able to flash the LPC-Link2 interface with the J-Link firmware. This works but I have some issues with not being able to view the content of variables: as soon as my mouse hovers over a variable name, I get an empty value field. From that moment on, I cannot step or continue my program and I can only click on the "cleanup and debug" button in MCUXpresso v11 to restart.&lt;/P&gt;&lt;P&gt;Switching from the LPC-Link2 J-Link firmware to a real J-link probe from Segger shows the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to identify the underlying problem to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using MCUXpresso v11.0.0 build 2516 on Windows 10 with LPC-Link v2/J-Link firmware and original HW J-Link probe v8.0 with v6.44i firmware&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 13:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947254#M2391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-05T13:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve debugging problem with lpc54608</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947255#M2392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;What about your board, a demo board or custom?&lt;/P&gt;&lt;P&gt;How about debug a simple demo ?&lt;/P&gt;&lt;P&gt;Could you please take a video or screenshots show your steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 08:51:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947255#M2392</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-07-08T08:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve debugging problem with lpc54608</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947256#M2393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the standard LPCXpresso 45608 board from NXP but I discovered that my "some issues" are related to the program I'm debugging.&lt;/P&gt;&lt;P&gt;Without FreeRTOS I don't see a problem but with FreeRTOS it suddenly becomes unstable.&lt;/P&gt;&lt;P&gt;It seems like I can view/watch standard variables but no structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took the lpcxpresso54608_freertos_generic example program from the SDK (SDK_2.x_LPCXpresso54608 version 2.5.0).&lt;/P&gt;&lt;P&gt;This example works but when I add some lines of code I can reproducethe same error as in my own application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the prvQueueSendTask I added just two lines of code. See the changed function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;static&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;prvQueueSendTask&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;pvParameters&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    TickType_t xNextWakeTime&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;const&lt;/SPAN&gt; uint32_t ulValueToSend &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;100UL&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    TaskStatus_t task_list&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

    &lt;SPAN class="comment token"&gt;/* Initialise xNextWakeTime - this only needs to be done once. */&lt;/SPAN&gt;
    xNextWakeTime &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;xTaskGetTickCount&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

    &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        &lt;SPAN class="comment token"&gt;/* Place this task in the blocked state until it is time to run again.
        The block time is specified in ticks, the constant used converts ticks
        to ms.  While in the Blocked state this task will not consume any CPU
        time. */&lt;/SPAN&gt;
        &lt;SPAN class="token function"&gt;vTaskDelayUntil&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;xNextWakeTime&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; mainQUEUE_SEND_PERIOD_MS&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        task_list&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;pcTaskName &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"bla"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

        &lt;SPAN class="comment token"&gt;/* Send to the queue - causing the queue receive task to unblock and
        increment its counter.  0 is used as the block time so the sending
        operation will not block - it shouldn't need to block as the queue
        should always be empty at this point in the code. */&lt;/SPAN&gt;
        &lt;SPAN class="token function"&gt;xQueueSend&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;xQueue&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;ulValueToSend&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TaskStatus_t task_list; and task_list.pcTaskName="bla"; , on lines 5 and 17, are added.&lt;/P&gt;&lt;P&gt;This just adds a structure to trigger my debugging problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I place a breakpoint in the code to stop in this function (FreeRTOS task), I can view the variables used and continu the program. But as soon as I hover over "task_list", the debugger is corrupted. When I press Resume (F8), the program does not continue and I get an error message from MCUXpresso:&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 alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/90888i5372AD44716FC708/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem only seems to pop up when I debug FreeRTOS tasks and try to view structures or arrays of structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:26:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947256#M2393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-02T14:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve debugging problem with lpc54608</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947257#M2394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;Please choose "All-Stop" at the IDE Debug Mode:&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/91078i2CDEA293752C835C/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;And about debug FreeRTOS project on MCUXpresso IDE, please refer to "MCUXpresso_IDE_FreeRTOS_Debug_Guide.pdf", I attached it for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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 style="min- padding: 0px;"&gt;&amp;nbsp;&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, 12 Jul 2019 09:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947257#M2394</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-07-12T09:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve debugging problem with lpc54608</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947258#M2395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;Unfortunately the result does not change. "All-stop" is the default mode.&lt;/P&gt;&lt;P&gt;I re-read the FreeRTOS debug guide carefully to see if I missed something before but this seems not to be the case.&lt;/P&gt;&lt;P&gt;Just to be sure I reverted back to MCUXpresso v10.1.1 build 606 and the problem does not appear in that version of the tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only reason to use the v11 version of MCUXpresso is because of the new LPCXpresso54608 SDK. For now I will just use v10.1.1 with SDK version 2.4.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 10:27:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-solve-debugging-problem-with-lpc54608/m-p/947258#M2395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-12T10:27:20Z</dc:date>
    </item>
  </channel>
</rss>

