Quality RTOS & Embedded Software

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


Loading

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 192.168.88.1 remote IP address 192.168.88.2 Script /etc/ppp/ip-up started (pid 5676) Script /etc/ppp/ip-up finished (pid 5676), status = 0x0

IP STM32F429 is 192.168.88.2

the next step is open the browser and write http://192.168.88.2/STM32F4x7TASKS.html 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??

Thanksss


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.

Regards.


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


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



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

Renesas

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