Other Parts Discussed in Thread: C2000WARE
Tool/software: TI C/C++ Compiler
Section 6.3 Memory, of the TMS320F28379D User's Guide contains the C28x Memory Maps.
When the starting addresses of the User's Guide are compared to the contents of the example *.cmd files they differ quite a bit.
For example, the command file 2837xD_RAM_lnk_cpu1.cmd (from ~/ti/c2000/C2000Ware_1_00_01_00/device_support/f2837xd/common/cmd/) memory page 0 is setup as follows:
PAGE 0 : /* BEGIN is used for the "boot to SARAM" bootloader mode */ BEGIN : origin = 0x000000, length = 0x000002 RAMM0 : origin = 0x000122, length = 0x0002DE RAMD0 : origin = 0x00B000, length = 0x000800 RAMLS0 : origin = 0x008000, length = 0x000800 RAMLS1 : origin = 0x008800, length = 0x000800 RAMLS2 : origin = 0x009000, length = 0x000800 RAMLS3 : origin = 0x009800, length = 0x000800 RAMLS4 : origin = 0x00A000, length = 0x000800 RESET : origin = 0x3FFFC0, length = 0x000002
In the TMS320F28379D User's Guide, section 6.3.1 C28x Memory Map, the M0 RAM's start address is 0x00000000 and ending address is 0x000003FF.
Why isn't the RAMM0 line of 2837xD_RAM_lnk_cpu1.cmd set as follows?
RAMM0 : origin = 0x00000000, length = 0x000003FF
or the RAMD0 line set to to match what's in the User's Guide?
RAMD0 : origin = 0x0000B000, length = 0x00007FFF
Kindly,
Graham