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


Problem CGI uIP SAM7x256 IAR

Posted by Tonau on April 6, 2009
Hi everybody,

I'm using the FreeRTOS port AT91SAM7X IAR. I want to recieve data from the webserver pages and store the data in the SAM7X. All examples from other compiler and other microcontroller have an example for it. But for the AT91SAM7X IAR port there is no such example. It seems like my port uses an older version of uIP. How can I receive data with this old implementation? What variable must be in the *.html file and how do I get it into my mcu as an variable?
Do I have to upgrade to a newer Version? If yes, how do I do it?

Thanks in advance!

RE: Problem CGI uIP SAM7x256 IAR

Posted by Dave on April 6, 2009
Search the demo directory for a file called io.shtml. This will highlight the demos that do what you want. Simply open one of the demos that includes io.shtml to see which files are included, then add those files to your IAR project. You will need to ensure that the byte alignment and structure packing is correct within the uIP code for the IAR compiler.

RE: Problem CGI uIP SAM7x256 IAR

Posted by Tonau on April 6, 2009
Thanks for this tip.
I already tested it in this way. I copied the webserver folder from the ATSAM7X Eclipse port to my IAR project and included all necessary files. By doing it this way, I got al lot of error messages.
Also there are no comments on how io.shtml and the httpd-cgi.c works. Can you explain me how the dataflow is?


[ 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