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


FreeRTOS config value for STM32F207

Posted by vincent on May 15, 2012
I am working on STM32F207 CORTEX M3, I ported FreeRTOS v7.1.1 and LWIP1.4.0 to setup web server. And found that speed is lower if sending More web pages. At common, I write a simple sending application to test sending speed, it is up to 8Mb/s, so I think it is not network problem.
But the application only setup connection one times, in my web server, it will close connection after send one page out. So it needs setup connection And close connection more times. I don’t know if it causes performance down.I also consider the default SYSCALL priority value is not best one for Cortex M3. Anyone has recommend value for those definition ?

> /* This is the raw value as per the Cortex-M3 NVIC. Values can be 255
> (lowest) to 0 (1?) (highest). */
> #define configMAX_SYSCALL_INTERRUPT_PRIORITY 191 /* equivalent to
> 0xb0, or priority 11. */
> /* This is the value being used as per the ST library which permits 16
> priority values, 0 to 15. This must correspond to the
> configKERNEL_INTERRUPT_PRIORITY setting. Here 15 corresponds to the
> lowest
> NVIC value of 255. */

RE: FreeRTOS config value for STM32F207

Posted by Richard on May 15, 2012
The configMAX_SYSCALL_INTERRUPT_PRIORITY can be set to any value that is valid for the Cortex-M3 device you are using. I would not however consider that to be connected with any problem you may be having.

It is not clear what the problem is though. You have written a small application that can send at 8Mb/s - was this with or without FreeRTOS?

Does the web server run faster without FreeRTOS? If so, it might be worth looking at the recent history in the lwIP mailing list, as there was a discussion about just that very recently, although I'm not sure what the conclusion was.

If your web server is opening and closing lots of connections, then I suspect the main cause of the problem will be the lwIP configuration. If you look at the gathered lwIP stats, or turn on its debug features, you will be able to see if it is running out of any particular resource or having to drop packets. Maybe that would help you tune up the performance?


RE: FreeRTOS config value for STM32F207

Posted by vincent on May 15, 2012
hi richard:

my small application get 8Mb/s with freeRTOS.
I haven't test webpage without FreeRTOS. it is difficult to get clear LWIP configure, but I will have a try

RE: FreeRTOS config value for STM32F207

Posted by earl davis on March 24, 2013

I am looking for a stm32f207 port of free RTOS.... Do you have one or know where I can download one?


[ 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