We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
MON51 require external ram or rom to work ? i m using the 89s8252 from atmel this microcontrol have 256 byte internal ram.
if i using this chip, 1. can i use the internal ram 256 byte for program code? without using the external ram ? 2. can i use the external ram, to store the program code and mon51 program ? 3. or MON51, must require external ram and rom, cant use interal ram ? external ram for store program code, and eeprom to store monitor51 program ?
You keep asking this question!
You are struggling because you have not studied the basics of the 8051!
"1. can i use the internal ram 256 byte for program code?"
No, you can not. Nobody can - it is an impossibility in the 8051 architecture!
Please take time to study the so-called "bible" for the 8051:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
And take a look at these Tutorials:
http://www.8052.com/tutorial
And get yourself a decent Book (or books):
http://www.keil.com/books/8051books.asp http://www.8052.com/links http://www.8052.com/book/
1. No you can Not. 2. Yes there is a trick to do this. But how are you going to get the Monitor in to RAM. 3.the 8052 has several memory spaces. some are read / Write, some are Read Only.
"some are read / Write, some are Read Only."
And only is is "execute".
(the clue is in the name...)