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


Serial com help for AT91SAM7X-EK

Posted by Allure99 on June 11, 2007

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

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 ]    [ 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