powerf wrote on Thursday, June 04, 2009:
Hi
I am using olimex sam7ex256 EB and Eclipse SR1 with yagarto 4.3.3, and I have quite weird problem. I have created my own freertos application using some of the files which were used in the ethernet/usb example for at91sam7x256 Eclipse.
Those files are: makefile, boot.s, atmel-rom.lds, kernel files and includes, Cstartup_sam7.c, heap2.c, port.c, portISR.c, portmacro.h, main.c
I’ve added my code, like creation on 2 simple tasks and communication between them and interrupt. And everything works fine, but only when in one of my source .c files there are added two lines of code, which normally were implemented in ethernet example in uIP_Task.c file in function vProcessInput(). These two lines of code are (after my modification to limit this code as much as possible) :
for example:
void MyFunc (void)
{
char *c;
if(strstr( c, "LED0=1" ) != NULL ){}
}
When those two lines are commented, project doesnt work at all, and when i run debugger, it ends id .dabt section
What is wrong? I do not use any of ethernet example files at all, those files and paths are also deleted from makefile and there is no connection between my application and demo apps.
Can someone tell me why is this happening? :]