Tool/software: Code Composer Studio
Hi all,
I'm using a command files 2837xD_RAM_lnk_cpu1.cmd and F2837xD_Headers_nonBIOS_cpu1.cmd supplied by example projects for TMS320F28379D (please find attached).
However, some parts are different in the two linker files and in the TMS320F28379D datasheet, section 6.3 Memory.
Can someone please check these things in the datasheet.
One more question about PAGE in the MEMORY part of a linker file. Is it absolutely necessary to use pages, or we use pages only because it is a good programming practice to (visually) separate data and program memory? I know that some microcontrollers have physically separated program and data memory, and there we must use pages, but when that is not the case it is not necessary to use pages?
Here is a complete list of memory locations that I found different:
Cla1Regs:
: origin = 0x001400, length = 0x000080 /* TMS320F28379D datasheet */
: origin = 0x001400, length = 0x000040 /* F2837xD_Headers_nonBIOS_cpu1.cmd */
DmaClaSrcSelRegs:
: origin = 0x007980, length = 0x000010 /* TMS320F28379D datasheet */
: origin = 0x007980, length = 0x000040 /* F2837xD_Headers_nonBIOS_cpu1.cmd */
ClbXbarRegs:
/* Does not exist in TMS320F28379D datasheet */
: origin = 0x007A40, length = 0x000040 /* F2837xD_Headers_nonBIOS_cpu1.cmd */
SpidRegs:
/* Does not exist in TMS320F28379D datasheet */
: origin = 0x006130, length = 0x000010 /* F2837xD_Headers_nonBIOS_cpu1.cmd */
RomPrefetchRegs:
: origin = 0x05E608, length = 0x000004 /* TMS320F28379D datasheet */
: origin = 0x05E608, length = 0x000002 /* F2837xD_Headers_nonBIOS_cpu1.cmd */
DcsmZ2Regs:
: origin = 0x05F040, length = 0x000020 /* TMS320F28379D datasheet */
: origin = 0x05F040, length = 0x000030 /* F2837xD_Headers_nonBIOS_cpu1.cmd */