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


Read on serial COM Port ColdFire

Posted by Fabian Lanzini on December 1, 2009

I've just updated freeRTOS from v3 to v6.0.1. Everything was working fine on v3 and I'm trying to do it on v6. I've met the first problem : when I tried to read a serial port and to fill data in a tab, It lose some packets.

Here's my code that used to work fine on v.3 :

*xPortRF = xSerialPortInit( serCOM1, ser57600, serNO_PARITY, serBITS_8, serSTOP_1, 40 );



while(!xSerialGetChar(xPortRF, &rxchar,portTICK_RATE_MS));


And when I send on serial port for example 01 - 02 - 03 - 04 - 05 - 06

In my tab I have : 01 - 02 - 04 - 01 - 02 - 04 - 01 - 02 - 04 ...

Thank you for the help you may provide to me !

RE: Read on serial COM Port ColdFire

Posted by MEdwards on December 1, 2009
Search for "Changes between V4.8.0 and V5.0.0 released April 15, 2008" on http://www.freertos.org/History.txt

Have you taken into account the upgrade instructions given there?

RE: Read on serial COM Port ColdFire

Posted by Fabian Lanzini on December 2, 2009
Yes I've taken this instructions.

I forgot to update some files. I've find a new serial.c file v6.0.1 but there's no more xSerialPortInit function.

Where could I found the serial.c file where xSerialPortInit is implemented ?

Thank you

RE: Read on serial COM Port ColdFire

Posted by Fabian Lanzini on February 18, 2010

I come back still with the same problem !

This time, I'm using a COM port to communicate with a GPS and to read GPGGA and GPRMS data.

3 month ago, I met a problem with my ColdFire 5213 because it was reading only half of the data, so I've changed the serial buffer size from 64 to 128, and this resolved the problem.
Yesterday, the problem came again, but instead of increasing the size of the buffer to resolve it, it was necessary to reduce it to 64 but I don't know why...
Does anyone has an idea of this problem origin? How can I work with the latest FreeRTOS without the xSerialPortInit function?

Thank you very much if you can help me.

[ 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