FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [July 2014 Threads] AT91SAM7X FreeRTOS web browser Demo freezes when loaded from web browser Posted by awal43 on July 11, 2014 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.
AT91SAM7X FreeRTOS web browser Demo freezes when loaded from web browser Posted by rtel on July 11, 2014 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.
Regards.
AT91SAM7X FreeRTOS web browser Demo freezes when loaded from web browser Posted by awal43 on July 11, 2014 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?
AT91SAM7X FreeRTOS web browser Demo freezes when loaded from web browser Posted by rtel on July 12, 2014 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?
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|