FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [March 2008 Threads] getting error in MPLAB C 18 .....Posted by crazyyyyy on March 28, 2008 i m getting this error when i m going to build the project.
Error - section '.udata_portheap.o' can not fit the section. Section '.udata_portheap.o' length=0x00000476.
please tell what i am missing... regards
RE: getting error in MPLAB C 18 .....Posted by Richard on April 1, 2008 Have you changed the linker script? The one in the FreeRTOS.org download creates one large block into which the heap can fit. If you are using the linker script from your MPLAB distribution then you will get this error.
Regards.
RE: getting error in MPLAB C 18 .....Is there a BKM to manipulate the lkr file provided with MCC18 to work with FreeRtos? I´m trying to use a PIC18F4620 with a DEMO and I need the associated lkr file or some knowledge to correctly modify the one provided in the MCC18 distribution.
Regards.
RE: getting error in MPLAB C 18 .....I modified the original from Microchip for pic18F4620 to allow the heap to fit.
Here it is:
// $Id: 18f4620.lkr,v 1.3 2008/05/20 19:32:00 Lorenzati Exp $ // File: 18f4620.lkr // Sample linker script for the PIC18F4620 processor
LIBPATH .
FILES c018i.o FILES clib.lib FILES p18f4620.lib
CODEPAGE NAME=vectors START=0x0 END=0x39 PROTECTED CODEPAGE NAME=page START=0x3A END=0xFFFF CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED CODEPAGE NAME=eedata START=0xF00000 END=0xF003FF PROTECTED
ACCESSBANK NAME=accessram START=0x0 END=0x7F DATABANK NAME=BIG_BLOCK START=0x80 END=0xF7F ACCESSBANK NAME=accesssfr START=0xF80 END=0xFFF PROTECTED
SECTION NAME=CONFIG ROM=config
STACK SIZE=0x60 RAM=BIG_BLOCK
Can you tell me if it´s OK? It was working ok till I keep adding features to my program and get this error:
CORE-W0015: Out of bounds Memory Access (at address 0x030000 on 0x000002 bytes)
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|