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.

TMS320F28377S: Debugging code from RAM

Part Number: TMS320F28377S

We're designing a new board based on the TMS320F28377S and are considering adding external RAM for the purpose of debugging our application from RAM instead of from on-board FLASH. The incentive being that we will have faster downloads and unlimited break points.

Questions:

1) Is it possible from Code Composer to download code directly to an external RAM and run?

2) Is it true that the number of breakpoints is essentially unlimited?

3) Are there any limitations on above with respect to the type of external RAM used (DRAM vs SRAM) ?

 

Thanks in advance,

Paul Hetherington

Note that we're porting our code from and existing project (28335) and know that the 377 on-board RAM is not large enough for this code.

  • Hi,

    1) Is it possible from Code Composer to download code directly to an external RAM and run?

    Yes, but you'll have to setup the EMIF in gel file so that EMIF setup is ready for loading the code. You can learn more about Gel file here.

    2) Is it true that the number of breakpoints is essentially unlimited?

    There are two types of breakpoints. SW breakpoints and HW breakpoints. SW breakpoints is used for RAM and it's unlimited but HW breakpoints which is used for READ only memories, is very limited.

    3) Are there any limitations on above with respect to the type of external RAM used (DRAM vs SRAM) ?

    Code execute from SDRAM is not supported. It's only from SRAM. 

    Also please note that execution from external RAM will be slow because of slow access time. Internal RAMs are 0-waitstate memory which will not be the case with external RAM.

    Regards,

    Vivek Singh