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.

TMS320F28377D: Stack overflow problem

Part Number: TMS320F28377D


Hi all:

    In my project, there is a Stack Overflow Detection function which is  "err = STKOV_initSystemStack((Uint32)&vStackStart, (Uint32)&vStackEnd, 8);". However, these days this function is always return 1 which means "software failed to gain control of the WP ".

    1. What kind of problems will return 1?

    2. Does C2000 have R13 register(SP) like ARM? if it has how to access it?

Best Wish

Li