FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [May 2012 Threads] FreeRTOS config value for STM32F207Posted by vincent on May 15, 2012 all: 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 configKERNEL_INTERRUPT_PRIORITY 255 > > #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. */ > > #define configLIBRARY_KERNEL_INTERRUPT_PRIORITY 15
RE: FreeRTOS config value for STM32F207Posted 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?
Regards.
RE: FreeRTOS config value for STM32F207Posted 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 thanks
RE: FreeRTOS config value for STM32F207Posted by earl davis on March 24, 2013 Hello,
I am looking for a stm32f207 port of free RTOS.... Do you have one or know where I can download one?
eadboston
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|