<?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: How can i change the IP in run time in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205816#M9741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;definately reset is good option becoz consider a scenario where communicarion is going on&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;with microcontroller n suddenly u change d IP but arp entries are associated with the previous&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;IP address. When u reset then there is communication drop n arp entries get changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2009 11:41:51 GMT</pubDate>
    <dc:creator>MCF52233</dc:creator>
    <dc:date>2009-08-11T11:41:51Z</dc:date>
    <item>
      <title>How can i change the IP in run time</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205814#M9739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using M52233 demo board with Coldfire lite stack and the web server, but&amp;nbsp;I want to know how can I change the ip adress in run time. For example, if&amp;nbsp;I write into the LCD the&amp;nbsp;IP&amp;nbsp;adress&amp;nbsp;and use&amp;nbsp;that adress without have to restar the micro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks and excusme for my bad english.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2009 07:48:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205814#M9739</guid>
      <dc:creator>faustino</dc:creator>
      <dc:date>2009-08-07T07:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change the IP in run time</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205815#M9740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Why resetting is not an option? Have you considered software reset? Using CF registers, a software reset is different from a hardware reset, you firmware can handle both events indepently at start-up&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2009 01:56:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205815#M9740</guid>
      <dc:creator>PaoloRenzo</dc:creator>
      <dc:date>2009-08-08T01:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change the IP in run time</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205816#M9741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;definately reset is good option becoz consider a scenario where communicarion is going on&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;with microcontroller n suddenly u change d IP but arp entries are associated with the previous&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;IP address. When u reset then there is communication drop n arp entries get changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 11:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205816#M9741</guid>
      <dc:creator>MCF52233</dc:creator>
      <dc:date>2009-08-11T11:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change the IP in run time</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205817#M9742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On-the-fly IP changes are used quite often in the uTasker project so generally it should not be a real difficulty. When the new IP settings are committed, the ARP table is flushed and so there is an orderly change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_self"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "&lt;EM&gt;&lt;SPAN&gt;Embedding it better...&lt;/SPAN&gt;&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 18:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205817#M9742</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2009-08-11T18:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change the IP in run time</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205818#M9743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;faustino wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using M52233 demo board with Coldfire lite stack and the web server, but&amp;nbsp;I want to know how can I change the ip adress in run time.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Just follow what the Niche code already does in set_ipaddr() (NRMENUS.C) or dhc_setip() (DHCPCLNT.C). The DHCPCLNT.C code is a little smarter about setting the mask, default gateway, and broadcast addresses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a warning about "setip will kill all current net connections!" but it is overstated. Changing the IP will make any connected TCP sockets unreachable. You may want to take action to close them before the change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The local ARP table is not affected by this change, as it tracks IP addresses of other hosts. Those other hosts may have copies of your previous IP address in their ARP tables, which will eventually expire.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 20:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/How-can-i-change-the-IP-in-run-time/m-p/205818#M9743</guid>
      <dc:creator>bkatt</dc:creator>
      <dc:date>2009-08-12T20:01:34Z</dc:date>
    </item>
  </channel>
</rss>

