<?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のトピックlwip_tcpecho_freertos only works with debugger attached</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lwip-tcpecho-freertos-only-works-with-debugger-attached/m-p/520247#M3545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheDude on Wed Sep 03 06:39:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem with the LPCOpen example lwip_tcpecho_freertos with the LPC1769-Controller. When I make a little change to the example, it only works within a debugging session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Setup&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hardware&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;LPCXpresso LPC1769 (Rev. B)&lt;/STRONG&gt;&lt;SPAN&gt; attached on &lt;/SPAN&gt;&lt;STRONG&gt;LPCXpresso BaseBoard (Rev. B)&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;USB2Serial-Converter is used for LWIP-Debugging messages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Software&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;lpcopen_2_10_lpcxpresso_nxp_lpcxpresso_1769.zip&lt;/STRONG&gt;&lt;SPAN&gt; within &lt;/SPAN&gt;&lt;STRONG&gt;LPCXpresso v7.3.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Imported projects: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]lpc_board_nxp_lpcxpresso_1769&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]lpc_chip_175x_6x&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]lwip_tcpecho_freertos&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created the symbol &lt;/SPAN&gt;&lt;STRONG&gt;LWIP_DEBUG&lt;/STRONG&gt;&lt;SPAN&gt; and I have turned on the debugging Flags for&lt;/SPAN&gt;&lt;STRONG&gt; ETHARP_DEBUG&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;PBUF_DEBUG&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;EMAC_DEBUG&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have increased the size of the vSeuptIFTask-Stack to 1024 to avoid a hardfault during debug-message-printing. This is just for testing and it shouldn't influence anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works fine with and without debugging-session, when I don't make any further changes within the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I have moved the delay function for link detection within the vSetupIFTask in the main while loop at the end of the loop to avoid a constant polling:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;vTaskDelay(configTICK_RATE_HZ / 4); // moved to the end of the while(1) - loop&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the program only works when I have an active Debug-session running. When I turn the power off and try to run the example without debugging, then I get this debugging output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;Waiting for TCPIP thread to initialize...&lt;BR /&gt;Starting LWIP TCP echo server...&lt;BR /&gt;pbuf_alloc(length=1536)&lt;BR /&gt;pbuf_alloc(length=1536) == 0x10002274&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10002274 (free desc=3)&lt;BR /&gt;pbuf_alloc(length=1536)&lt;BR /&gt;pbuf_alloc(length=1536) == 0x10002890&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10002890 (free desc=2)&lt;BR /&gt;pbuf_alloc(length=1536)&lt;BR /&gt;pbuf_alloc(length=1536) == 0x10002eac&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10002eac (free desc=1)&lt;BR /&gt;pbuf_alloc(length=1536)&lt;BR /&gt;pbuf_alloc(length=1536) == 0x100034c8&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x100034c8 (free desc=0)&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10004e2c&lt;BR /&gt;pbuf_header: old 0x10004e74 new 0x10004e6c (8)&lt;BR /&gt;pbuf_header: old 0x10004e6c new 0x10004e58 (20)&lt;BR /&gt;pbuf_free(0x10004e2c)&lt;BR /&gt;pbuf_free: deallocating 0x10004e2c&lt;BR /&gt;Link connect status: 0&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10005888&lt;BR /&gt;pbuf_header: old 0x100058d0 new 0x100058c8 (8)&lt;BR /&gt;pbuf_header: old 0x100058c8 new 0x100058b4 (20)&lt;BR /&gt;pbuf_free(0x10005888)&lt;BR /&gt;pbuf_free: deallocating 0x10005888&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10005888&lt;BR /&gt;pbuf_header: old 0x100058d0 new 0x100058c8 (8)&lt;BR /&gt;pbuf_header: old 0x100058c8 new 0x100058b4 (20)&lt;BR /&gt;pbuf_header: old 0x100058b4 new 0x100058a6 (14)&lt;BR /&gt;etharp_send_ip: sending packet 0x10005888&lt;BR /&gt;lpc_low_level_output: pbuf packet(0x100058a6) sent, chain#=0, size = 350 (index=0)&lt;BR /&gt;lpc_tx_pbureclaim_spbuf_alloc(f_free(0x100t: Freeing length=1536)05888)&lt;BR /&gt;pbufpacket 0x100&lt;BR /&gt;pbuf_alloc_free: 0x10005888 (inde(length=153605888 has rex 0)&lt;BR /&gt;pbuf_f) == 0x10005f 1, endingree(0x100058a90&lt;BR /&gt;lpc_rxq here.&lt;BR /&gt;ethar88)&lt;BR /&gt;pbuf_frueue_pbuf: pp_request: ee: deallocabuf packet sending ARP ting 0x10005queued: 0x1request.&lt;BR /&gt;pbu888&lt;BR /&gt;0005a90f_alloc(leng (free descth=42)&lt;BR /&gt;pbuf_=0)&lt;BR /&gt;lpc_lowalloc(length_level_inpu=42) == 0x10t: Packet r0057dc&lt;BR /&gt;ethareceived: 0x1p_raw: send0002274, sizing raw ARPe 60 (index= packet.&lt;BR /&gt;lp0)&lt;BR /&gt;c_low_level_output: pbuf packet(0x100057ec) sent, chain#=0, size = 42 (index=1)&lt;BR /&gt;lpc_tx_recpbuf_free(0laim_st: Frex100057dc)&lt;BR /&gt;eing packet pbuf_free: 0x100057dc (0x100057dc index 1)&lt;BR /&gt;pbuhas ref 1, f_free(0x100ending here057dc)&lt;BR /&gt;pbuf_.&lt;BR /&gt;ethernetfree: deall_input: destocating 0x1:ff:ff:ff:ff00057dc&lt;BR /&gt;:ff:ff, src:24:65:11:9b:e1:ab, type:806&lt;BR /&gt;etharp_update_arp_entry: 192.168.178.1 - 24:65:11:9b:e1:ab&lt;BR /&gt;etharp_find_entry: found empty entry 0&lt;BR /&gt;etharp_find_entry: no empty entry found and not allowed to recycle&lt;BR /&gt;etharp_arp_input: incoming ARP request&lt;BR /&gt;etharp_arp_input: we are unconfigured, ARP request ignored.&lt;BR /&gt;pbuf_free(0x10002274)&lt;BR /&gt;pbuf_free: deallocating 0x10002274&lt;BR /&gt;Link connect status: 1&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10002890 (free desc=0)&lt;BR /&gt;lpc_low_level_input: Packet dropped with errors (0xffffffff)&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10002274&lt;BR /&gt;pbuf_header: old 0x100022bc new 0x100022b4 (8)&lt;BR /&gt;pbuf_header: old 0x100022b4 new 0x100022a0 (20)&lt;BR /&gt;pbuf_header: old 0x100022a0 new 0x10002292 (14)&lt;BR /&gt;etharp_send_ip: sending packet 0x10002274&lt;BR /&gt;lpc_low_level_output: pbuf packet(0x10002292) sent, chain#=0, size = 350 (index=2)&lt;BR /&gt;lpc_tx_pbureclaim_spbuf_alloc(f_free(0x100t: Freeing length=1536)02274)&lt;BR /&gt;pbuf_packet 0x10&lt;BR /&gt;pbuf_alloc(free: 0x100002274 (indelength=153602274 has rex 2)&lt;BR /&gt;pbuf_f) == 0x10006f 1, endingree(0x1000220ac&lt;BR /&gt;lpc_rxq here.&lt;BR /&gt;74)&lt;BR /&gt;pueue_pbuf: pbuf_free: dbuf packet qeallocatingueued: 0x100 0x10002274060ac (free&lt;BR /&gt;desc=0)&lt;BR /&gt;lpc_low_level_input: Packet received: 0x10002eac, size 60 (index=2)&lt;BR /&gt;etpbuf_alloc(hernet_inputlength=1536: dest:ff:ff)&lt;BR /&gt;pbuf_allo:ff:ff:ff:ffc(length=153, src:24:656) == 0x1000:11:9b:e1:a66c8&lt;BR /&gt;lpc_rxqb, type:806ueue_pbuf: p&lt;BR /&gt;etharp_upbuf packet qdate_arp_enueued: 0x100try: 192.16066c8 (free 8.178.1 - 24desc=0)&lt;BR /&gt;lpc:65:11:9b:e1_low_level_:ab&lt;BR /&gt;etharp_finput: Packind_entry: fet receivedound empty e: 0x100034cntry 0&lt;BR /&gt;ethar8, size 506p_find_entry (index=3)&lt;BR /&gt;: no empty entry found and not allowed to recycle&lt;BR /&gt;etharp_arp_input: incoming ARP request&lt;BR /&gt;etharp_arp_input: we are unconfigured, ARP request ignored.&lt;BR /&gt;pbuf_free(0x10002eac)&lt;BR /&gt;pbuf_free: deallocating 0x10002eac&lt;BR /&gt;ethernet_input: dest:ff:ff:ff:ff:ff:ff, src:f0:de:f1:69:c3:e3, type:800&lt;BR /&gt;pbuf_header: old 0x100034d8 new 0x100034e6 (-14)&lt;BR /&gt;pbuf_free(0x100034c8)&lt;BR /&gt;pbuf_free: deallocating 0x100034c8&lt;BR /&gt;etharp_timer&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10005a90 (free desc=0)&lt;BR /&gt;lpc_low_level_input: Packet dropped with errors (0xffffffff)&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10002274&lt;BR /&gt;pbuf_header: old 0x100022bc new 0x100022b4 (8)&lt;BR /&gt;pbuf_header: old 0x100022b4 new 0x100022a0 (20)&lt;BR /&gt;pbuf_header: old 0x100022a0 new 0x10002292 (14)&lt;BR /&gt;etharp_send_ip: sending packet 0x10002274&lt;BR /&gt;lpc_low_level_output: pbuf packet(0x10002292) sent, chain#=0, size = 350 (index=3)&lt;BR /&gt;lpc_tx_pbureclaim_spbuf_alloc(f_free(0x100t: Freeing length=1536)02274)&lt;BR /&gt;pbufpacket 0x100&lt;BR /&gt;pbuf_alloc(_free: 0x1002274 (indexlength=1536002274 has r 3)&lt;BR /&gt;pbuf_fr) == 0x10002ef 1, endinee(0x1000227eac&lt;BR /&gt;lpc_rxqg here.&lt;BR /&gt;4)&lt;BR /&gt;pueue_pbuf: buf_free: depbuf packet allocating queued: 0x100x10002274&lt;BR /&gt;002eac (free desc=0)&lt;BR /&gt;lpc_low_level_input: Packet received: 0x10002890, size 60 (index=1)&lt;BR /&gt;ethernet_input: dest:ff:ff:ff:ff:ff:ff, src:24:65:11:9b:e1:ab, type:806&lt;BR /&gt;etharp_update_arp_entry: 192.168.178.1 - 24:65:11:9b:e1:ab&lt;BR /&gt;etharp_find_entry: found empty entry 0&lt;BR /&gt;etharp_find_entry: no empty entry found and not allowed to recycle&lt;BR /&gt;etharp_arp_input: incoming ARP request&lt;BR /&gt;etharp_arp_input: we are unconfigured, ARP request ignored.&lt;BR /&gt;pbuf_free(0x10002890)&lt;BR /&gt;pbuf_free: deallocating 0x10002890&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x100060ac (free desc=0)&lt;BR /&gt;lpc_low_level_input: Packet dropped with errors (0xffffffff)&lt;BR /&gt;etharp_timer&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It also keeps working when I press the red stop button on the debug session. I can also detach the USB-cable from the LPCXpresso board and let the USB2Serial converter power it. But when I turn it off and on then it shows the again the messages from above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The interesting thing is, that when I start a debug session without reprogramming the device through changing the &lt;/SPAN&gt;&lt;STRONG&gt;Attach only&lt;/STRONG&gt;&lt;SPAN&gt;-Flag to &lt;/SPAN&gt;&lt;STRONG&gt;True &lt;/STRONG&gt;&lt;SPAN&gt;in the &lt;/SPAN&gt;&lt;STRONG&gt;Debug Configurations&lt;/STRONG&gt;&lt;SPAN&gt; Settings, it also starts working after a new dhcp-request has been made.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be very thankful, if somebody could give me an advice where to search for the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Dude.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:42:00 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:42:00Z</dc:date>
    <item>
      <title>lwip_tcpecho_freertos only works with debugger attached</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lwip-tcpecho-freertos-only-works-with-debugger-attached/m-p/520247#M3545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheDude on Wed Sep 03 06:39:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem with the LPCOpen example lwip_tcpecho_freertos with the LPC1769-Controller. When I make a little change to the example, it only works within a debugging session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Setup&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hardware&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;LPCXpresso LPC1769 (Rev. B)&lt;/STRONG&gt;&lt;SPAN&gt; attached on &lt;/SPAN&gt;&lt;STRONG&gt;LPCXpresso BaseBoard (Rev. B)&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;USB2Serial-Converter is used for LWIP-Debugging messages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Software&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;lpcopen_2_10_lpcxpresso_nxp_lpcxpresso_1769.zip&lt;/STRONG&gt;&lt;SPAN&gt; within &lt;/SPAN&gt;&lt;STRONG&gt;LPCXpresso v7.3.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Imported projects: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]lpc_board_nxp_lpcxpresso_1769&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]lpc_chip_175x_6x&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]lwip_tcpecho_freertos&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created the symbol &lt;/SPAN&gt;&lt;STRONG&gt;LWIP_DEBUG&lt;/STRONG&gt;&lt;SPAN&gt; and I have turned on the debugging Flags for&lt;/SPAN&gt;&lt;STRONG&gt; ETHARP_DEBUG&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;PBUF_DEBUG&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;EMAC_DEBUG&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have increased the size of the vSeuptIFTask-Stack to 1024 to avoid a hardfault during debug-message-printing. This is just for testing and it shouldn't influence anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works fine with and without debugging-session, when I don't make any further changes within the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I have moved the delay function for link detection within the vSetupIFTask in the main while loop at the end of the loop to avoid a constant polling:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;vTaskDelay(configTICK_RATE_HZ / 4); // moved to the end of the while(1) - loop&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the program only works when I have an active Debug-session running. When I turn the power off and try to run the example without debugging, then I get this debugging output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;Waiting for TCPIP thread to initialize...&lt;BR /&gt;Starting LWIP TCP echo server...&lt;BR /&gt;pbuf_alloc(length=1536)&lt;BR /&gt;pbuf_alloc(length=1536) == 0x10002274&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10002274 (free desc=3)&lt;BR /&gt;pbuf_alloc(length=1536)&lt;BR /&gt;pbuf_alloc(length=1536) == 0x10002890&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10002890 (free desc=2)&lt;BR /&gt;pbuf_alloc(length=1536)&lt;BR /&gt;pbuf_alloc(length=1536) == 0x10002eac&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10002eac (free desc=1)&lt;BR /&gt;pbuf_alloc(length=1536)&lt;BR /&gt;pbuf_alloc(length=1536) == 0x100034c8&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x100034c8 (free desc=0)&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10004e2c&lt;BR /&gt;pbuf_header: old 0x10004e74 new 0x10004e6c (8)&lt;BR /&gt;pbuf_header: old 0x10004e6c new 0x10004e58 (20)&lt;BR /&gt;pbuf_free(0x10004e2c)&lt;BR /&gt;pbuf_free: deallocating 0x10004e2c&lt;BR /&gt;Link connect status: 0&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10005888&lt;BR /&gt;pbuf_header: old 0x100058d0 new 0x100058c8 (8)&lt;BR /&gt;pbuf_header: old 0x100058c8 new 0x100058b4 (20)&lt;BR /&gt;pbuf_free(0x10005888)&lt;BR /&gt;pbuf_free: deallocating 0x10005888&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10005888&lt;BR /&gt;pbuf_header: old 0x100058d0 new 0x100058c8 (8)&lt;BR /&gt;pbuf_header: old 0x100058c8 new 0x100058b4 (20)&lt;BR /&gt;pbuf_header: old 0x100058b4 new 0x100058a6 (14)&lt;BR /&gt;etharp_send_ip: sending packet 0x10005888&lt;BR /&gt;lpc_low_level_output: pbuf packet(0x100058a6) sent, chain#=0, size = 350 (index=0)&lt;BR /&gt;lpc_tx_pbureclaim_spbuf_alloc(f_free(0x100t: Freeing length=1536)05888)&lt;BR /&gt;pbufpacket 0x100&lt;BR /&gt;pbuf_alloc_free: 0x10005888 (inde(length=153605888 has rex 0)&lt;BR /&gt;pbuf_f) == 0x10005f 1, endingree(0x100058a90&lt;BR /&gt;lpc_rxq here.&lt;BR /&gt;ethar88)&lt;BR /&gt;pbuf_frueue_pbuf: pp_request: ee: deallocabuf packet sending ARP ting 0x10005queued: 0x1request.&lt;BR /&gt;pbu888&lt;BR /&gt;0005a90f_alloc(leng (free descth=42)&lt;BR /&gt;pbuf_=0)&lt;BR /&gt;lpc_lowalloc(length_level_inpu=42) == 0x10t: Packet r0057dc&lt;BR /&gt;ethareceived: 0x1p_raw: send0002274, sizing raw ARPe 60 (index= packet.&lt;BR /&gt;lp0)&lt;BR /&gt;c_low_level_output: pbuf packet(0x100057ec) sent, chain#=0, size = 42 (index=1)&lt;BR /&gt;lpc_tx_recpbuf_free(0laim_st: Frex100057dc)&lt;BR /&gt;eing packet pbuf_free: 0x100057dc (0x100057dc index 1)&lt;BR /&gt;pbuhas ref 1, f_free(0x100ending here057dc)&lt;BR /&gt;pbuf_.&lt;BR /&gt;ethernetfree: deall_input: destocating 0x1:ff:ff:ff:ff00057dc&lt;BR /&gt;:ff:ff, src:24:65:11:9b:e1:ab, type:806&lt;BR /&gt;etharp_update_arp_entry: 192.168.178.1 - 24:65:11:9b:e1:ab&lt;BR /&gt;etharp_find_entry: found empty entry 0&lt;BR /&gt;etharp_find_entry: no empty entry found and not allowed to recycle&lt;BR /&gt;etharp_arp_input: incoming ARP request&lt;BR /&gt;etharp_arp_input: we are unconfigured, ARP request ignored.&lt;BR /&gt;pbuf_free(0x10002274)&lt;BR /&gt;pbuf_free: deallocating 0x10002274&lt;BR /&gt;Link connect status: 1&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10002890 (free desc=0)&lt;BR /&gt;lpc_low_level_input: Packet dropped with errors (0xffffffff)&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10002274&lt;BR /&gt;pbuf_header: old 0x100022bc new 0x100022b4 (8)&lt;BR /&gt;pbuf_header: old 0x100022b4 new 0x100022a0 (20)&lt;BR /&gt;pbuf_header: old 0x100022a0 new 0x10002292 (14)&lt;BR /&gt;etharp_send_ip: sending packet 0x10002274&lt;BR /&gt;lpc_low_level_output: pbuf packet(0x10002292) sent, chain#=0, size = 350 (index=2)&lt;BR /&gt;lpc_tx_pbureclaim_spbuf_alloc(f_free(0x100t: Freeing length=1536)02274)&lt;BR /&gt;pbuf_packet 0x10&lt;BR /&gt;pbuf_alloc(free: 0x100002274 (indelength=153602274 has rex 2)&lt;BR /&gt;pbuf_f) == 0x10006f 1, endingree(0x1000220ac&lt;BR /&gt;lpc_rxq here.&lt;BR /&gt;74)&lt;BR /&gt;pueue_pbuf: pbuf_free: dbuf packet qeallocatingueued: 0x100 0x10002274060ac (free&lt;BR /&gt;desc=0)&lt;BR /&gt;lpc_low_level_input: Packet received: 0x10002eac, size 60 (index=2)&lt;BR /&gt;etpbuf_alloc(hernet_inputlength=1536: dest:ff:ff)&lt;BR /&gt;pbuf_allo:ff:ff:ff:ffc(length=153, src:24:656) == 0x1000:11:9b:e1:a66c8&lt;BR /&gt;lpc_rxqb, type:806ueue_pbuf: p&lt;BR /&gt;etharp_upbuf packet qdate_arp_enueued: 0x100try: 192.16066c8 (free 8.178.1 - 24desc=0)&lt;BR /&gt;lpc:65:11:9b:e1_low_level_:ab&lt;BR /&gt;etharp_finput: Packind_entry: fet receivedound empty e: 0x100034cntry 0&lt;BR /&gt;ethar8, size 506p_find_entry (index=3)&lt;BR /&gt;: no empty entry found and not allowed to recycle&lt;BR /&gt;etharp_arp_input: incoming ARP request&lt;BR /&gt;etharp_arp_input: we are unconfigured, ARP request ignored.&lt;BR /&gt;pbuf_free(0x10002eac)&lt;BR /&gt;pbuf_free: deallocating 0x10002eac&lt;BR /&gt;ethernet_input: dest:ff:ff:ff:ff:ff:ff, src:f0:de:f1:69:c3:e3, type:800&lt;BR /&gt;pbuf_header: old 0x100034d8 new 0x100034e6 (-14)&lt;BR /&gt;pbuf_free(0x100034c8)&lt;BR /&gt;pbuf_free: deallocating 0x100034c8&lt;BR /&gt;etharp_timer&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x10005a90 (free desc=0)&lt;BR /&gt;lpc_low_level_input: Packet dropped with errors (0xffffffff)&lt;BR /&gt;pbuf_alloc(length=308)&lt;BR /&gt;pbuf_alloc(length=308) == 0x10002274&lt;BR /&gt;pbuf_header: old 0x100022bc new 0x100022b4 (8)&lt;BR /&gt;pbuf_header: old 0x100022b4 new 0x100022a0 (20)&lt;BR /&gt;pbuf_header: old 0x100022a0 new 0x10002292 (14)&lt;BR /&gt;etharp_send_ip: sending packet 0x10002274&lt;BR /&gt;lpc_low_level_output: pbuf packet(0x10002292) sent, chain#=0, size = 350 (index=3)&lt;BR /&gt;lpc_tx_pbureclaim_spbuf_alloc(f_free(0x100t: Freeing length=1536)02274)&lt;BR /&gt;pbufpacket 0x100&lt;BR /&gt;pbuf_alloc(_free: 0x1002274 (indexlength=1536002274 has r 3)&lt;BR /&gt;pbuf_fr) == 0x10002ef 1, endinee(0x1000227eac&lt;BR /&gt;lpc_rxqg here.&lt;BR /&gt;4)&lt;BR /&gt;pueue_pbuf: buf_free: depbuf packet allocating queued: 0x100x10002274&lt;BR /&gt;002eac (free desc=0)&lt;BR /&gt;lpc_low_level_input: Packet received: 0x10002890, size 60 (index=1)&lt;BR /&gt;ethernet_input: dest:ff:ff:ff:ff:ff:ff, src:24:65:11:9b:e1:ab, type:806&lt;BR /&gt;etharp_update_arp_entry: 192.168.178.1 - 24:65:11:9b:e1:ab&lt;BR /&gt;etharp_find_entry: found empty entry 0&lt;BR /&gt;etharp_find_entry: no empty entry found and not allowed to recycle&lt;BR /&gt;etharp_arp_input: incoming ARP request&lt;BR /&gt;etharp_arp_input: we are unconfigured, ARP request ignored.&lt;BR /&gt;pbuf_free(0x10002890)&lt;BR /&gt;pbuf_free: deallocating 0x10002890&lt;BR /&gt;lpc_rxqueue_pbuf: pbuf packet queued: 0x100060ac (free desc=0)&lt;BR /&gt;lpc_low_level_input: Packet dropped with errors (0xffffffff)&lt;BR /&gt;etharp_timer&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It also keeps working when I press the red stop button on the debug session. I can also detach the USB-cable from the LPCXpresso board and let the USB2Serial converter power it. But when I turn it off and on then it shows the again the messages from above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The interesting thing is, that when I start a debug session without reprogramming the device through changing the &lt;/SPAN&gt;&lt;STRONG&gt;Attach only&lt;/STRONG&gt;&lt;SPAN&gt;-Flag to &lt;/SPAN&gt;&lt;STRONG&gt;True &lt;/STRONG&gt;&lt;SPAN&gt;in the &lt;/SPAN&gt;&lt;STRONG&gt;Debug Configurations&lt;/STRONG&gt;&lt;SPAN&gt; Settings, it also starts working after a new dhcp-request has been made.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be very thankful, if somebody could give me an advice where to search for the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Dude.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:42:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lwip-tcpecho-freertos-only-works-with-debugger-attached/m-p/520247#M3545</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:42:00Z</dc:date>
    </item>
  </channel>
</rss>

