CPU_ROM = READ_ONLY 0x2100 TO 0x39FF; CPU_RAM = READ_WRITE 0x3A00 TO 0x3FAF; RAM_FB = READ_ONLY 0xFB1000 TO 0xFB1FFF; RAM_FC = READ_ONLY 0xFC1000 TO 0xFC1FFF; RAM_FD = READ_ONLY 0xFD1000 TO 0xFD1FFF;PLACEMENT _PRESTART, STARTUP, ROM_VAR, STRINGS, VIRTUAL_TABLE_SEGMENT, //.ostext, NON_BANKED, COPY INTO CPU_ROM; DEFAULT_ROM INTO RAM_FD,RAM_FC,RAM_FB; DEFAULT_RAM INTO CPU_RAM; END
Message Edited by Alban on 2006-09-26 02:16 PM
Solved! Go to Solution.
Thanks for your reply. But my concern is that CW 4.5 for HCS12XEP100 doesn't have utility to load code in the flash area. That’s why I need to put code in Paged RAM rather than putting in flash.
Is there any way to run the code by placing it into the Paged RAM?
Rahul
Message Edited by Lundin on 2006-09-2604:19 PM