I am using the Phytec MiniMODUL C167 with 2M of RAM. The Start167 assemble file (comes with the module) sets the RAM into two 1MB banks, each access by different chip selects. The Monitor program provided with the uVision2 Debugger defaults the first RAM bank to start at address 0x0. Under the uVision2 Target options setting, I enabled and set the second RAM bank to match with the settings in Start167 at address 0x300000. The Debugger/Monitor does not seemed to run properly (Debugger "arrow" does not follow source code during single-stepping, data does not get passed into variables correctly). My uVision2 settings for debugging with the Monitor program are:
ROM 0x0 (start) 0xE000 (size) RAM 0x10000 (start) 0x8000 (size) RAM 0x300000(start) 0x100000(size)
BOOTSTRAP MODE ============== Memory map: 00:0000h - 00:EFFFh free RAM 00:F000h - 00:FFFFh internal RAM and SFR's 01:0000h - 0F:E9FFh free RAM (optional) 0F:EA00h - 0F:EBFFh RAM used by Monitor (Data Area) 0F:EC00h - 0F:FFFFh RAM used by Monitor (Code Area) 10:0000h - 1F:FFFFh optinal free RAM (optional) 20:0000h - 23:FFFFh Flash ROM 24:0000h - .... Flash ROM (optional)