Quality RTOS & Embedded Software

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




Loading

uIP 0.9 Vs 1.0

Posted by Richard on May 11, 2007
[moved from private email]

I am using uIP_Demo_IAR_ARM7 port of FreeRTOS, and it
works very well. Thank you for your effort. uIP
version used in this demo is V0.9. I want listen to a
UDP port and calculate checksums. I think this is
possible with uIP v1.0. I think zip file already
include uIP v1.0 code and STR91x demo uses it. Is it
possible to reconfigure IAR to use uIP v1.0. Is this
easy? (I am new to IAR) Does using uIP v1.0 give
better performance results? (protosockets?, for
example web server in LPC2368 uses it)

RE: uIP 0.9 Vs 1.0

Posted by Richard on May 11, 2007
Take a look at the LPC2368 demo application to see which uIP files are required in your build (you can get an eval version of CrossWorks to open the project if this makes it easier). Note that you have to download the LPC2368 code separately, there is a link on the documentation page for that demo.

One thing to watch out for is the packing and alignment in some of the uIP structures. When using IAR there are several structure around which you have to place #pragma pack(1), #pragma pack() pragmas to ensure that the compiler does not place padding between unaligned structure members. If you search the source files for the macro PACK_STRUCT_END() and ALIGN_STRUCT_END() you will see where the pragmas are necessary.

Regards.


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




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

Latest News

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


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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