Is it possible to simulate external memory with a DBW of 16-bit? My external memory is setup so that 2 chips with 8-bit memory are sharing the same memory location. I would like to be able to simulate this with the uVision debugger. I enabled the memory region for the debugger with the statement
MAP 0x10000000,0x1000FFFF READ WRITE // allow R/W access to external
The memory windows shows addresses. Each address correspons to a single byte. Maybe you take a look to ARM hardware manuals to see how this is mapped to physcial memory. However these basics are really hard to explain in words. The memory width does not change the physicall address behaviour at all. Reinhard
Okay, thanks. I was beginning to suspect that my concept of the data bus width was not correct.
Ok, forgetting data bus width, I don't think data bus width is my problem. I have 32k worth of addresses (0x000 - 0x7FFF) and each addresses can hold 2 bytes (16 bits) worth of data. That's 64kBytes worth of data from 0x1000000 to 0x10007FFF. How can I get the simulator to reflect that?