|
Memory Settings for uVision2 Debugger/MonitorNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Phong Ha Posted 10-Mar-2003 23:08 GMT Toolset C166 |  Memory Settings for uVision2 Debugger/Monitor Phong Ha 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)
The Debugger/Monitor seemed to work fine if the RAM definition at 0x300000 is not there.
Probing the Keil documentation in the install directory, I found:
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)
I tried placing the second RAM bank (not all of the 1M since does not fit) also to be within the "Free RAM" area but this does not work.
Suggestions?
Thanks, Phong | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|