I am using AT91SAM7X256-EK with FreeRTOS and testing the web browser demo( http://www.freertos.org/portSAM7XEclipse.html ) based on uIP. I compiled the project with Eclipse and it compiled fine. I do not have the JTAG cable and connected the board with my laptop with USB cable and a cross wired LAN cable. At first the LEDs flash as they are supposed to. When I ping the IP of the board from command prompt it responds fine. But when I try to load the IP from my browser,the LEDs stop flashing, they freeze, a page is loaded on the browser for a fraction of a second and momentarily the browser shows 'The connection was reset'. Only if the SAM board is unplugged and powered on again then it 'unfreezes'.
I don't know what the problem is. Any help will be much appreciated.
Without a debugger connected so you can provide additional feedback the help we can give is somewhat limited. As a first suggestion I would try increasing the size of the stack allocated to the network task.
Thanks for your response.
I tried that. I increased the stack size to 1300 from 780(which was the default that came with the FreeRTOS download). It did not help. Should I increase it further?
No, I don't think you need to go higher than that. If 780 was how it was set then I would not expect it to need to be much larger - there was a possibility that a compiler version change had made some difference, but it should not be a massive difference.
Can you tell if the code has gone into an assert()?
Can you get a debugger so you can see what the code is doing when the LED stops flashing?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.