The target device of my program is Winbond W78E516B with 64k Flash ROM and my program size is just 29k, I want to know why there is a error of "CLOCKCAL V1.C(1221): error C249: 'DATA': SEGMENT TOO LARGE" after compiling with Keil C.
It is not relate to the "bible time", my problem is just related to how to put the constant array table into the on chip XRAM or into the ROM. And I know how to do it now, yeah. No need to read your such bibles pdf.
"It is not relate to the 'bible time'"
Remember: when you post to an internet forum, nobody knows anything at all about you or your project other than what you explicitly state in your post.
From your post (which was all we had to go on) it looked distinctly like you didn't understand the different memory areas - specifically DATA and CODE - inherent to the 8051 architecture. Therefore, it was natural to suggest that you require 'bible time'
"my problem is just related to how to put the constant array table into the on chip XRAM or into the ROM"
Your original post did not mention anything about a constant array table, did it?
I am very hapy my ansewr helped you.
All proffesionals must help each other.
-------
Zeusti
Senior Sofware Guru
The answer may have helped to get the table into XDATA, but would not get it into CODE space.
The trouble with putting the table in XDATA is that it also consumes CODE space, doesn't it...?
andey
i Do not undrestand youre question?
Senior Softare Guru
and you call yourself a "professional" and a "guru" ?!
Think about it: if the table is in XDATA, how will its data get into the RAM when the system powers-up...?
any,
i STIL do not undersatnd youre questiion. i am now very very busy and can not help you yet.
Senior Softwre Guru
"i am now very very busy and can not help you yet."
Don't worry Zeusti.
You go off and leave us.
Guess we'll have to try to get along without your wisdom for a while.
No need to read your such bibles pdf.
with this attitude, we can just sit back and wait for you next very basic question.
I have worked with the '51 almost since it first came out (yes, I burned my fingers a couple of time on the original "steam driven" version) and I still keep "the bible" (my print version from 1994) handy.
Erik
"...I still keep "the bible" (my print version from 1994) handy."
Likewise.
I wonder what the oldest printed copy still in existance is???
My copy has a print date of 1989. The covers are a bit ragged and the paper has browned with age.
I threw out my older version a few years back in a fit of anger, because it had a nasty error in the details concerning the IE register that nearly bit me (again).
My "bible" is not the first I had, when I got a new one, (which now is not new any more, but falling apart) I threw the old one out.
To the best of my recollection, "the bible" was, originally, part of the datasheet and Intel went "biblical" when they started making it a family instead of a chip.
1989. You people are friggin dinosaurs!
:-)
"You people are friggin dinosaurs!"
Someone once said "With age comes experience, with experience comes wisdom".
Not sure about that one.
I've known people half my age with more wisdom than me.
Wonder how old Master Zeusti is ???
Youth is fleeting - but immaturity can last forever...