TMS320F2800132: TMS320F2800132RGZ

Part Number: TMS320F2800132


Tool/software:

Dear Experts,

We are using syscfg GUI to generate our CMD file.

The following is my cmd file

#ifdef generic_flash_lnk

MEMORY
{

RAMM0 : origin = 0x000128, length = 0x0002D8
RAMM1 : origin = 0x000400, length = 0x0003F8
RAMLS0 : origin = 0x008000, length = 0x002000
RAMLS1 : origin = 0x00A000, length = 0x001FF8
FLASH_BANK0_SEC_0_7 : origin = 0x080000, length = 0x002000
FLASH_BANK0_SEC_8_15 : origin = 0x082000, length = 0x002000
FLASH_BANK0_SEC_16_23 : origin = 0x084000, length = 0x002000
FLASH_BANK0_SEC_24_31 : origin = 0x086000, length = 0x002000
FLASH_BANK0_SEC_32_29 : origin = 0x088000, length = 0x002000
FLASH_BANK0_SEC_40_47 : origin = 0x08A000, length = 0x002000
FLASH_BANK0_SEC_48_55 : origin = 0x08C000, length = 0x002000
FLASH_BANK0_SEC_56_63 : origin = 0x08E000, length = 0x002000
FLASH_BANK0_SEC_64_71 : origin = 0x090000, length = 0x002000
FLASH_BANK0_SEC_72_79 : origin = 0x092000, length = 0x002000
FLASH_BANK0_SEC_80_87 : origin = 0x094000, length = 0x002000
FLASH_BANK0_SEC_88_95 : origin = 0x096000, length = 0x002000
FLASH_BANK0_SEC_96_103 : origin = 0x098000, length = 0x002000
FLASH_BANK0_SEC_104_111 : origin = 0x09A000, length = 0x002000
FLASH_BANK0_SEC_112_119 : origin = 0x09C000, length = 0x002000
FLASH_BANK0_SEC_120_127 : origin = 0x09E000, length = 0x001FF0
RESET : origin = 0x3FFFC0, length = 0x000002
}


SECTIONS
{
//
// C28x Sections
//
.reset : > RESET, TYPE = DSECT /* not used, */
codestart : > 0x080000
.text : >> FLASH_BANK0_SEC_16_23 | FLASH_BANK0_SEC_24_31 | FLASH_BANK0_SEC_8_15,
ALIGN(8)
.TI.ramfunc : LOAD > FLASH_BANK0_SEC_0_7,
RUN > RAMLS0,
TABLE(copyTable_ramfunc),
ALIGN(8)
.binit : > FLASH_BANK0_SEC_0_7,
ALIGN(8)
.ovly : > FLASH_BANK0_SEC_0_7,
ALIGN(8)
.cinit : > FLASH_BANK0_SEC_0_7,
ALIGN(8)
.stack : > RAMM1
.init_array : > FLASH_BANK0_SEC_0_7,
ALIGN(8)
.bss : > RAMLS0
.const : >> FLASH_BANK0_SEC_16_23 | FLASH_BANK0_SEC_24_31,
ALIGN(8)
.data : > RAMLS0
.switch : > FLASH_BANK0_SEC_0_7,
ALIGN(8)
.sysmem : > RAMLS0

}

#endif

/*
//===========================================================================
// End of file.
//===========================================================================
*/

Also below is my memory allocation

Since the sector are full, we tried increasing 

.text : >> FLASH_BANK0_SEC_16_23 | FLASH_BANK0_SEC_24_31 | FLASH_BANK0_SEC_8_15, to

.text : >> FLASH_BANK0_SEC_16_23 | FLASH_BANK0_SEC_24_31 | FLASH_BANK0_SEC_32_29 | FLASH_BANK0_SEC_24_31  | FLASH_BANK0_SEC_8_15, 

 once this change is done using syscfg the following is the console output when we trying flashing the program

C28xx_CPU1: GEL Output:

RAM initialization done

C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
C28xx_CPU1: Writing Flash @ Address 0x00080000 of Length 0x00000002 (page 0)
C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
C28xx_CPU1: PLL configuration status = 1. PLL configured successfully.
C28xx_CPU1: Erasing Flash Bank 0
C28xx_CPU1: Data has been buffered at the end of the current data block for 64-bit aligned writes.
C28xx_CPU1: Writing Flash @ Address 0x00080008 of Length 0x000000e9 (page 0)
C28xx_CPU1: Data has been buffered at the end of the current data block for 64-bit aligned writes.
C28xx_CPU1: --Verifying Flash @ Address 0x00080008 of Length 0x000000E8
C28xx_CPU1: Writing Flash @ Address 0x000800f8 of Length 0x0000004c (page 0)
C28xx_CPU1: --Verifying Flash @ Address 0x000800F8 of Length 0x0000004C
C28xx_CPU1: Writing Flash @ Address 0x00080148 of Length 0x000000ba (page 0)
C28xx_CPU1: Data has been buffered at the end of the current data block for 64-bit aligned writes.
C28xx_CPU1: --Verifying Flash @ Address 0x00080148 of Length 0x000000B8
C28xx_CPU1: Writing Flash @ Address 0x00080208 of Length 0x00000008 (page 0)
C28xx_CPU1: --Verifying Flash @ Address 0x00080208 of Length 0x00000008
C28xx_CPU1: Writing Flash @ Address 0x00084000 of Length 0x00000786 (page 0)
C28xx_CPU1: Data has been buffered at the end of the current data block for 64-bit aligned writes.
C28xx_CPU1: --Verifying Flash @ Address 0x00084000 of Length 0x00000784
C28xx_CPU1: Writing Flash @ Address 0x00084788 of Length 0x00003f6e (page 0)
C28xx_CPU1: Data has been buffered at the end of the current data block for 64-bit aligned writes.
C28xx_CPU1: --Verifying Flash @ Address 0x00084788 of Length 0x00003000
C28xx_CPU1: Error during Flash Programming. Address 0x00088000, FMSTAT (STATCMD on some devices) 0x00000011
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: E:\MSG\OnGoing\MTCM\03_Oct_2025_Encoder\AI_Encoder_Workspace_v1\MTCM\CPU1_FLASH\MTCM.out: Load failed.
C28xx_CPU1: Writing buffered data @ Address 0x00080000 of Length 0x00000004
C28xx_CPU1: --Verifying Flash @ Address 0x00080000 of Length 0x00000004
C28xx_CPU1: Writing buffered data @ Address 0x000800F0 of Length 0x00000004
C28xx_CPU1: --Verifying Flash @ Address 0x000800F0 of Length 0x00000004
C28xx_CPU1: Writing buffered data @ Address 0x00080200 of Length 0x00000004
C28xx_CPU1: --Verifying Flash @ Address 0x00080200 of Length 0x00000004
C28xx_CPU1: Writing buffered data @ Address 0x00084784 of Length 0x00000004
C28xx_CPU1: --Verifying Flash @ Address 0x00084784 of Length 0x00000004
C28xx_CPU1: Writing buffered data @ Address 0x000886F4 of Length 0x00000004
C28xx_CPU1: Error during Flash Programming. Address 0x000886F4, FMSTAT (STATCMD on some devices) 0x00000011
C28xx_CPU1: Please make sure the memory location you are programming have not already been programmed.

We tried selecting other sectors which gives the same result as above.

We are unable to set breakpoints during debugging session since we are unable to use more memory.

So kindly suggest how other memory sections can be selected for usage using syscfg GUI or suggest any other alternatives.