Quality RTOS & Embedded Software

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


Loading

Serial com help for AT91SAM7X-EK

Posted 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-EK

Posted 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-EK

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


[ 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