??? 07/06/06 06:56 Read: times |
#119718 - Not XRAM Responding to: ???'s previous message |
Tang Bc said:
... i need to add xRAM ... because 89c52 do not have xRAM. I said:
Because it's an I2C RAM, you will not be able to use it as XDATA. That's not due to 'C', assembler, or any other programming language - that's a fundamental 8051 thing! XDATA (or "XRAM") means "memory addressed by the MOVX instruction" - and the MOVX instruction causes accesses on the 8051's parallel address+data bus. Hence a serial memory can never give you XRAM. As Kalpak says, and since you're only talking about 256 bytes anyhow, by far the easiest solution would be to choose a different controller that has sufficient on-chip XRAM: http://www.8052.com/forumchat/read.phtml?id=119716 Do a parametric search here: http://www.keil.com/dd/search_parm.asp |
Topic | Author | Date |
PCF8570 interface to AT89C52 | 01/01/70 00:00 | |
If that has i2c interface, | 01/01/70 00:00 | |
You mean one of these? | 01/01/70 00:00 | |
Not XRAM | 01/01/70 00:00 | |
Don't know how to use the RAM in 'C' | 01/01/70 00:00 | |
Please post formatted code | 01/01/70 00:00 | |
yes, but why do it externally | 01/01/70 00:00 | |
reason without changing uC | 01/01/70 00:00 | |
ISP | 01/01/70 00:00 | |
How to make ISP programmer | 01/01/70 00:00 | |
you do not 'make' isp | 01/01/70 00:00 |