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

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 ]    [ 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