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.

TMS320F28335: stack corruption detection

Part Number: TMS320F28335


Hi Team,

There's an issue from the custoemer need your help:

I used the security library IEC60730 code on the code for stack corruption detection,

_STACK_END's address 0x350

#define STL_SPC_DETECT_UNSAFE_STACK_RANGE 0x003FU

stackRefAddress = 0x33F

But I need to verify that this function is working, all the data I write to the address of the 0x33F, but I can't trigger the RTOS interrupt,

With simulation, it is known that data has been written to the address.

Please help me see if there is a problem with my code or a problem with the condition that triggers the RTOS interrupt.

Could you help check this case?

Thanks & Regards,

Ben

  • Can you get me a screen capture of the watchpoint registers at 0x828, so I can see if they're configured correctly? Can you also check that IER.RTOSINT is set and that INTM is cleared to confirm that the RTOS_INT is properly enabled at the time the write to 0x33F occurs?

    Whitney