This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280034: CMD File issue, programming and running with debugger, not starting on power on

Part Number: TMS320F280034


Tool/software:

Properly added 2 pull up resistors for GPIO24 & 32 for flash mode operation.

But with the available CMD file, BEGIN address not consistant.

With BEGIN 80000, programmer give error.

With 88000 , programming. Running with debugger, but not after power up.

MEMORY
{
RAMM0 : origin = 0x00000128, length = 0x000002D8
RAMM1 : origin = 0x00000400, length = 0x000003F8 /* on-chip RAM block M1 */
RAMLS01 : origin = 0x00008000, length = 0x00001000
RAMLS27 : origin = 0x00009000, length = 0x00003000
RAMGS01 : origin = 0x0000C000, length = 0x00002000
RAMGS23 : origin = 0x0000E000, length = 0x00001FF8
BOOTROM : origin = 0x003F8000, length = 0x00007FC0
SECURE_ROM : origin = 0x003F2000, length = 0x00006000

BEGIN : origin = 0x00088000, length = 0x00000002
RESET : origin = 0x003FFFC0, length = 0x00000002
/* Flash sectors */
/* BANK 0 */
FLASH_BANK0_SEC0 : origin = 0x088002, length = 0x000FFE /* on-chip Flash */
FLASH_BANK0_SEC1_12 : origin = 0x081000, length = 0x005000 /* on-chip Flash */
FLASH_BANK0_SEC1314 : origin = 0x086000, length = 0x005000 /* on-chip Flash */

}

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

Please help me with proper CMD file.

  • Hi Sandeep,

    Can you share the error details?

    Also can you give more information when you say that BEGIN address is not consistent?

    Are you able to see the flash locations being populated with data, can you check the memory locations.

    Thanks

    Aswin