Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

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.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner