Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


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 ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists