Quality RTOS & Embedded Software

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


Loading

FreeRTOS/Demo/CORTEX_LM3Sxxxx_IAR_Keil

Posted by jimi hendrix on December 14, 2010
Hello,


I use Keil and LM3S8962 board and I compiled FreeRTOS+uIP examples \\FreeRTOSV6.1.0\Demo\CORTEX_LM3Sxxxx_IAR_Keil\*.* .
I set the right IP address but I don't received any response at ping command and also I don’t see any activity from board when I used a network analyzer.

Is this example ok ? Do you see same issue ?

Jimi,

RE: FreeRTOS/Demo/CORTEX_LM3Sxxxx_IAR_Keil

Posted by Dave on December 14, 2010
Are you using a cross over cable?
Are you going through a router?
Is the rest of the application running ok?
What is the IP address or the target and the machine you are pinging from?
What is the MAC address you are using on the target?

RE: FreeRTOS/Demo/CORTEX_LM3Sxxxx_IAR_Keil

Posted by jimi hendrix on December 14, 2010
Hi Davedoors,

Thanks for your response:

1)Yes I use a cross cable when I connect the board to PC and normal when a use the router. But I don't see any network activity. I have tested the board with another TCP/IP firmware and it is ok.

2)The rest application seem to be ok . On LCD it show all time PASS [140ns] .

3)My PC IP is 192.168.1.24 and board IP is 192.168.1.25 .

uIP_Task.c

/* IP address configuration. */
#define uipIP_ADDR0192
#define uipIP_ADDR1168
#define uipIP_ADDR21
#define uipIP_ADDR325

4)The MAC is default from flash:
/* Get the device MAC address from flash */
FlashUserGet(&ulUser0, &ulUser1);

Do you think that I should change the MAC ?


I try to run this example can you help me ?


Jimi,

RE: FreeRTOS/Demo/CORTEX_LM3Sxxxx_IAR_Keil

Posted by jimi hendrix on December 14, 2010
Hi Davedoors,

I also set a custom MAC but again I don't see any network activity.
pucMACArray[0] = 0x00;
pucMACArray[1] = 0xaa;
pucMACArray[2] = 0x00;
pucMACArray[3] = 0x62;
pucMACArray[4] = 0xc6;
pucMACArray[5] = 0x09;

Jimi,

RE: FreeRTOS/Demo/CORTEX_LM3Sxxxx_IAR_Keil

Posted by Dave on December 14, 2010
At the top of main.c there is a constant mainINCLUDE_WEB_SERVER. By default it is set to 0. It needs to be set to 1 to include the TCP/IP stack. Have you set it to 1?

RE: FreeRTOS/Demo/CORTEX_LM3Sxxxx_IAR_Keil

Posted by jimi hendrix on December 14, 2010
Hi Davedoors,


Thank you . The issue was mainINCLUDE_WEB_SERVER .

Jimi,


[ 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