<?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>Zephyr ProjectのトピックDebugging DHCP on RT1170</title>
    <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2155479#M447</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to setup a TCP server on the RT1170 CM7 core using the EVK. With my test code I see that the interface is coming up, but DHCP is not assigning an IP to it. I even tried the DHCPv4 sample from the samples/net/ directory but it also does not get an IP. How would I go about debugging this? I don't see any DHCP specific logs once the device starts up.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I added some extra logging to check the DHCP state and it just gets stuck in state 1 (NET_DHCPV4_INIT)&lt;BR /&gt;&lt;BR /&gt;[00:00:00.051,000] &amp;lt;inf&amp;gt; phy_mii: PHY (0) ID 1CC816&lt;BR /&gt;[00:00:00.053,000] &amp;lt;err&amp;gt; eth_nxp_enet_mac: phy_configure_link failed with error: -120&lt;BR /&gt;[00:00:00.054,000] &amp;lt;inf&amp;gt; eth_nxp_enet_mac: Link is down&lt;BR /&gt;[00:00:00.054,000] &amp;lt;err&amp;gt; eth_nxp_enet_mac: phy_configure_link failed with error: -120&lt;BR /&gt;*** Booting Zephyr OS build v4.2.0-rc1-129-gfdd02c5105d2 ***&lt;BR /&gt;[00:00:00.055,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Run dhcpv4 client&lt;BR /&gt;[00:00:00.055,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Start on ethernet: index=1&lt;BR /&gt;DHCP state: 1&lt;BR /&gt;[00:00:03.156,000] &amp;lt;inf&amp;gt; phy_mii: PHY (0) Link speed 100 Mb, full duplex&lt;BR /&gt;[00:00:03.156,000] &amp;lt;inf&amp;gt; eth_nxp_enet_mac: Link is up&lt;BR /&gt;DHCP state: 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers would be appreciated.&amp;nbsp;&lt;BR /&gt;Thanks!&lt;BR /&gt;Varun&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2025 19:15:26 GMT</pubDate>
    <dc:creator>vareddy_Amzn</dc:creator>
    <dc:date>2025-08-20T19:15:26Z</dc:date>
    <item>
      <title>Debugging DHCP on RT1170</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2155479#M447</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to setup a TCP server on the RT1170 CM7 core using the EVK. With my test code I see that the interface is coming up, but DHCP is not assigning an IP to it. I even tried the DHCPv4 sample from the samples/net/ directory but it also does not get an IP. How would I go about debugging this? I don't see any DHCP specific logs once the device starts up.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I added some extra logging to check the DHCP state and it just gets stuck in state 1 (NET_DHCPV4_INIT)&lt;BR /&gt;&lt;BR /&gt;[00:00:00.051,000] &amp;lt;inf&amp;gt; phy_mii: PHY (0) ID 1CC816&lt;BR /&gt;[00:00:00.053,000] &amp;lt;err&amp;gt; eth_nxp_enet_mac: phy_configure_link failed with error: -120&lt;BR /&gt;[00:00:00.054,000] &amp;lt;inf&amp;gt; eth_nxp_enet_mac: Link is down&lt;BR /&gt;[00:00:00.054,000] &amp;lt;err&amp;gt; eth_nxp_enet_mac: phy_configure_link failed with error: -120&lt;BR /&gt;*** Booting Zephyr OS build v4.2.0-rc1-129-gfdd02c5105d2 ***&lt;BR /&gt;[00:00:00.055,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Run dhcpv4 client&lt;BR /&gt;[00:00:00.055,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Start on ethernet: index=1&lt;BR /&gt;DHCP state: 1&lt;BR /&gt;[00:00:03.156,000] &amp;lt;inf&amp;gt; phy_mii: PHY (0) Link speed 100 Mb, full duplex&lt;BR /&gt;[00:00:03.156,000] &amp;lt;inf&amp;gt; eth_nxp_enet_mac: Link is up&lt;BR /&gt;DHCP state: 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers would be appreciated.&amp;nbsp;&lt;BR /&gt;Thanks!&lt;BR /&gt;Varun&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 19:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2155479#M447</guid>
      <dc:creator>vareddy_Amzn</dc:creator>
      <dc:date>2025-08-20T19:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging DHCP on RT1170</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2156255#M448</link>
      <description>&lt;P&gt;Hi Varun-&lt;/P&gt;
&lt;P&gt;It sounds like you are using the RT1170 and running into the same issue using the SDK example.&amp;nbsp; What SDK example did you choose that shows the same error?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WWarne_0-1755800823557.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353561i0F00452D8C75E203/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WWarne_0-1755800823557.png" alt="WWarne_0-1755800823557.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Above is a list of the options for RT1170.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using MCUXPresso Eclipse based or VSCode?&amp;nbsp; &amp;nbsp;What version of SDK are you using?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 18:28:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2156255#M448</guid>
      <dc:creator>WWarne</dc:creator>
      <dc:date>2025-08-21T18:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging DHCP on RT1170</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2156275#M449</link>
      <description>&lt;P&gt;Hi WWarne,&lt;/P&gt;&lt;P&gt;I'm not using MCUXpresso, I'm using the Zephyr build system and the example that I was referring to is the DHCPv4 sample application:&amp;nbsp;&lt;A href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/net/dhcpv4_client" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/net/dhcpv4_client&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 19:01:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2156275#M449</guid>
      <dc:creator>vareddy_Amzn</dc:creator>
      <dc:date>2025-08-21T19:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging DHCP on RT1170</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2158569#M450</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250981"&gt;@vareddy_Amzn&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205078"&gt;@WWarne&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;First, can you confirm the board part number revision you are using?&amp;nbsp; There are two revisions, and they use different 10/100M Ethernet PHYs.&amp;nbsp; The Zephyr default is the latest MIMXRT1170-EVKB.&amp;nbsp; The older part number was MIMXRT1170-EVK, which Zephyr calls Rev A.&amp;nbsp; Also, I assume you are using the 10/100M Ethernet connection for this, which is J32 on EVKB (or J3 on EVK(A)).&lt;/P&gt;
&lt;P&gt;Your log shows you are not using the latest Zephyr release, but using an older commit&amp;nbsp;&lt;SPAN&gt;fdd02c5105d2.&amp;nbsp; I tested the dhcpv4_client sample with that commit, and I also see issues on the EVKB revision, and the board never gets an IP address:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;[00:00:00.051,000] &amp;lt;inf&amp;gt; phy_mii: PHY (0) ID 1CC816 &lt;BR /&gt;[00:00:00.053,000] &amp;lt;err&amp;gt; eth_nxp_enet_mac: phy_configure_link failed with error0&lt;BR /&gt;[00:00:00.054,000] &amp;lt;inf&amp;gt; eth_nxp_enet_mac: Link is down &lt;BR /&gt;[00:00:00.054,000] &amp;lt;err&amp;gt; eth_nxp_enet_mac: phy_configure_link failed with error0&lt;BR /&gt;*** Booting Zephyr OS build v4.2.0-rc1-129-gfdd02c5105d2 *** &lt;BR /&gt;[00:00:00.055,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Run dhcpv4 client &lt;BR /&gt;[00:00:00.055,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Start on ethernet: index=1 &lt;BR /&gt;[00:00:03.155,000] &amp;lt;inf&amp;gt; phy_mii: PHY (0) Link speed 100 Mb, full duplex &lt;BR /&gt;[00:00:03.155,000] &amp;lt;inf&amp;gt; eth_nxp_enet_mac: Link is up&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;But using the latest upstream Zephyr release v4.2 resolves that issue for me:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;[00:00:00.051,000] &amp;lt;inf&amp;gt; phy_mii: PHY (0) ID 1CC816 &lt;BR /&gt;[00:00:00.054,000] &amp;lt;inf&amp;gt; eth_nxp_enet_mac: Link is down &lt;BR /&gt;*** Booting Zephyr OS build v4.2.0 *** &lt;BR /&gt;[00:00:00.055,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Run dhcpv4 client &lt;BR /&gt;[00:00:00.055,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Start on ethernet: index=1 &lt;BR /&gt;[00:00:03.155,000] &amp;lt;inf&amp;gt; phy_mii: PHY (0) Link speed 100 Mb, full duplex &lt;BR /&gt;[00:00:03.155,000] &amp;lt;inf&amp;gt; eth_nxp_enet_mac: Link is up &lt;BR /&gt;[00:00:06.423,000] &amp;lt;inf&amp;gt; net_dhcpv4: Received: 192.168.86.165 &lt;BR /&gt;[00:00:06.423,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Address[1]: 192.168.86.165&lt;BR /&gt;[00:00:06.423,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Subnet[1]: 255.255.255.0 &lt;BR /&gt;[00:00:06.423,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Router[1]: 192.168.86.1 &lt;BR /&gt;[00:00:06.423,000] &amp;lt;inf&amp;gt; net_dhcpv4_client_sample: Lease time[1]: 86400 seconds&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Can you please try updating to v4.2 and see if that resolves your issue?&amp;nbsp; Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 20:41:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2158569#M450</guid>
      <dc:creator>dereksnell</dc:creator>
      <dc:date>2025-08-26T20:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging DHCP on RT1170</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2158580#M451</link>
      <description>Hi Derek,&lt;BR /&gt;Thanks for the detailed guide! I am using the EVKB and indeed connecting to J32. I will try upgrading to the latest v4.2 and get back to you with my results. Just to confirm, this is the release version of 4.2 (commit: &lt;A href="https://github.com/zephyrproject-rtos/zephyr/commit/413b789deb391d3a37d06b463288a5fe765ee57e" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/commit/413b789deb391d3a37d06b463288a5fe765ee57e&lt;/A&gt;) ?&lt;BR /&gt;Thanks!&lt;BR /&gt;Varun</description>
      <pubDate>Tue, 26 Aug 2025 20:54:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2158580#M451</guid>
      <dc:creator>vareddy_Amzn</dc:creator>
      <dc:date>2025-08-26T20:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging DHCP on RT1170</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2158585#M452</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250981"&gt;@vareddy_Amzn&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Yes, that is the commit for the latest release v4.2.0.&amp;nbsp; Thanks for checking it&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 20:59:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2158585#M452</guid>
      <dc:creator>dereksnell</dc:creator>
      <dc:date>2025-08-26T20:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging DHCP on RT1170</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2158610#M453</link>
      <description>Hi Derek,&lt;BR /&gt;That did the trick. Thanks for the help!&lt;BR /&gt;Varun</description>
      <pubDate>Tue, 26 Aug 2025 22:31:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2158610#M453</guid>
      <dc:creator>vareddy_Amzn</dc:creator>
      <dc:date>2025-08-26T22:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging DHCP on RT1170</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2159467#M454</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250981"&gt;@vareddy_Amzn&lt;/a&gt;&amp;nbsp;, FYI&lt;/P&gt;
&lt;P&gt;Here is an article&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Zephyr-Project-Knowledge-Base/Zephyr-networking-stack-on-i-MX-RT1170-Cortex-M4-secondary-core/ta-p/2159461" target="_self"&gt;&lt;SPAN&gt;Zephyr networking stack on i.MX RT1170 Cortex-M4 secondary core&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 01:14:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2159467#M454</guid>
      <dc:creator>dereksnell</dc:creator>
      <dc:date>2025-08-28T01:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging DHCP on RT1170</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2160186#M456</link>
      <description>Thanks for the reference!&lt;BR /&gt;Varun</description>
      <pubDate>Thu, 28 Aug 2025 20:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/Debugging-DHCP-on-RT1170/m-p/2160186#M456</guid>
      <dc:creator>vareddy_Amzn</dc:creator>
      <dc:date>2025-08-28T20:57:27Z</dc:date>
    </item>
  </channel>
</rss>

