Other Parts Discussed in Thread: TMS320C6727
hi,
I am building project with TMS320c6727 DSP and i wrote the following linker command in the linker command file:
MEMORY
{
ROM_VECS : origin = 0x00000000 length = 0x00001000
ROM : origin = 0x00001000 length = 0x000BF000
VEC : origin = 0x10000000 length = 0x00001C00
RAM : origin = 0x10001C00 length = 0x00020E74
SLOWRAM : origin = 0x10022A74 length = 0x0001D58C
SDRAM : origin = 0x80000000 length = 0x08000000
ASYNC2 : origin = 0x90000000 length = 0x00008000
}
SECTIONS
{
.TIBoot: load = RAM
.urt : load = RAM
{
Init.obj (.text)
}
.text: load = RAM
{ *(.text)
}
.stack load = RAM fill = 0xdeadbeef
.cinit load = RAM
.cio load = RAM
.const load = RAM
.data load = RAM
.switch load = RAM
.far load = RAM
.bss load = RAM
.sysmem load = RAM
.pinit load = RAM
.Hannsect load = SLOWRAM
INTERNAL_MEMORY load = RAM
EXTERNAL_MEMORY load = SDRAM
}
It gives me the error as :
error: system error, can't open file 'Init.obj' for input: No
such file or directory
Init. obj is a user C source file written by the user.
What could be the source of the error?
As per the linker documents, I am allowed to link input sections explicitly to form an output section which i named it "usr".