<?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>LPCXpresso IDEのトピックRe: uIP Webserver simple example</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557326#M14520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caprock on Sun Apr 17 09:21:58 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks - I read this &amp;amp; yes, these cgi have been added and the perl script has been run to set the fs data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Luis just pointed out, the only connection to the system io is from the "port_toggle" in the cgi file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I seem to have a 'disconnect' from the cgi to the gpio somehow. Just did a clean/rebuild again and still refuses to work. Using the peripheral view can set/clear the led and have re-confirmed the port/bit to control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would seem that the fact that the GPIO &amp;amp; Change hot spots are causing a transmission, that the makefsdata was done correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the file httpd-cgi.c I see only the cals:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTPD_CGI_CALL(file, "file-stats", file_stats);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTPD_CGI_CALL(tcp, "tcp-connections", tcp_stats);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTPD_CGI_CALL(net, "net-stats", net_stats);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shouldn't I see the "port_toggle" here as well?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:08:09 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:08:09Z</dc:date>
    <item>
      <title>uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557316#M14510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Fri Mar 04 14:39:05 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have zero experience working with Internet in embedded environments, and would like to know the easiest way modify the sample "RDB1768cmsis_uIP" to read and write GPIO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know change a static page, but not while the example works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557316#M14510</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557317#M14511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jharwood on Sun Mar 06 16:42:36 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, here you go:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Unzip the attached file into your RDB1768cmsis_uIP project folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- In the apps/webserver folder run:&amp;nbsp; perl makefsdata&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Add code to main() to initialize Port0_22&amp;nbsp; (the LED port)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Clean, rebuild and run your project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a summary of the changes that get applied by the above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Added two new script files: gpio.shtml and portchange.shtml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Modified index.html and header.html to add an extra menu item&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Modified style.css changing the width of the menubox class from 25% to 20%&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Modified httpd-cgi.c by adding two new CGI functions: port-status and port-toggle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557317#M14511</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557318#M14512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Mon Mar 07 09:24:56 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Works great! Now study the CGI file. Thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557318#M14512</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557319#M14513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caprock on Sat Apr 16 17:30:28 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=1]Win7/64: LPCXpresso/LPC1769[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just built the RDB1768cmsis_uIP project and made the changes for the upd_mods.zip as per jharwoods post of 3/6/2011. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also initialized the LED as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; #define LED_PORT 0// Port for led&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; #define LED_BIT (1&amp;lt;&amp;lt;22)// Bit on port for led&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; #define LED_ON 1// Level to set port to turn on led&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; #define LED_OFF 0// Level to set port to turn off led&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;main:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_GPIO0-&amp;gt;FIODIR = LED_BIT; /* pin defined as Output */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_GPIO0-&amp;gt;FIOCLR = LED_BIT; /* turn off the LED */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't seem to change the state with the GPIO Port Change and there are no errors or warnings. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All else is working - can anyone steer me to where in the code, and how the LED is updated from uIP?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557319#M14513</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557320#M14514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jharwood on Sat Apr 16 18:01:02 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any chance that GPIO Port 0.22 may be set to one of the UART1 functions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My main has:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set P0_22 to 00 - GPIO
&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_PINCON-&amp;gt;PINSEL1&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;= (~(3 &amp;lt;&amp;lt; 12));
&amp;nbsp;&amp;nbsp;&amp;nbsp; LED_PORT-&amp;gt;FIODIR |= (1 &amp;lt;&amp;lt; LED_PIN);
&amp;nbsp;&amp;nbsp;&amp;nbsp; LED_PORT-&amp;gt;FIOCLR = (1 &amp;lt;&amp;lt; LED_PIN);
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's about all I can think of that would cause a problem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557320#M14514</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557321#M14515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Sat Apr 16 18:53:39 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;caprock,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind of a coincidence, see this post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showpost.php?p=7505&amp;amp;postcount=3&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not exactly the same as what you were working on, but it may help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557321#M14515</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557322#M14516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caprock on Sun Apr 17 08:35:24 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks all for the replies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have confirmed that the LED is P0.22 &amp;amp; working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, in the _uIP demo that I am using, there is a cgi control to Change the GPIO state. What I am missing is the connection from uIP to the [I]action [/I]procedure that is supposed to be invoked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Such a small detail, but clearly, I am overlooking something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where in this code is the [I]action [/I]procedure that is supposed to access the GPIO?:confused:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557322#M14516</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557323#M14517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jharwood on Sun Apr 17 08:58:35 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In my earlier post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;- Modified httpd-cgi.c by adding two new CGI functions: port-status and port-toggle.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557323#M14517</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557324#M14518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Sun Apr 17 09:02:04 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello caprock,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's easy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; HTML files with special codes called procedures:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;%! port-toggle&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Calls the procedure "port_toggle" in the CGI file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's all folks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557324#M14518</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557325#M14519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jharwood on Sun Apr 17 09:04:07 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You did run perl mkfsdata ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557325#M14519</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557326#M14520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caprock on Sun Apr 17 09:21:58 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks - I read this &amp;amp; yes, these cgi have been added and the perl script has been run to set the fs data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Luis just pointed out, the only connection to the system io is from the "port_toggle" in the cgi file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I seem to have a 'disconnect' from the cgi to the gpio somehow. Just did a clean/rebuild again and still refuses to work. Using the peripheral view can set/clear the led and have re-confirmed the port/bit to control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would seem that the fact that the GPIO &amp;amp; Change hot spots are causing a transmission, that the makefsdata was done correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the file httpd-cgi.c I see only the cals:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTPD_CGI_CALL(file, "file-stats", file_stats);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTPD_CGI_CALL(tcp, "tcp-connections", tcp_stats);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTPD_CGI_CALL(net, "net-stats", net_stats);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shouldn't I see the "port_toggle" here as well?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557326#M14520</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557327#M14521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caprock on Sun Apr 17 09:41:55 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem resolved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apparently the httpd-cgi.c file was never copied into my project as directed by the earlier posts from jharwood.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I see the cgi connection to the port io.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]This is a case of not following all directions.[/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to all - :o&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557327#M14521</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557328#M14522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jharwood on Sun Apr 17 10:04:33 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad you found the problem :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557328#M14522</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557329#M14523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caprock on Wed Apr 20 10:14:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;HTML files with special codes called procedures:&lt;BR /&gt;Code:&lt;BR /&gt;%! port-toggle&lt;BR /&gt;Calls the procedure "port_toggle" in the CGI file.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With reference to the portchange.shtml file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;%! port-toggle

%!: /header.html
&amp;lt;h1&amp;gt;GPIO&amp;lt;/h1&amp;gt;

Port status: %! port-status
&amp;lt;a href="portchange.shtml"&amp;gt;Change&amp;lt;/a&amp;gt;

%!: /footer.html
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been searching for these special commands &lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;(%! and %!:)&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt; and can not find any references or definitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Understand that: %! port-toggle is used to call the cgi procedure in httpd-cgi.c:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;static
PT_THREAD(port_toggle(struct httpd_state *s, char *ptr))
{
&amp;nbsp; PSOCK_BEGIN(&amp;amp;s-&amp;gt;sout);
&amp;nbsp; LED_PORT-&amp;gt;FIOMASK = 0;
&amp;nbsp; LED_PORT-&amp;gt;FIOPIN ^= (1 &amp;lt;&amp;lt; LED_PIN);
&amp;nbsp; PSOCK_END(&amp;amp;s-&amp;gt;sout);
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, it would seem that this code INCLUDES the file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;%!: /header.html
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone provide a link to these codes? (%! )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557329#M14523</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557330#M14524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jharwood on Wed Apr 20 11:35:59 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: caprock&lt;/STRONG&gt;&lt;BR /&gt;I have been searching for these special commands &lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;(%! and %!:)&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt; and can not find any references or definitions.&lt;BR /&gt;&lt;BR /&gt;Understand that: %! port-toggle is used to call the cgi procedure in httpd-cgi.c:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at httpd.c, lines 137 to 143&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Check if we should start executing a script. */
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(*s-&amp;gt;file.data == ISO_percent &amp;amp;&amp;amp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(s-&amp;gt;file.data + 1) == ISO_bang) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s-&amp;gt;scriptptr = s-&amp;gt;file.data + 3;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s-&amp;gt;scriptlen = s-&amp;gt;file.len - 3;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(*(s-&amp;gt;scriptptr - 1) == ISO_colon) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; httpd_fs_open(s-&amp;gt;scriptptr + 1, &amp;amp;s-&amp;gt;file);
&amp;nbsp;&amp;nbsp; ...
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;Not very well documented, but when looking at the example script files and this section of code, it falls into place &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557330#M14524</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557331#M14525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caprock on Wed Apr 20 12:47:45 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using the literal characters &amp;amp; not the symbolic names.:o&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was looking for a sample form use, such as filling in the network stats: IP, MAC. Ideally, this sample would search for the required field and replace it with the actual data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At present, I have tried to change the port-status &amp;amp; port-change files to include a checkbox, and use this to determine which led gif is needed: simple light bulbs (led_on.gif/led_off.gif). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This I have done before with Wiznet, but can't seem to locate the correct hooks in uip as presented to the httpd-cgi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any additional samples would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your assistance!&amp;nbsp; :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557331#M14525</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557332#M14526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jharwood on Wed Apr 20 13:30:08 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you download the latest FreeRTOS, unzip it and navigate to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FreeRTOSV6.1.1\Demo\CORTEX_LPC1768_GCC_RedSuite\src\webserver&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there's a version of the uIP webserver with a checkbox for the IO state.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557332#M14526</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557333#M14527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by james on Sat Dec 03 10:40:30 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: caprock&lt;/STRONG&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;I was using the literal characters &amp;amp; not the symbolic names.:o&lt;BR /&gt;&lt;BR /&gt;I was looking for a sample form use, such as filling in the network stats: IP, MAC. Ideally, this sample would search for the required field and replace it with the actual data. &lt;BR /&gt;&lt;BR /&gt;At present, I have tried to change the port-status &amp;amp; port-change files to include a checkbox, and use this to determine which led gif is needed: simple light bulbs (led_on.gif/led_off.gif). &lt;BR /&gt;&lt;BR /&gt;This I have done before with Wiznet, but can't seem to locate the correct hooks in uip as presented to the httpd-cgi.&lt;BR /&gt;&lt;BR /&gt;Any additional samples would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you for your assistance!&amp;nbsp; :)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys, I am also looking for tips/hints for solutions such as the one mention above. I tried easyweb example and it worked great, however I would like to send data to the lpc1768 via ethernet to change variables and control GPIOs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the variables/ports that receive the information from the ethernet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any tips on where I should start from??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557333#M14527</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557334#M14528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by caprock on Sat Dec 03 18:17:11 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;James,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's been a long time since I have looked at that sample, but I'll try to provide some general answers, but these are based on using one of the [B]uip[/B] Demo:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, the uip V1.0 is a platform that you can use for the network stack.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A typical use may be as a Web Server where you can control I/O via the network. In this case, the ethernet interface itself is abstracted; you simpy provide data via the emac.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps a good place to start is the standard FreeRTOS distribution from NXP and it includes a working uip implementation, including a simple procedure for read/write of an I/O port. Check out the 'uIP_Task.c/h' for controlling the net. Note that this standard distribution is based on a board with 4 leds - not sure what you have, but a simple change can alter this for xpresso use with a single led.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps. The uip can be confusing, but it does work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557334#M14528</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: uIP Webserver simple example</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557335#M14529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NeoFireRaziel on Wed Dec 05 22:34:00 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry but I follow all the instructions in this thread about to get work the port toggle function in the original uIP example project but I can't get it to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I replace the file with the files in "uip-mod.zip" and run makefsdata in the webserver directory, compile with no errors, flash to the LPCXpresso dev board but nothing happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the "GPIO" tab but all the I get is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Port status: Change&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First I can't get the port status ("On" or "Off") and second when I click "Change" nothing happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you help me please to get this thing work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mauro.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/uIP-Webserver-simple-example/m-p/557335#M14529</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:14Z</dc:date>
    </item>
  </channel>
</rss>

