AnsweredAssumed Answered

Processor Expert Memory Assignment Doesn't Know the Memory Map

Question asked by GARY OLMSTEAD on Apr 17, 2009
Latest reply on May 25, 2009 by GARY OLMSTEAD

Hi --


Same project as before.  Processor Expert, Build Options tab, ROMRAM Areas = 3.


Generate linker file   yes

Constants in xROM   yes

xROM-xRAM mode     no

pROM-xRAM mode     yes 

Stack size 200

Heap size 100



ROM/RAM Area Enabled

Name .p_Interrupts

Address 0

Size       A4

Qualifier  RWX



ROM/RAM Area Enabled

Name .p_Code

Address A4

Size       3F5C

Qualifier  RWX



ROM/RAM Area Enabled

Name .x_Data

Address 1

Size       FFF

Qualifier  RW



The above setup compiles, but there is a linker error that there is a segment overflow in p_Interrupts.

Reserved size is 0x148 Overflow 0x104


When I change p_Interrupts size to any larger value, including 0xA6, and change p_Code start address to match, I get an error that says there is no access to memory from whatever start address I entered to the end address.  Processor Expert won't compile. 


What causes this, and how do I fix it?