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.

TMS320F2800157: Running Custom Bootloader entirely from RAM Failure

Part Number: TMS320F2800157

Tool/software:

I am trying to run my whole custom bootloader from RAM, I managed to link and build the code entirely into the RAM, but when debugging using CCS I always get ABORT or EXIT calls randomly each time at different function calls.

I am using the f280015x_codestartbranch.asm file from the C2000 ware, my startup code resides in the BEGIN at the start of LS0 RAM.

Below are snippets from my cmd file.

Notes:

  • I am using COFF Format
  • I am not using memcpy.
  • RAM_BSS and RAM_DATA in the cmd image resembles LS0 and LS1 respectively
  • My map file has some space allocated for functions from the runtime library.

Is there something I am missing or is there specific things I have to take care of when executing the whole application from RAM?