EmbeddedRelated.com
Forums

prm file for mc9s12c64

Started by embitel January 20, 2012
Hello everyone,

I have problem in understanding the memory of MC9S12C64.

i am using codewarrior 5.1,PE BDM MULTILINK, BANKED MEMORY MODEL.

I have gcc prm file as follows

SEGMENTS

page0 (rwx) : ORIGIN = 0x0, LENGTH = 0x3000

data (rw) : ORIGIN = 0x3000, LENGTH = 0x1000

eeprom (rx) : ORIGIN = 0x4000, LENGTH = 0x1a00

text3 (rx) : ORIGIN = 0x5a00, LENGTH = 0x2600

lookup (rx) : ORIGIN = 0x102400, LENGTH = 0x1C00

text38 (rx) : ORIGIN = 0x0F0000, LENGTH = 0x4000

text39 (rx) : ORIGIN = 0x0F4000, LENGTH = 0x4000

text3a (rx) : ORIGIN = 0x0F8000, LENGTH = 0x4000

text3b (rx) : ORIGIN = 0x0FC000, LENGTH = 0x4000

text3c (rx) : ORIGIN = 0x100000, LENGTH = 0x2400

text3d (rx) : ORIGIN = 0x104000, LENGTH = 0x4000

text (rx) : ORIGIN = 0xC000, LENGTH = 0x3780
END

I need to covert this into codewarrior prm file.

Can someone tell how can i do this prm file.

i tried different ways but could not succeed and i have space allocation error.

i could not succeed to map sections
text38,text39,text3a,text3b,text3c,text3d in gcc to code warrior prm.

Thanks,
Embitel.