Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/28/03 12:01
Read: times


 
#37474 - Insufficient DRAM memory
Hi,
This is my simple program.

sdsea.c
-------
# include <stdio.h>
# include <8051.h>
# define XBYTE *(xdata unsigned char *)
unsigned char _sdcc_external_startup()
{
return 0;
}
struct custdetail
{
unsigned char scno[7];
unsigned char c_name[31],c_add1[31],c_add2[31],c_add3
[31];
}cust;
void main(void)
{
float il,ti,tp;
}

I compiled the above program with ===>
sdcc -L d:/sdcc09/sdcc/share/sdcc/lib/large -I
d:/sdcc09/sdcc/share/sdcc/include --xram-loc 0x5000
--code-loc 0x2000 --data-loc 0x0008 sdsea.c -dumpall
--stack-after-data

I get the following error :-
*** ERROR: Insufficient DRAM memory . 11 bytes short

What is the problem ?

The Steps Taken By Me :
-----------------------
I found after experimenting that when i increase
the number of "unsigned char variables" in the
"struct cust" , I get the aslink error with
the close/debug window .. along with the increase
in the number of bytes short .

How to solve this ?
Should i need to set some other parameters ?

Do Reply and help in solving this.
karthik bala guru
tkarthikbalaguru@yahoo.co.in

List of 12 messages in thread
TopicAuthorDate
Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
RE: Insufficient DRAM memory            01/01/70 00:00      
So what is DRAM memory (sic) here?            01/01/70 00:00      

Back to Subject List