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.

TMS320C5515: Loading the program onto the flash

Part Number: TMS320C5515

Hi,

I have trouble loading my software image onto the flash of the C5515.

Some context: I inherited a project for the C5515 which is in production. This software is pretty big and consists, aside from the firmware itself, of multiple software parts that are stored in the flash memory (e.g. bootloader, audio data and whatnot). As a debugging tool, we use the Blackhawk USB560v2. Now the thing is that I was told that the software cannot be loaded onto the flash via CCS and the used debugger. Instead, we use other tools, that are mainly self written. But nobody can tell me why that is, and those tools are making trouble. If I debug the code, it is not loaded to the flash, so after a hard reset, the old firmware will be executed.

Now I'm trying to simplify this whole process and my goal is to be able to directly compile and load the firmware onto the flash via the debug button in CCS. Unfortunately, I cannot find an option where I can set the debugger to load the program to the flash memory, and then execute the code (neither in the debug options nor in the target configuration). Since there are other software modules used, I would also need to declare where the firmware is stored in order to avoid overwriting other data in the flash. 

So in short, my general questions are the following:

  1. Is it generally possible to directly load the software onto the flash with the used debugger? If so, where can I change the settings accordingly?
  2. If I can indeed write directly to the flash from within CSS, can I specify in which area to write the firmware? And if yes, where and how?

Any help would be appreciated. Thank you in advance.

Regards,

Alex