<?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: Cannot halt processor on LPC1768 with LPCOpen ethernet demos in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Cannot-halt-processor-on-LPC1768-with-LPCOpen-ethernet-demos/m-p/1183455#M42885</link>
    <description>&lt;P&gt;After some debugging, I understand that the "Cannot halt processor" error is caused by the&amp;nbsp;&lt;SPAN&gt;Chip_ENET_Init() function call. I have found that the&amp;nbsp;Chip_ENET_Init() problem is already discussed in this post:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-General/Ethernet-init-problem-with-LPCopen-and-CMSIS/m-p/1183452#M4019" target="_self"&gt;Ethernet-init-problem-with-LPCopen-and-CMSIS&lt;/A&gt;. Therefore&amp;nbsp;check the post for the&amp;nbsp;continuation of the discussion.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Nov 2020 18:02:37 GMT</pubDate>
    <dc:creator>mircodemarchi</dc:creator>
    <dc:date>2020-11-15T18:02:37Z</dc:date>
    <item>
      <title>Cannot halt processor on LPC1768 with LPCOpen ethernet demos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Cannot-halt-processor-on-LPC1768-with-LPCOpen-ethernet-demos/m-p/1176830#M42766</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm trying to connect an mbed NXP LPC1768 in ethernet with FreeRTOS. I'm using MCUXpresso 11.1.2, but I did the same tests with MCUXpresso &lt;SPAN&gt;10.3.0&amp;nbsp;&lt;/SPAN&gt;and 10.2.1. The operating system that I use is macOS Catalina, but I did a test also with MCUXpresso on Ubuntu 18.04 virtual machine. The firmware of the&amp;nbsp;mbed NXP LPC1768 is the last version (141212) taken from the official Mbed website (&lt;A href="https://os.mbed.com/handbook/Firmware-LPC1768-LPC11U24" target="_self"&gt;os.mbed.com/handbook/Firmware-LPC1768-LPC11U24&lt;/A&gt;). The debug configuration that I use is the &lt;EM&gt;LinkServer C/C++ (NXP Semiconductors) MCU Application&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Firstly I tried to run some demo projects with an ethernet interaction taken from LPCOpen. All the projects build without errors or warning, but I'm not able to make it works.&amp;nbsp;The &lt;EM&gt;freertos_blinky&amp;nbsp;&lt;/EM&gt;project works well: I can run and debug it. However the &lt;EM&gt;periph_ethernet&lt;/EM&gt;, &lt;EM&gt;webserver&lt;/EM&gt;, &lt;EM&gt;webserver_freertos&lt;/EM&gt;, &lt;EM&gt;lwip_tcpecho_freertos&lt;/EM&gt;,&amp;nbsp;&lt;EM&gt;lwip_tcpecho_sa&amp;nbsp;&lt;/EM&gt;and in essence every demo project with an ethernet communication start to run, but when I try to stop or pause the execution this is the message error that I catch and the debug session closes:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Schermata 2020-11-02 alle 22.29.41.png" style="width: 685px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128869iAB64D1841EAF96E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Schermata 2020-11-02 alle 22.29.41.png" alt="Schermata 2020-11-02 alle 22.29.41.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then if I try to rerun the project the "Cannot halt processor" console&amp;nbsp;error reappeared:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Schermata 2020-11-02 alle 22.43.35.png" style="width: 685px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128871i62CC199DC681948A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Schermata 2020-11-02 alle 22.43.35.png" alt="Schermata 2020-11-02 alle 22.43.35.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After this error I become no longer able to test any project on the LPC1768 with MCUXpresso, because if I try to run any project, the "Cannot halt processor" error will return.&lt;/P&gt;&lt;P&gt;The only way to recover the LPC platform is to use MBED Studio to build a .bin execution file, and load it in the device driver of LPC1768. After p&lt;SPAN&gt;ower-cycle the board by disconnecting and reconnecting the cable, I can still use MCUXpresso to run projects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also tried an ethernet demo project with m&lt;/SPAN&gt;bed-os, using Mbed Studio 1.3.0.4, and in particular the &lt;EM&gt;mbed-os-example-sockets&lt;/EM&gt; project. With&amp;nbsp;Mbed everything works well: I can run codes and I see the platform successfully connected in ethernet and exchanging messages over the network. Therefore it's not a problem of the board...&lt;/P&gt;&lt;P&gt;Why can't I correctly run a project with an ethernet connection in MCUXpresso? Why did I obtain this "Cannot halt processor" error?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;best regards&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 19:17:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Cannot-halt-processor-on-LPC1768-with-LPCOpen-ethernet-demos/m-p/1176830#M42766</guid>
      <dc:creator>mircodemarchi</dc:creator>
      <dc:date>2020-11-03T19:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot halt processor on LPC1768 with LPCOpen ethernet demos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Cannot-halt-processor-on-LPC1768-with-LPCOpen-ethernet-demos/m-p/1183455#M42885</link>
      <description>&lt;P&gt;After some debugging, I understand that the "Cannot halt processor" error is caused by the&amp;nbsp;&lt;SPAN&gt;Chip_ENET_Init() function call. I have found that the&amp;nbsp;Chip_ENET_Init() problem is already discussed in this post:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-General/Ethernet-init-problem-with-LPCopen-and-CMSIS/m-p/1183452#M4019" target="_self"&gt;Ethernet-init-problem-with-LPCopen-and-CMSIS&lt;/A&gt;. Therefore&amp;nbsp;check the post for the&amp;nbsp;continuation of the discussion.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 18:02:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Cannot-halt-processor-on-LPC1768-with-LPCOpen-ethernet-demos/m-p/1183455#M42885</guid>
      <dc:creator>mircodemarchi</dc:creator>
      <dc:date>2020-11-15T18:02:37Z</dc:date>
    </item>
  </channel>
</rss>

