"C:/tidcs/c28/DSP280x/v170/DSP280x_common/cmd/F2801.cmd", line 138: error:
placement fails for object ".cinit", size 0x74 (page 0). Available ranges: FLASHA size: 0xf79 unused: 0x42 max hole: 0x41
Did I run out of memory? Sorry about the messy copy of the .cmd file. E2E doesn't like .cmd files.
MEMORY
{
PAGE 0: /* Program Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
RAML0 :origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
OTP :origin = 0x3D7800, length = 0x000400 /* on-chip OTP */
FLASHD :origin = 0x3F4022, length = 0x0009CE /* on-chip FLASH */
FLASHC :origin = 0x3F5000, length = 0x001000 /* on-chip FLASH */
FLASHA :origin = 0x3F7000, length = 0x000F79 /* on-chip FLASH */
CSM_RSVD :origin = 0x3F7F80, length = 0x000074 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
BEGIN :origin = 0x3F7FF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
CSM_PWL :origin = 0x3F7FF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
ROM :origin = 0x3FF000, length = 0x000FC0 /* Boot ROM */
RESET :origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */
VECTORS :origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */
FLASH_CRC :origin = 0x3F7FF4, length = 0x000002 /* Flash CRC Golden Value */
/* FlashID stuff */
FLASH_CRC32id :origin = 0x3F4000, length = 0x000002 /* 32 bit Identification CRC golden value */
FLASH_CRC32a :origin = 0x3F4002, length = 0x000002 /* 32 bit ASCII CRC worda *///
FLASH_CRC32b :origin = 0x3F4004, length = 0x000002 /* 32 bit ASCII CRC wordb */
FLASH_CRC32c :origin = 0x3F4006, length = 0x000002 /* 32 bit ASCII CRC wordc */
FLASH_CRC32d :origin = 0x3F4008, length = 0x000002 /* 32 bit ASCII CRC wordd */
FLASH_SWPNa :origin = 0x3F4016, length = 0x000002 /* Software part number ASCII IDa */
FLASH_SWPNb :origin = 0x3F4018, length = 0x000002 /* Software part number ASCII IDb */
FLASH_SWPNc :origin = 0x3F401A, length = 0x000002 /* Software part number ASCII IDc */
FLASH_SWPNd :origin = 0x3F401C, length = 0x000002 /* Software part number ASCII IDd */
FLASH_SWPNe :origin = 0x3F401E, length = 0x000002 /* Software part number ASCII IDe */
FLASH_SWPNf :origin = 0x3F4020, length = 0x000002 /* Software part number ASCII IDf */
FLASH_HWPNa :origin = 0x3F400A, length = 0x000002 /* Hardware part number ASCII IDa */
FLASH_HWPNb :origin = 0x3F400C, length = 0x000002 /* Hardware part number ASCII IDb */
FLASH_HWPNc :origin = 0x3F400E, length = 0x000002 /* Hardware part number ASCII IDc */
FLASH_HWPNd :origin = 0x3F4010, length = 0x000002 /* Hardware part number ASCII IDd */
FLASH_HWPNe :origin = 0x3F4012, length = 0x000002 /* Hardware part number ASCII IDe */
FLASH_HWPNf :origin = 0x3F4014, length = 0x000002 /* Hardware part number ASCII IDf */
PAGE 1 : /* Data Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
/* Registers remain on PAGE1 */
RAMM0 :origin = 0x000000, length = 0x000400 /* on-chip RAM block M0 */
BOOT_RSVD :origin = 0x000400, length = 0x000080 /* Part of M1, BOOT rom will use this for stack */
RAMM1 :origin = 0x000480, length = 0x000380 /* on-chip RAM block M1 */
FLASHB :origin = 0x3F6000, length = 0x001000 /* on-chip FLASH */
}
/* Allocate sections to memory blocks.
Note:
codestart user defined section in DSP28_CodeStartBranch.asm used to redirect code
execution when booting to flash
ramfuncs user defined section to store functions that will be copied from Flash into RAM
*/
SECTIONS
{
/* Allocate program areas: */
.cinit : > FLASHA PAGE = 0 <--- Line 138
.pinit : > FLASHA, PAGE = 0
.text : > FLASHA PAGE = 0
codestart : > BEGIN PAGE = 0
ramfuncs :LOAD = FLASHC,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
PAGE = 0
csmpasswds : > CSM_PWL PAGE = 0
csm_rsvd : > CSM_RSVD PAGE = 0
/* Allocate uninitalized data sections: */
.stack : > RAMM0 PAGE = 1
.ebss : > RAMM1 PAGE = 1
.esysmem : > RAMM1 PAGE = 1
/* Initalized sections go in Flash */
/* For SDFlash to program these, they must be allocated to page 0 */
.econst : > FLASHA PAGE = 0
.switch : > FLASHA PAGE = 0
/* Allocate IQ math areas: */
IQmath : > FLASHC PAGE = 0 /* Math Code */
IQmathTables : > ROM PAGE = 0, TYPE = NOLOAD /* Math Tables In ROM */
/* .reset is a standard section used by the compiler. It contains the */
/* the address of the start of _c_int00 for C Code. /*
/* When using the boot ROM this section and the CPU vector */
/* table is not needed. Thus the default type is set here to */
/* DSECT */
.reset : > RESET, PAGE = 0, TYPE = DSECT
vectors : > VECTORS PAGE = 0, TYPE = DSECT
FlashCRCFile : > FLASH_CRC, PAGE = 0
/* FlashCRCid stuff */
FlashCRCidFile : > FLASH_CRC32id, PAGE = 0
FlashIDFilea : > FLASH_CRC32a, PAGE = 0
FlashIDFileb : > FLASH_CRC32b, PAGE = 0
FlashIDFilec : > FLASH_CRC32c, PAGE = 0
FlashIDFiled : > FLASH_CRC32d, PAGE = 0
FlashIDFilee : > FLASH_SWPNa, PAGE = 0
FlashIDFilef : > FLASH_SWPNb, PAGE = 0
FlashIDFileg : > FLASH_SWPNc, PAGE = 0
FlashIDFileh : > FLASH_SWPNd, PAGE = 0
FlashIDFilei : > FLASH_SWPNe, PAGE = 0
FlashIDFilej : > FLASH_SWPNf, PAGE = 0
FlashIDFilek : > FLASH_HWPNa, PAGE = 0
FlashIDFilel : > FLASH_HWPNb, PAGE = 0
FlashIDFilem : > FLASH_HWPNc, PAGE = 0
FlashIDFilen : > FLASH_HWPNd, PAGE = 0
FlashIDFileo : > FLASH_HWPNe, PAGE = 0
FlashIDFilep : > FLASH_HWPNf, PAGE = 0
}