Quality RTOS & Embedded Software

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


Loading

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!
Tobias

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?


Thanks


[ 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