TMS320F280039: 使用C2Prog烧录TMS320F280039提示sector violation (0x0, len=0x40)

Part Number: TMS320F280039


CCS版本11.1.0、C2Prog版本V2.1.4和V2.2.1。我选择hex或out都提示同样的问题。hex/out文件发给其他同事用CCS烧录是没有问题能正常工作的。最下面是我的cmd文件,帮忙看下是否有问题,谢谢!

69d4c5ef-962c-44e5-8f07-e4937b2b299a.png

/*
//###########################################################################
//
// FILE:    F280039_flash_lnk.cmd
//
// TITLE:    Linker Command File For F280039 Device
//
//###########################################################################
*/
MEMORY
{

   BOOT_RSVD        : origin = 0x00000002, length = 0x00000126

   RAMM0               : origin = 0x00000128, length = 0x000002D8
   RAMLS0           : origin = 0x00008000, length = 0x00003800
   RAMLS7           : origin = 0x0000B800, length = 0x00000800

   /* Combining all the LS RAMs */
 
   RAMGS0           : origin = 0x0000C000, length = 0x00003FF8

   BOOTROM          : origin = 0x003F8000, length = 0x00007FC0
   SECURE_ROM       : origin = 0x003F2000, length = 0x00006000

   RESET            : origin = 0x003FFFC0, length = 0x00000002

#ifdef __TI_COMPILER_VERSION__
   #if __TI_COMPILER_VERSION__ >= 20012000
GROUP {      /* GROUP memory ranges for crc/checksum of entire flash */
   #endif
#endif
   BEGIN               : origin = 0x00080000, length = 0x00000002
   /* Flash sectors */
   /* BANK 0 */
   FLASH_BANK0_SEC0  : origin = 0x080002, length = 0x00FFFE

   /* BANK 1 */
   FLASH_BANK1_SEC0  : origin = 0x090000, length = 0x010000

  /* BANK 2 */
   FLASH_BANK2_SEC0  : origin = 0x0A0000, length = 0x00FFF0

// FLASH_BANK2_SEC15_RSVD : origin = 0x0AFFF0, length = 0x000010  /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
#ifdef __TI_COMPILER_VERSION__
  #if __TI_COMPILER_VERSION__ >= 20012000
}  crc(_table_name, algorithm=C28_CHECKSUM_16)
  #endif
#endif

}


SECTIONS
{
   codestart        : > BEGIN, ALIGN(8)
   .text            : >> FLASH_BANK0_SEC0 | FLASH_BANK1_SEC0,   ALIGN(8)
   .cinit           : > FLASH_BANK2_SEC0,  ALIGN(8)
   .switch          : > FLASH_BANK2_SEC0,  ALIGN(8)
   .reset           : > RESET,                  TYPE = DSECT /* not used, */

   .stack           : > RAMLS7

#if defined(__TI_EABI__)
   .init_array      : > FLASH_BANK0_SEC1,  ALIGN(8)
   .bss             : > RAMLS5
   .bss:output      : > RAMLS3
   .bss:cio         : > RAMLS0
   .data            : > RAMLS5
   .sysmem          : > RAMLS5
   .const           : > FLASH_BANK0_SEC4,  ALIGN(8)
#else
   .pinit           : > FLASH_BANK0_SEC0,  ALIGN(8)
   .ebss            : > RAMGS0
   .esysmem         : > RAMGS0
   .cio             : > RAMGS0
   .econst          : > FLASH_BANK0_SEC0,  ALIGN(8)
#endif

    //ramgs0 : > RAMGS0
    //ramgs1 : > RAMGS0

    /*  Allocate IQ math areas: */
   IQmath           : > FLASH_BANK0_SEC0, ALIGN(8)
   IQmathTables     : > FLASH_BANK0_SEC0, ALIGN(8)


   ramfuncs         : {} LOAD = FLASH_BANK0_SEC0,
                      RUN = RAMLS0,
                      LOAD_START(_RamfuncsLoadStart),
                      LOAD_SIZE(_RamfuncsLoadSize),
                      LOAD_END(_RamfuncsLoadEnd),
                      RUN_START(_RamfuncsRunStart),
                      RUN_SIZE(_RamfuncsRunSize),
                      RUN_END(_RamfuncsRunEnd),
                      PAGE = 0, ALIGN(8)
/*
   ramfuncs           :     LOAD = FLASH_BANK0_SEC0,
                        RUN  = RAMLS0,
                        PAGE = 0
                        ALIGN(8)
                        table(_prginRAM)
*/
   /* crc/checksum section configured as COPY section to avoid including in executable */
   //.TI.memcrc          : type = COPY

}
/*
//###########################################################################
// End of file.
//###########################################################################
*/