Hi all, i am working on am small project using 89s52. can anybody please help me with the error in keil.. while compiling i am getting an error in keil...
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: REEAD SEGMENT: ?DT?SAS_WITH_RTC Program Size: data=136.1 xdata=0 code=4953 Target not created
what does this error mean. how can i get out of this...
You have included a source file containing code you never call - so the linker notifies you that you should consider removing that code from the project.
Thanks... But have also checked the code completely.... there are no functions or strings or any code which are left uncalled..
i have tried writing the code like.. unsigned char chanuser[1] instead of unsigned char chanuser[11]... its working... is this error something related to RAM..
"Works perfectly" doesn't change the fact that the linker may complain that you have code you don't need in your project. And the linker did write a symbol name "REEAD" in the message.
Next thing - running out of RAM will get you into troubles. If the solution is to make the buffer smaller is obviously something only you can answer - but I would find it strange if a one-element array is enough if you originally write the code with an 11-element array. Note that programs may seem to work, even when writing outside of the allocated buffer size.
Having zero compilation errors/warnings and zero linking errors/warnings doesn't mean you have a well-working application.
what can i do in such cases.... i am not getting exactly146 what i have to do...
what can i do in such cases.... i am not getting exactly what i have to do...
it gives an error
is this error something related to RAM..
well, first WHAT is the error, second what are you making, third what exact chip,
i am using 89s52 microontroller... i am trying to make an elecronic locker using 20x4 character LCD, using GSM module... but when i try to compile it... it gives me and error
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: REEAD SEGMENT: ?DT?SAS_WITH_RTC Program Size: data=134.1 xdata=0 code=4944 Target not created
i dont understand what this error means.... and how can i come out of it....
as i am adding a addition string like unsigned char xx[1]... it works... but when i increase the array from 1 to 2... unsigned char xx[2] it gives an erray....
"i dont understand what this error means...."
And maybe you could tell us your process to solve problems if you do not understand what an error means? Does it involve Google or manuals?
"but when i increase the array from 1 to 2... unsigned char xx[2] it gives an erray...."
So what was your conclusion from this? Remember that you have already received an answer you should have considered.
How much RAM does your processor have? How much have you consumed? Is it expected that you should be able to add more variables?
my processor has 256b of ram... and how can i check the memory which i consumed. i selected DEBUG -> start/stop debug session. i got a memory window at the bottom of the page... but how can i check there... what should i type in address
View all questions in Keil forum