Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Webserver Freertos STM32

Posted by anfesome on March 31, 2015

I am doing a Webserver through PPP over serial. For this, i have a STM32F429 + LWIP (webserver) + Freertos + PPPOS + Ubunto 14.4 (PPP Server)

The PPP works fine as show below. Log taken from terminal ubunto. root@ubuntu:/etc/ppp# ./ppp-on using channel 31 Using interface ppp0 Connect: ppp0 <--> /dev/ttyUSB0 rcvd [LCP ConfReq id=0x1 ] sent [LCP ConfReq id=0x1 ] sent [LCP ConfAck id=0x1 ] sent [LCP ConfReq id=0x1 ] rcvd [LCP ConfAck id=0x1 ] sent [LCP EchoReq id=0x0 magic=0x26f5aa6d] sent [CCP ConfReq id=0x1 ] sent [IPCP ConfReq id=0x1 ] rcvd [IPCP ConfReq id=0x1 ] sent [IPCP ConfRej id=0x1 ] rcvd [LCP EchoRep id=0x0 magic=0x52181044] rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] Protocol-Reject for 'Compression Control Protocol' (0x80fd) received rcvd [IPCP ConfAck id=0x1 ] rcvd [IPCP ConfReq id=0x2 ] sent [IPCP ConfNak id=0x2 ] rcvd [IPCP ConfReq id=0x3 ] sent [IPCP ConfAck id=0x3 ] local IP address remote IP address Script /etc/ppp/ip-up started (pid 5676) Script /etc/ppp/ip-up finished (pid 5676), status = 0x0

IP STM32F429 is

the next step is open the browser and write The page load is very slow. I can see in Wirwshark that send packets begins well but in the packet number 3, wait for 10 seconds for send the next packet. This continues to do to load the whole page.

Can you said me, what is the problem??? Why wait 10 seconds??


Webserver Freertos STM32

Posted by rtel on March 31, 2015

Really ... this is a project you created and is in front of you, we have never seen it, it is using a third party TCP/IP stack, and we have no experience of PPP. As might be expected we have not got the first clue why it would be taking ten seconds.

Webserver Freertos STM32

Posted by heinbali01 on April 1, 2015

Or... maybe if you post a PCAP that is produced by Wireshark sitting next to the browser, I might be able to give a hint.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.


FreeRTOS and other embedded software careers at AWS.

Latest News

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner