Serial com help for AT91SAM7X-EK

Hi, I am using AT91SAM7X-EK and Rowley CrossStudio and manage to get the IwIP Demo working with the board. Next thing I want to do is to modified the Demo code to use UART for communication. I am new to RTOS. Can anyone provide me some help to create new Serial Task to read and write through PC Hyper terminal. Many Thanks!

Serial com help for AT91SAM7X-EK

Take a look at the SAM7S demo for IAR.  This includes a UART example but uses the IAR syntax.  You need to convert this to the syntax required by GCC.  There are examples of how to write FreeRTOS friendly ISRs in the lwIP demo, for example the EMAC driver and USB driver.  Also take a look at the LPC2106 documentation page on the FreeRTOS web site which describes how to write ISRs.

Serial com help for AT91SAM7X-EK

Hi, Thanks ! I added the serial.c and serialISR.c task and it has been working successfully. The Web Server task and USB task has been removed for it will not be required for my application. I have also making the communication between my Serial port with my GSM modem (AT command) in Normal mode (no handshaking) and it is working OK so far. However, I am anticipating that i will need my serial to work in Modem or at least Hardware Handshaking mode to have a reliable communication with the Modem. Any idea or any example on how to set up the serial and serialISR in Hardware Handshaking Mode (HWHSH) or modem mode?  Please give me some Hint. Thanks in advance!