/************************************************************************/ /* File Name: PM.cmd */ /* Description: linker command file to place code at 00h (PM) */ /************************************************************************/ MEMORY { PAGE 0: /* Program Memory */ EX1_PM :ORIGIN=0H , LENGTH=08000H /* 32K flash */ PAGE 1: /* Data Memory */ REGS :ORIGIN=0H , LENGTH=60H /* Memory mapped regs & reservd address*/ BLK_B2 :ORIGIN=60H , LENGTH=20H /* Block B2 */ BLK_B0 :ORIGIN=100H , LENGTH=200H /* Block B0, On-chip DARAM if CNF=0 */ BLK_B1 :ORIGIN=300H , LENGTH=200H /* Block B1 */ EX1_DM :ORIGIN=0800H, LENGTH=7800H /* External data RAM */ GM_DM :ORIGIN=8000H, LENGTH=8000H /* External data RAM, Global memory */ PAGE 2: /* I/O Memory */ IO_IN :ORIGIN=0FFF0H, LENGTH=0FH /* On-chip I/O mapped peripherals */ IO_EX :ORIGIN=0000H, LENGTH=0FFF0H /* External I/O mapped peripherals */ } SECTIONS { .text :{} > EX1_PM PAGE 0 .bss :{} > BLK_B2 PAGE 1 .data :{} > BLK_B2 PAGE 1 }