After I updated to lwip version 1.3.1, FreeRTOS can no longer start
the tcpip_thread.
Here's the gdb output:
Program received signal SIGINT, Interrupt.
0x00013a08 in _handle_Bus_Error_Data_Fetch ()
(gdb) bt
#0 0x00013a08 in _handle_Bus_Error_Data_Fetch ()
#1 0x00001156 in xTaskCreate (pvTaskCode=0x64b4 <tcpip_thread>,
pcName=0x1432c "tcpip_thread", usStackDepth=<value optimized out>,
pvParameters=0x0, uxPriority=3,
pxCreatedTask=0x24007fbc) at FreeRTOS/tasks.c:453
#2 0x00002ef2 in sys_thread_new (name=<value optimized out>,
thread=0x2ef2 <sys_thread_new+26>, arg=<value optimized out>,
stacksize=<value optimized out>,
prio=-95887544) at src/lwip-port/AVR32AP700x/sys_arch.c:359
#3 0x0000645a in tcpip_init (initfunc=0, arg=0x0) at
src/lwip-1.3.1//src/api/tcpip.c:555
#4 0x00000136 in main () at main.c:344
The sys_thread_new in my sys_arch.c looks like this:
sys_thread_t sys_thread_new(char *name, void (* thread)(void *arg),
void *arg, int stacksize, int prio)
{
xTaskHandle CreatedTask;
int result;
result = xTaskCreate( thread, name, stacksize, arg, prio,
&CreatedTask );
.....
Which modifications in lwip 1.3.1 could be causing this?
Best regards
Jesper
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users