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.

TMS570LS3137: Flash start address change

Part Number: TMS570LS3137


Hello, I am changing the start address of the main application for my bootloader application and loading the code with the compiler, but the red led is on. I think I need to change the vector offset value, but I couldn't find anything about it. Can you help me how can I fix this problem?

/*                                                                            */
/*----------------------------------------------------------------------------*/
/* USER CODE BEGIN (0) */
/* USER CODE END */


/*----------------------------------------------------------------------------*/
/* Linker Settings                                                            */

--retain="*(.intvecs)"

/* USER CODE BEGIN (1) */
/* USER CODE END */

/*----------------------------------------------------------------------------*/
/* Memory Map                                                                 */

MEMORY
{

/* USER CODE BEGIN (2) */
    FLASH_BOOTLOADER  	(RX) : origin=0x00000020 length=0x0017FFE0
    VECTORS 			(X)  : origin=0x00180000 length=0x00000020
    FLASH_APPLICATION  	(RX) : origin=0x00180020 length=0x0017FFE0
    STACKS  			(RW) : origin=0x08000000 length=0x00001500
    RAM     			(RW) : origin=0x08001500 length=0x0003EB00
/* USER CODE END */
}

/* USER CODE BEGIN (3) */
/* USER CODE END */


/*----------------------------------------------------------------------------*/
/* Section Configuration                                                      */

SECTIONS
{
/* USER CODE BEGIN (4) */
    .intvecs : {} > VECTORS
    .text    : {} > FLASH_APPLICATION
    .const   : {} > FLASH_APPLICATION
    .cinit   : {} > FLASH_APPLICATION
    .pinit   : {} > FLASH_APPLICATION
    .bss     : {} > RAM
    .data    : {} > RAM
	.sysmem  : {} > RAM
/* USER CODE END */
}

/* USER CODE BEGIN (5) */
/* USER CODE END */


/*----------------------------------------------------------------------------*/
/* Misc                                                                       */

/* USER CODE BEGIN (6) */
/* USER CODE END */
/*----------------------------------------------------------------------------*/