Hello,
I am trying to build a project on TMS320F28335 processor for flashing program software, below snippet is the linker command file modified for my requirements. Even though i have specified the section for "codestart" the linker is always spitting an error "entry-point symbol "code_start" undefined".
Can anyone help me with this issue.
Thanks,
Ajay
----------------------------------------------------------------------------------------------------------------------------------------------------
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to L0 Mirror" bootloader mode */
/* is fetched from boot ROM. */
BEGIN : origin = 0x3F8000, length = 0x000002 /* on-chip RAM L0 Mirror */
PRAML0 : origin = 0x3F8002, length = 0x000FFE /* on-chip RAM L0 Mirror */
PAGE 1 :
BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
DRAML0 : origin = 0x3f9000, length = 0x001000 /* on-chip RAM L0 Mirror */
FLASHB_H : origin = 0x300000, length = 0x037FF0 /* on-chip FLASH sectors B to H*/
IMG_PROPERTIES : origin = 0x337FF0, length = 0x000010 /* 16x16 on-chip FLASH for Image Properties*/
}
SECTIONS
{
/* Intialize Sections */
.cinit : > PRAML0 PAGE = 0
.text : > PRAML0, PAGE = 0
.pinit : > PRAML0, PAGE = 0
.switch : > PRAML0, PAGE = 0
code_start : > BEGIN, PAGE = 0
ramfuncs : > PRAML0 PAGE = 0
/* .stack : > RAMM1, PAGE = 1*/
.ebss : > DRAML0, PAGE = 1
.econst : > PRAML0, PAGE = 0
.esysmem : > DRAML0, PAGE = 1
IMG_Props : > IMG_PROPERTIES PAGE = 1
IMG_Space : > FLASHB_H PAGE = 1
RAM_Buffer : > RAML0 PAGE = 1
}
----------------------------------------------------------------------------------------------