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.

TMS320F2812: Memory Allocation and Debugging Issues with CCS and RTRT

Part Number: TMS320F2812


Tool/software:

I am requesting your assistance due to a series of issues we are encountering while working with your tools and hardware.

We are using the following setup:

  • Code Composer Studio version 2.20.00
  • Rational Test RealTime (RTRT) version 2003.06.15
  • Windows XP operating system (32-bit)

We are targeting a TMS320F2812 device, and we are currently facing multiple problems related to memory allocation and debugging:

  1. Memory allocation failure during the build process:

error: can't allocate .ebss (sz: 000018e4 page: 1) in SARAML0 (avail: 00000c00)

        2. When we attempt to move .text or other sections into FLASH_FGH, FLASH_DE, or LOG_ANA, we receive errors like:

    • data verification failed at address 0x3DC000 or 0x3E8000
    • cannot set/verify breakpoint at 0x003DE826 or similar

 

We suspect this may be due to compiler incompatibilities, memory map misconfiguration, or missing preprocessor definitions, but we would appreciate guidance from your side on the best way to proceed.

Could you please help us:

  • Confirm the correct memory map layout for this target with our toolchain versions?
  • Understand whether these flash regions can be reliably used for code with CCS 2.20.00?

I joined our full linker command file (.cmd)

Thank you in advance for your support.

 

  • Hi,

    error: can't allocate .ebss (sz: 000018e4 page: 1) in SARAML0 (avail: 00000c00)

    SARAML0 has limited space to accomodate the .ebss section. Can you add mode size to acomodate the entire data.

    .ebss :  >> SARAMH0 | SARAML0 , PAGE = 1

    .text > FLASH_DE , PAGE = 0

    Thanks

    Aswin