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.

CCS/TMS570LS1224: LaunchPad TMS570LS1224 - flash size

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hello,

I would like to upload huge lib to my LaunchPad but I have problem with flash size.In the documentation of LaunchPad (TMS570LS1224) there is info about 1280 KB of Flash.

During building my project in Memory Allocation tab there is FLASH0 max value = 393kB. (my program is ~ 530kB). How can I encrease this value? In sys_link.cmd file I ve got: "    FLASH0  (RX) : origin=0x00000020 length=0x0005FFE0". So here it looks like flash size is ok. Why in Memory Allocation tab I do not see ~1,2MB ?

  • Hello,
    The row you posted: FLASH0 (RX) : origin=0x00000020 length=0x0005FFE0" shows FLASH size of 393k (0x0005FFE0-0x00000020 = 393к)

    The code bellow is copied for my test project:

    MEMORY
    {
    VECTORS (X) : origin=0x00000000 length=0x00000020
    FLASH0 (RX) : origin=0x00000020 length=0x0013FFE0
    STACKS (RW) : origin=0x08000000 length=0x00001500
    RAM (RW) : origin=0x08001500 length=0x0002EB00

    /* USER CODE BEGIN (2) */
    /* USER CODE END */
    }


    Best regards,
    Miro

  • My mistake, sorry.
    I made setup in HalCoGen for other LaunchPad (TMS570LS04). Could you please clarify in wich file created by HalCoGen there is information about flash size?
  • Hello,
    sys_link.cmd is where this is set.
    The code I've posted above is from sys_link.cmd and is generated by HALCoGen.

    In device TRM Section 2.2 you can see how memory is organized.

    Best regards,
    Miro