Quality RTOS & Embedded Software

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




Loading

freertos cygnal example problem in sdcc compi

Posted by sachin kumar on July 24, 2009
Dear all,
i want to port freertos on my imbuent 8051 board. But provided cygnal example is giving error while compiling with sdcc.

below is the error message;


?ASlink-Warning-Couldn't find library 'libfloat'
ParTest/ParTest.rel: cannot open.
make: *** [main] Error 1

-------------------------------------------------------------------
i am using sdcc version 2.9.0 and make utility provided by yagarto toots.


please sugget
Regards
sachin

RE: freertos cygnal example problem in sdcc c

Posted by Richard on July 24, 2009
I would imagine the libfloat issue was something local to your machine, a path or something. However the SDCC port is known not to work with the latest SDCC builds. There has been quite a lot of discussion about it here. I should of added it to the known issues list (will do that right now).

Regards.

RE: freertos cygnal example problem in sdcc c

Posted by sachin kumar on July 24, 2009
hi richard,
i am able to compile this for sdcc v 2.5.0.
Thanks for your support

kind regards
sachin

RE: freertos cygnal example problem in sdcc compi

Posted by Andre Mendonca on July 24, 2009
I have the same problem which sachin resolved. I am using Cygnal IDE and sdcc v 2.5.0. My demo project doesnt compile. The message error is:

?ASlink-Error-Could not get 155 consecutive bytes in internal RAM for area DSEG.
?ASlink-Error-Could not get 72 consecutive bytes in internal RAM for area DSEG.
?ASlink-Error-Could not get 46 consecutive bytes in internal RAM for area DSEG.

Anyone knows how to solve this problem?

RE: freertos cygnal example problem in sdcc compi

Posted by dave m on July 24, 2009
I haven't gotten FreeRTOS working on an 8051, but I have been working with the chip quite a bit recently. Those error messages are pretty clear: the 8051 only has between 128 and 256 bytes of "DATA" RAM. If your microcontroller has more, it'll be "external RAM" or "XRAM." The memory spaces are separate, and it's a hassle for the compiler (or for you) to get things all in the right spot, without using up the internal RAM. You haven't succeeded in doing this: some variables you've defined are being located in internal RAM. You need to look into SDCC's support for memory models. You'll probably have to use the "LARGE" model, which places many / most things in XRAM.

RE: freertos cygnal example problem in sdcc compi

Posted by Andre Mendonca on July 27, 2009
Your response solve my problem. Thanks, spacewrench.


[ 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