hello,
I am using the board for the first time. i FOLLOWED SOME BOOKS ABOUT C6XXX PROCESSORS and everytime i get errors about the memory . can somebody please tell me how to write the command file to run a simple souce code, its very important.
this the cmd file that i used:
/*MEMORY MAP1 */
MEMORY
{
PMEM : origin = 0x00000000, length = 0x00010000
EXT2 : origin = 0x00000000, length = 0x01000000
EXT3 : origin = 0x00000000, length = 0x01000000
DMEM : origin = 0x00000000, length = 0x00010000
}
SECTIONS
{
.vectors > PMEM
.text > PMEM
.bss > DMEM
.cinit > DMEM
.const > DMEM
.stack > DMEM
.cio > DMEM
.sysmem > DMEM
.far > EXT2
.mydata > EXT3
}
the errors:
"C:\\CCStudio_v3.3\\tutorial\\dsk6711\\dm1\\First.cmd", line 6: error: EXT2
memory range overlaps existing memory range PMEM
"C:\\CCStudio_v3.3\\tutorial\\dsk6711\\dm1\\First.cmd", line 7: error: EXT3
memory range overlaps existing memory range EXT2
"C:\\CCStudio_v3.3\\tutorial\\dsk6711\\dm1\\First.cmd", line 7: error: EXT3
memory range overlaps existing memory range PMEM
"C:\\CCStudio_v3.3\\tutorial\\dsk6711\\dm1\\First.cmd", line 8: error: DMEM
memory range overlaps existing memory range EXT3
"C:\\CCStudio_v3.3\\tutorial\\dsk6711\\dm1\\First.cmd", line 8: error: DMEM
memory range overlaps existing memory range EXT2
"C:\\CCStudio_v3.3\\tutorial\\dsk6711\\dm1\\First.cmd", line 8: error: DMEM
memory range overlaps existing memory range PMEM
warning: creating ".stack" section with default size of 0x400; use the -stack
option to change the default size
undefined first referenced
symbol in file
--------- ----------------
_main C:\\CCStudio_v3.3\\tutorial\\dsk6711\\dm1\\rts6700.lib<args_main.obj>
error: unresolved symbols remain
error: errors encountered during linking; "./Debug/dm1.out" not built
>> Compilation failure