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.

MSP432E411Y-BGAEVM: TI RTOS ends up at ti_sysbios_family_arm_m3_Hwi_excHandlerAsm__I

Part Number: MSP432E411Y-BGAEVM

Hi,

I am porting a reasonable size project from a Linux platform to TI RTOS.

I quite often find the processor stuck in ti_sysbios_family_arm_m3_Hwi_excHandlerAsm__I, at

       b       $1              ; spin here indefinitely

I have stumbled on one common cause of this problem - stack overflow - but I suspect that there are others.

I have also discovered that in the Runtime Object View - Task window - Callstacks dropdown option, that I can see which task is upset:

0x20002850, Label: Runtime, Task Mode: Running
0 ti_sysbios_family_arm_m3_Hwi_excHandlerAsm__I at Hwi_asm.sv7M:326 :
PC=0x000653D4
Unfortunately, this doesn't seem to show which function is causing the problem - though I suppose that could be the case if this is still a stack overflow as things may not go wrong until attempting to return!
Any tips on diagnosing these sorts of problems, or directions to some more detailed documentation, would be appreciated!
Thanks
  • Hi Jim,

    Let me see if I can help find you an answer for this one.

  • Hi Jim,

    I'm not having much luck tracking down someone who might be able to help.  What is your status?

  • Thanks for looking,

    I have resolved the underlying problem - it was a stack overflow, but not a task stack. I had added a large static object to main() and overfilled its stack but that does not show up on the ROV task view where all task stacks looked fine (because they were). One task was getting its stack overwritten, corrupting a function pointer - things went down hill from there!

    Any ideas on how to trace back when ending up in ti_sysbios_family_arm_m3_Hwi_excHandlerAsm__I would still be useful though!

    Thanks

    Jim

  • Hi Jim,

    No luck finding an answer to your last question.

    I'll change the status of this posting to RESOLVED, but if this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.