This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Overlapping areas in MAP files

Guys,
I'm facing a bit strange problem. I'm not able to download the entire code (Hex file size : 48 K) using the uVision2 mon251 dll though I'm able to do the same for code of smaller sizes. After downloading around 55% of 48k it sarts cribbing: "Command WriteBlock timed out". The FF segment is 64K in size so I really don't think it could be a memory shoratge problem. What could be possible is that Monitor code or data segments might be overwritten. So I compared the MAP files of both my application program and the Monitor 251.
The MAP file of MON251 says
START STOP SEGMENT NAME
========================================000000H 000007H "REG BANK 0"
010000H 01001FH ?FD?MON251_DATA
FF0000H FF0104H INITSEG
FF0105H FF01A8H INSTALLCODE
FF01A9H FF07E7H ?PR?MON251
FFFFF8H FFFFF9H ?CO?INSTALL?1

The MAP file of the application says
FF0000H FF0226H ?CO?asm?0
FF0000H FF0002H ?CO?START251?4
FF000BH FF000DH ?PR?IV?1
FF0227H FF0C1DH ?PR? XYZ

Apparently there is some overlap in the code segment area (I checked out the data segment areas for both. They seemed to be fine). I tried relocating my "asm" segment to some other address using ORG instruction but it didn't do the required thing. What could be the problem in this entire episode. Do I need to relocate some part of the code segment of my application to somewhere else. If so how do we do that ??

thanx,
vipin

0