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

SEGMENT COMBINATION ERROR - SEGMENT "REG BANK 0"

Hi,

I am building a project that includes an ABS file. The ABS file was built previously for a ROM build. I am now trying to build a "patch" and including the ABS file in the project so that linker uses the absolute addresses in the ABS file. My new project currently has only one simple function.

Upon building the patch project I get the following error

*** ERROR L101: SEGMENT COMBINATION ERROR SEGMENT: "REG BANK 0" MODULE: ..\..\ROM\Build\objects\ROM.ABS (CAPMEAS)

I see that the ROM.map file has the following

START STOP LENGTH ALIGN RELOC MEMORY CLASS SEGMENT NAME
=========================================================================

* * * * * * * * * * * D A T A M E M O R Y * * * * * * * * * * * * *
000000H 000007H 000008H --- AT.. DATA "REG BANK 0"

The PATCH.map file shows the following error and not have the above line.

IGNORED SEGMENTS: "REG BANK 0"

*** ERROR L101: SEGMENT COMBINATION ERROR SEGMENT: "REG BANK 0" MODULE: ..\..\ROM\Build\objects\ROM.ABS (CAPMEAS)

Please advise.

Thanks and Regards,
Nitya

0