??? 06/19/06 23:26 Read: times |
#118557 - Ready to XRAM My Head Against the Wall! |
Atmel AT89C51RD2 w/ 64k internal flash and 1792 bytes internal XRAM at my disposal.
Problem: despite all attempts, apparently I can't properly write/read to the XRAM inside the device. My simple test code reads a data table (byte at a time)from ROM, writes each byte to XRAM, and sends to serial port (so I can see what happens). It reads back the same bytes from XRAM for verification. All known registers (AUXR = 10h and hardware byte HSB = BBh) are set verified. Set with XRAM enabled, no external devices, XRAM access set to max 1792 bytes. All I can read back is garbage! I'd REALLY appreciate your help Thanks :) |
Topic | Author | Date |
Ready to XRAM My Head Against the Wall! | 01/01/70 00:00 | |
Show us the code! | 01/01/70 00:00 | |
Post Your Code | 01/01/70 00:00 | |
Code Posted | 01/01/70 00:00 | |
OK | 01/01/70 00:00 | |
That's different on the Atmel | 01/01/70 00:00 | |
After reading the datasheet.. | 01/01/70 00:00 | |
Already Did All of That... | 01/01/70 00:00 | |
What your code is doing... | 01/01/70 00:00 | |
I'll Try That | 01/01/70 00:00 | |
Thats the magic of 8051! | 01/01/70 00:00 | |
But wait! There's more! | 01/01/70 00:00 | |
an obvious miss | 01/01/70 00:00 | |
Problem Solved![]() | 01/01/70 00:00 |