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


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.


[ 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