FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [June 2007 Threads] Serial com help for AT91SAM7X-EKPosted by Allure99 on June 11, 2007 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!
RE: Serial com help for AT91SAM7X-EKPosted by embeddedc on June 11, 2007 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.
RE: Serial com help for AT91SAM7X-EKPosted by Allure99 on September 25, 2007 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!
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|