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




Loading

STR912 comstick and UDP on FreeRTOS

Posted by ajinkya on March 26, 2013
Hello Friends,
I was want my board (STR912 comstick it has ethernet port on board) to receive a UDP packet sent by some remote host.
My free rtos version is V5.0.2.

So while looking for the same I found this link:

http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/FreeRTOS_UDP_IP_Embedded_Ethernet_Tutorial.shtml

but it asks for following files to add to my project directory:

FreeRTOS-Plus/FreeRTOS-Plus-UDP/FreeRTOS_UDP_IP.c
FreeRTOS-Plus/FreeRTOS-Plus-UDP/FreeRTOS_Sockets.c
FreeRTOS-Plus/FreeRTOS-Plus-UDP/FreeRTOS_DHCP.c
FreeRTOS-Plus/FreeRTOS-Plus-UDP/FreeRTOS_DNS.c

I have them but the names are not the same (I am worried whether version is the same or not / it doesn\'t matter)
I have :
uip.c
sockets.c
dhcp.c
dns.c

and i dont have BufferAllocation_2.c file at all which is for BufferManagement.

So how should i go for setting up UDP on FreeRTOS.

RE: STR912 comstick and UDP on FreeRTOS

Posted by Richard on March 26, 2013
It sounds like you have the uIP code, not the FreeRTOS+UDP code.

The FreeRTOS+UDP code is contained in the downloadable projects hosted in the FreeRTOS+ site:

http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/Embedded_Ethernet_Examples/RTOS_UDP_CLI_Windows_Simulator.shtml

http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/Embedded_Ethernet_Examples/RTOS_UDP_and_CLI_LPC1830_NGX.shtml

Regards.

RE: STR912 comstick and UDP on FreeRTOS

Posted by ajinkya on March 27, 2013
Hello Sir,
But my target platform is not matching with mine.......the source code is for LPC1830 Xplorer board from NGX Technologies.
mine is STR912 comstick by ST Microelectronics. Do we have sample code available for it.....
What can be done in this case??

RE: STR912 comstick and UDP on FreeRTOS

Posted by Dave on March 27, 2013
There is a porting guide on the website. You have to implement a few functions to pass data between the stack and your Ethernet driver. The best thing to do is first ensure your Ethernet driver is working without the FreeRTOS code, then create interface functions required.

http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/FreeRTOS_UDP_Porting.shtml


[ 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