I have an application code written for tms320f2812 processor......i ported that code to tms320f28035(picocolo series) controller.......
I have problem with memory allocation......(My code contains .text = 0x001800 and .ebss = 0x000600).....
i want to run this code in RAM Mode......I modified existing 28035 (2805_RAM_Lnk.Cmd) command file like this......
PAGE 0 :
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0L1L2L3 : origin = 0x008000, length = 0x001700
RESET : origin = 0x3FFFC0, length = 0x000002
IQTABLES : origin = 0x3FE000, length = 0x000B50
IQTABLES2 : origin = 0x3FEB50, length = 0x00008C
IQTABLES3 : origin = 0x3FEBDC, length = 0x0000AA
BOOTROM : origin = 0x3FF27C, length = 0x000D44
PAGE 1 :
BOOT_RSVD : origin = 0x000002, length = 0x00004E
RAMM1 : origin = 0x000480, length = 0x000380
DRAML3 : origin = 0x009800, length = 0x000800
}
SECTIONS { codestart : > BEGIN, PAGE = 0
ramfuncs : > RAMM0 PAGE = 0
.text : > RAML0L1L2L3, PAGE = 0
.cinit : > RAMM0, PAGE = 0
.pinit : > RAMM0, PAGE = 0
.switch : > RAMM0, PAGE = 0
.reset : > RESET, PAGE = 0, TYPE = DSECT
.stack : > RAMM1, PAGE = 1
.econst : > RAML2, PAGE = 1
.ebss : > DRAML3, PAGE = 1
.econst : > DRAML3, PAGE = 1
.esysmem : > DRAML3, PAGE = 1
IQmath : > RAML0L1L2L3, PAGE = 0
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
}
error:Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x1331: Cannot access memory address 0x9000
Kindly help me to come out from this issue.....