Quality RTOS & Embedded Software

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




Loading

Using NetworkInterface.c from +UDP in +TCP?

Posted by tjohansen on March 25, 2015

Hi all

In the FreeRTOS+TCP source there is no port for other thenthe Simulator. (WinPCap) In the FreeRTOS+UDP source there is a port for the LPC17xx, lpc18xx etc.

Looking at those ports, I can’t see why the shouldn’t work in the FreeRTOS+TCP as well. They are basically just RX and TX for the EMAC device and as nothing to do with UDP/TCP/HTTP etc!

Any tried using them in the +TCP with any luck?

Med venlig hilsen/Best regards/Mit freundlichen Grüssen Thomas Johansen


Using NetworkInterface.c from +UDP in +TCP?

Posted by rtel on March 25, 2015

I don't think the drivers in the +UDP directory would work unmodified in the +TCP code because the method used to send data from the driver to the stack is different - +UDP sends to a queue directly whereas +TCP calls a function which sends to the queue indirectly. That said, you should be able to use a driver from the +UDP code under +TCP with very few changes.

We do actually have FreeRTOS+TCP running on an LPC1830, if that is of interest to you. The driver might not be tidied up ready for release yet, but if you write to the business contact email address from http://www.freertos.org/contact - marking your email for the attention of Richard - I can send what we have.

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