Sep 14, 2011 #1 C chxgzl4862 Member level 1 Joined Aug 6, 2008 Messages 33 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,581 I want make a webserver on the board of stm32,but i don't know how can i output the data to the web! I us the uip1.0 for the tcp/ip protocol stack.
I want make a webserver on the board of stm32,but i don't know how can i output the data to the web! I us the uip1.0 for the tcp/ip protocol stack.
Sep 14, 2011 #2 K kgshankar1980 Full Member level 3 Joined Jul 2, 2010 Messages 164 Helped 47 Reputation 94 Reaction score 47 Trophy points 1,308 Activity points 2,236 Instead of uIP1.0 you can use lwIP stack which has more protocols supporting than the earlier one. Using lwIP you have to set the DHCP settting either to 1 or 0. Setting it to 0 you will have the static IP mentioned in the software. Downloaded the code to the STM32 board provided the target that you use should the TCP IP Stack implementation. After running the software connect the boards ethernet connection to your PC. Open the internet explorer and type the IP given in the software. For Example - https://192.168.0.8/ in the address bar. And also you have to set the DHCP default gateway in the internet explorer's options. Please check this too. For further details please check the APPLICATION NOTE - AN3102 from the STM website.
Instead of uIP1.0 you can use lwIP stack which has more protocols supporting than the earlier one. Using lwIP you have to set the DHCP settting either to 1 or 0. Setting it to 0 you will have the static IP mentioned in the software. Downloaded the code to the STM32 board provided the target that you use should the TCP IP Stack implementation. After running the software connect the boards ethernet connection to your PC. Open the internet explorer and type the IP given in the software. For Example - https://192.168.0.8/ in the address bar. And also you have to set the DHCP default gateway in the internet explorer's options. Please check this too. For further details please check the APPLICATION NOTE - AN3102 from the STM website.
Sep 15, 2011 #3 C chxgzl4862 Member level 1 Joined Aug 6, 2008 Messages 33 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,581 But somebady use the lwip,found the lwip have soem bug.and this is very big to the stm32. SO i think the uip is smaller. I have some problem with the udp of uip1.0! I receive the port is 55313,this is not the port of i set.
But somebady use the lwip,found the lwip have soem bug.and this is very big to the stm32. SO i think the uip is smaller. I have some problem with the udp of uip1.0! I receive the port is 55313,this is not the port of i set.