Quality RTOS & Embedded Software

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


Loading

FreeRTOS+TCP restart with new static ip ...

Posted by debugasm on July 28, 2017

Hi,

Today I finally got to try FreeRTOS+TCP using MicroBlaze and EthernetLite on Spartan6 FPGA.

I am very happy because in my next project I want to use FreeRTOS+TCP instead of lwip.

I still have to do many tests and write a lot of code but I think that FreeRTOS+TCP will give me a lot of satisfaction, thanks to the excellent work that has been done up to here from the "Real Time Engineers ltd".

In my appliances I always use a static IP address, I do not use DHCP (which I have disabled) and for now I set the IP address hardcoded.

I have a problem though: How to change IP address when started FreeRTOS+TCP ?

I did not find any APIs for that, was not considered ?

I have found this :

~~~ FreeRTOSSetIPAddress FreeRTOSSetNetmask FreeRTOS_SetGatewayAddress ~~~

But missing :

FreeRTOS_SetDNS

But these routines do not seem appropriate to what I see in the code.

How do I change my network configuration after I have started FreeRTOS+TCP with another manually assigned IP address ?

Suggestion:

While porting the EthernetLite driver I noticed that the call to:

BaseType_t xNetworkInterfaceInitialise( void )

does not pass the MAC address to be set to the EMAC interface, but it is necessary to refer to an external variable:

~~~ /* ucMACAddress as it appears in main.c */ extern const uint8_t ucMACAddress[ 6 ]; ~~~

Would not it be better to pass the MAC value as a parameter ?

There is an upgrade after "160919FreeRTOSLabs.zip" ?

Thanks so much.

debugasm


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


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner