electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

how to use sdcc in uC having more than 1K bytes of RAM.


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> how to use sdcc in uC having more than 1K bytes of RAM.
Author Message
vikrant



Joined: 30 Jun 2006
Posts: 20


Post22 May 2007 6:17   

how to use sdcc


hi all,

I am using Philips p89v51RD2 microcontroller and SDCC compiler.
This controller has 1K of RAM size but still sdcc compiler is giving Error due to overflow of memory size, I think sdcc still taking Maximum RAM size to 128 bytes,

Error which is given by sdcc is

Error: Couldn't get 62 bytes allocated in internal RAM for area DSEG.

tell my how i can use sdcc in order to use all 1K of the microcontroller .
Back to top
Google
AdSense
Google Adsense




Post22 May 2007 6:17   

Ads




Back to top
jrz126



Joined: 08 May 2007
Posts: 2


Post23 May 2007 13:26   

how to use sdcc in uC having more than 1K bytes of RAM.


I had a similar problem when using a PIC18F4520. In my case, there was a linker file that was used to set up the ram into 5 or 6 smaller banks. By changing that file, I was able to allocate one large continuous segment.

I cant say for sure if this is your problem, since I dont have any experience with that compiler. I'd try looking around in the documents for the compiler and see if there is anything there.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> how to use sdcc in uC having more than 1K bytes of RAM.
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Is dualport ram much more costly than singleport ram asic? (10)
serial sending more than two bytes from a VB6 (13)
how to use RS485 bus to interconnect more than 32 points (3)
How to access entire 512 bytes RAM of AT89C51RC in Keil C (1)
Use more freq than max supported Processor frequency (4)
how to use sprintf in sdcc for folating point variables (1)
why more clock skew when use DCM rather than no DCM? (2)
how to sum more than two digital signals ? (3)
How to upload book with more than 10 MB size (3)
desinning 32 Bytes RAM (help Rq) (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS