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/TMS320F28069: Set a Breakpoint on memory range

Part Number: TMS320F28069


Tool/software: Code Composer Studio

Hi there,

I am trying to find the source of a memory corruption that is trapped in illegal_ISR.

I am working on TMS320F28069 with CCS  Version: 6.2.0.00050 

I was wondering if the range breakpoint available for MSP430 family was also available in my case ?

I can't find any way to break on a writing on a particular part of the memory.

Thanks for your feedback.

Celine

  • Hi Celine,

    The C2000 architecture is different from MSP430 so the range break-point feature isn't there.  There is a way to break on a memory range, but it's a little convoluted and not well documented.  You will have to get to it through the code but setting up registers in the hardware analysis units.  The only document I can point you towards is the application note "Online Stack Overflow Detection on the TMS320C28x DSP", which uses these features to detect when memory accesses are made near the end of allocated stack space.  The document is at:

    There is a related post here:

    You are probably already aware that the PC is automatically pushed onto the stack during the interrupt sequence, so you can monitor stack memory to find the instruction address where the interrupt was generated.  Its' depth on the stack relative to SP will depend on the ISR contect save - it may be down about 8 or nine 32-bit words.  It may help to isolate the issue.

    I hope this helps.

    Regards,

    Richard