Quality RTOS & Embedded Software

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




Loading

PIC32 Demo another certain behavior

Posted by Ralf Anders on January 17, 2009
Hi,

in ..\Common\Minimal \comtest.c is the definition for the comm.buffer size as follows:

#define comBUFFER_LEN ( 24 ) /* 'X'-'A'+1 ... */

OK, Richard mentioned, this demo is "not a optimized solution".
But it works. But only, if the buffersize is lower then 108 ?!
With

#define comBUFFER_LEN ( 108 ) /* or larger value */

it seems, as if the OS does not start ?!

ralf

RE: PIC32 Demo another certain behavior

Posted by Richard on January 17, 2009
Look at how the buffer is used. If it dimensions a queue then look at: "I added a simple task to a demo, and now the demo crashes!" on http://www.freertos.org/FAQHelp.html . http://www.freertos.org/a00111.html . These links will be relevant if vTaskStartScheduler() is returning.

Regards.

RE: PIC32 Demo another certain behavior

Posted by Ralf Anders on January 17, 2009
Thanks Richard.
It is very pretty to get answers even on saturday afternoon (in Germany).

ralf


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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