Home arrow Support arrow Forums

Luminary Micro Forums

<< Start < Prev 1 2 3 Next > End >>

wella

Platinum Boarder

2009/02/20 02:25

Re:FreeRTOS + lwIP + LM3S6965

Yes, I can. You are doing something wrong :). I do not know exactly what.

When I released pre-alfa version of port lwip+freertos+lm it was only source code with comments. No more info. This was intended for users with great knowledge about lm,lwip,freertos but they do not have time to play with it.

Probably you will have to wait until somebody writes step by step guide.

You can find some info also on http://www.freertos.org/portlm3sx965.html. On this page http://www.freertos.org are instructions howto setup Eclipse etc.

login or register to reply

orinem

Gold Boarder

2009/02/20 15:10

Re:FreeRTOS + lwIP + LM3S6965

wella wrote:
Yes, I can. You are doing something wrong :). I do not know exactly what.

When I released pre-alfa version of port lwip+freertos+lm it was only source code with comments. No more info. This was intended for users with great knowledge about lm,lwip,freertos but they do not have time to play with it.

Probably you will have to wait until somebody writes step by step guide.

You can find some info also on http://www.freertos.org/portlm3sx965.html. On this page http://www.freertos.org are instructions howto setup Eclipse etc.



Could be the COMPILER_DIR=/home/psilva/opt/CodeSourcery/ArmCpuSourcery_G++_Lite/bin/
line in the makefile needs setting or removing...


I just built it under Eclipse 3.4.0, Codesourcery Lite 2007q3-53 running on Windows 2008 Server 64 bit version and all I needed to do was comment out the COMPILER_DIR definition.

Orin.

login or register to reply

psilva

Expert Boarder

2009/03/04 05:58

Re:FreeRTOS + lwIP + LM3S6965

HI

Could be the COMPILER_DIR=/home/psilva/opt/CodeSourcery/ArmCpuSourcery_G++_Lite/bin/

line in the makefile needs setting or removing...


Yes you could.

I used it, because I'm compiling using linux and even the compiler dir is in the path eclipse claim about compiler not found.
I did it by this way, so who use the project in windows can take off this line, and everything will work.

regards

Paulo

login or register to reply

dberenguer

Expert Boarder

2009/06/19 11:20

Re:FreeRTOS + lwIP + LM3S6965

Hi Paulo,

I successfully used your port on my LM3S8962 platform with very little changes (Thanks a lot). Now I've even reduced the app code to a minimum so that I could base my future developments on it.

However, I'm trying to add simple UDP comms following these examples:
http://www.ultimaserial.com/avr_lwip_udp.html

I'm mainly interested in using the BSD API but I tried with the Raw API too... both without success. My application is not able to send or receive any UDP packet (unicasted or broadcasted). I verified the lwipopts.h file with other lwIP users and didn't find anything to be changed.

Has anyone used UDP comms with lwIP under FreeRTOS before? Could you share your settings with us please?

Thanks in advance for your help,

Daniel.

login or register to reply

oksan

Fresh Boarder

2009/08/20 11:12

Re:FreeRTOS + lwIP + LM3S6965

Has anyone used DHCP with lwIP(V1.3.0) under freeRTOS?

I successfully use the STATIC IPaddr in lwIP under freeRTOS, but it will be fail when I enable DHCP option.

login or register to reply

ravaz

Platinum Boarder

2009/08/23 21:29

Re:FreeRTOS + lwIP + LM3S6965

Hi Wella,

I just downloaded and compiled your example. I was looking at the code. In the main.c file I found this function

Code:

 void ethernetThread(void *pvParameters) {     IP_CONFIG ipconfig;     UART1printf("Aguardando 10segundos para iniciar Ethernet\n");     vTaskDelay(10000);     UART1printf("Iniciando a interface Ethernet\n");     ETHServiceTaskInit(0);     ETHServiceTaskFlush(0,ETH_FLUSH_RX ETH_FLUSH_TX);     ipconfig.IPMode IPADDR_USE_STATIC;     ipconfig.IPAddr=0xC0A80064;     ipconfig.NetMask=0xFFFFFF00;     ipconfig.GWAddr=0xC0A80001;     LWIPServiceTaskInit((void *)&ipconfig);     for(;;)     {     } }



This is a thread that only call some initialization stuff and then wait forever doing nothing, it is not a little bit a waste of memory, wouldn't be better do it otherwise? Maybe this is just a temporary soultion?

Best regards,

Ramon

login or register to reply
<< Start < Prev 1 2 3 Next > End >>