I am beginner.Can you help me with using XRAM memory in this microcontroler? Can you write mi easy and objective example how write to XRAM and read from XRAM in C language? Or existing any routine with any methods for this operate?Than you very much! Ales
I want using internal XRAM (as classic RAM memory), no external XRAM.
Note that it doesn't matter if the extra memory is internally or externally - the processor still has different instructions to access different classes of memory. XDATA will requre other instructions than DATA.
That doesn't actually make any sense in the 8051 architecture!
For details of the 8051 architecture, see the links here to the so-called "bible" for the 8051: www.8052.com/.../120112
Tutorials here: http://www.8052.com/tutorial
Books here: http://www.keil.com/books/8051books.asp
Also see this thread: http://www.keil.com/forum/docs/thread15878.asp
I am study datasheet, but I am not know about well. There is not it what I whant. I would like example in C language.(I am beginner). Thanks
giving you "example in C language" would get you going for about 2 minutes.
till you have read "the bible" (several times) and worked through (I did not say 'read') the "getting started guide" 'helping' you will be futile.
Erik
OK, thank you for information....I go to studing and studing and testing and testing...
testing and testing...
do not maske the mistake of "testing to find out what works" that is NOT 'testing' that is bungling your way through. By that method you will never find out if something is right, only if "it works under these specific circumstances". I can't count the posts "why does this working design not work"
The purpose of testing is to see if you have made a mistake in implementing something you, based on what you have learned, know works if implemented right.