Hi,
I am working on Tms570ls0714 Uart Bootloader application,But I have some problems about the sys_link.cmd file
The original code of sys_link.cmd file as follows:
MEMORY
{
VECTORS (X) : origin= 0x00000000 length=0x00000020
FLASH0 (RX) : origin= 0x00000020 length=0x00BFFE0
STACKS (RW) : origin= 0x08000000 length=0x00001500
RAM (RW) : origin= 0x08001500 length=0x0002eb00
/* USER CODE BEGIN (2) */
/* USER CODE END */
}
/* USER CODE BEGIN (3) */
/* USER CODE END */
/*----------------------------------------------------------------------------*/
/* Section Configuration */
SECTIONS
{
.intvecs : {} > VECTORS
.text : {} > FLASH0
.const : {} > FLASH0
.cinit : {} > FLASH0
.pinit : {} > FLASH0
.bss : {} > RAM
.data : {} > RAM
.sysmem : {} > RAM
FEE_TEXT_SECTION : {} > FLASH0
FEE_CONST_SECTION : {} > FLASH0
FEE_DATA_SECTION : {} > RAM
/* USER CODE BEGIN (4) */
/* USER CODE END */
After the flash partition code is as follows:
MEMORY
{
VECTORS (X) : origin= 0x00020000 length=0x00000020
FLASH1 (RX) : origin= 0x00020020 length=0x0009FFE0
STACKS (RW) : origin= 0x08000000 length=0x00001500
RAM (RW) : origin= 0x08001500 length=0x0002eb00
/* USER CODE BEGIN (2) */
/* USER CODE END */
}
/* USER CODE BEGIN (3) */
/* USER CODE END */
/*----------------------------------------------------------------------------*/
/* Section Configuration */
SECTIONS
{
.intvecs : {} > VECTORS
.text : {} > FLASH1
.const : {} > FLASH1
.cinit : {} > FLASH1
.pinit : {} > FLASH1
.bss : {} > RAM
.data : {} > RAM
.sysmem : {} > RAM
FEE_TEXT_SECTION : {} > FLASH1
FEE_CONST_SECTION : {} > FLASH1
FEE_DATA_SECTION : {} > RAM
/* USER CODE BEGIN (4) */
/* USER CODE END */
The program is compiled and downloaded to Flash,But The debug window only appears terminate button,resume button has been a gray. The program does not run properly.What is the reason?