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: Bootloader a RTOS program

Part Number: TMS570LS3137

Hello everyone! I have a problem with the bootloader. I upgraded my board via CAN protocol on Bare Metal. Now, I want to pass a program that has RTOS.

I have a problem with the sys_link.cmd, because I'm not sure what it should look like. If someone has an example of RTOS that can be used to update my board through the bootloader, I would really appreciate it!

I leave my sys_link.cmd code:

--retain="*(.intvecs)"

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

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

MEMORY
{


VECTORS (X) : origin=0x00020020 length=0x00000020
KERNEL (RX) : origin=0x00020040 length=0x00008000
FLASH0 (RX) : origin=0x00028040 length=0x00177FE0
FLASH1 (RX) : origin=0x001A0020 length=0x00180000
STACKS (RW) : origin=0x08000000 length=0x00000800
KRAM (RW) : origin=0x08000800 length=0x00000800
RAM (RW) : origin=(0x08000800+0x00000800) length=(0x0003F800 - 0x00000800)

}

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

SECTIONS
{
.intvecs : {} > VECTORS
/* FreeRTOS Kernel in protected region of Flash */
.kernelTEXT : {} > KERNEL
.cinit : {} > KERNEL
.pinit : {} > KERNEL
/* Rest of code to user mode flash region */
.text : {} > FLASH0 | FLASH1
.const : {} > FLASH0 | FLASH1
/* FreeRTOS Kernel data in protected region of RAM */
.kernelBSS : {} > RAM //KRAM
.kernelHEAP : {} > RAM
.bss : {} > RAM
.data : {} > RAM
}