Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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 ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists