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/TMS570LS0914: Error: Invalid Bank , program while using CCS compilation

Part Number: TMS570LS0914
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

hello

After Compiling the program with CCS, I burned the program with XDS100v2 emulator and invalid bank occurred.

The chip used is TMS570LS0914 and the flash memory range is 1MB, 0x00100000.

If the problem shown in the figure occurs, 0xC087F is mapped to a invalid bank.

How to solve it?

  • Hello,

    Can you please check which gel file is used in your project?

    CCS-->tools --> Gel files

    Is the memory size of the internal flash in gel file correct?

  • Hello QJ Wang,

    I was not able to open the GEL file.As is showed in the pictures.

    I created a test project, and this is the link.cmd file:

    My chip`s flash is 1MB. But I can`t program on the BANK0, SECTOR 12 & SECTOR 13.(From 0x000C0000 to 0x000FFFFF).

    When I modified  the link.cmd flle.Like:

    line3:   VECTORS (X)  : origin=0x000A0000 length=0x00000020

    line4:  FLASH_APP  (RX) : origin=0x000A0020 length=0x0005FFE0

    The error didn`t happen!   So, I guess there was something wrong on my chip, however , it happened again after I tested on another TMS570LS0914 MCU.

    Why I can`t load program from 0x000C0000 to 0x000FFFFF  by CCS or UniFlash?

    Shuzhang Wang

  • Hello,

    In CCS or Uniflash flash settings, please enable the "Auto ECC Generation", and "Align program segments to 64-bit memory regions (for ECC calculation)".