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.

Compiler/TMS320C6657: stuck in run_pinit

Part Number: TMS320C6657

Tool/software: TI C/C++ Compiler

Hello,

I'm trying to run a software (compiled with v8.3.2) on the EVM and I'm stuck in run_pinit, initializing stdio.

Here it is : 0x84052C: B.S2 B4 with some mud in B4.

What can I do ?

Regards,

David

  • The root cause of the problem probably occurred many cycles earlier.

    Make sure you have not overflowed the stack.  Look at the map file to see the range of memory allocated to the stack, then make sure the SP (which is B15) is within that range.

    Make sure the heap is not all used up.

    Consider making the stack and heap much larger, just as an experiment.

    If none of that helps, some of these Tips for Using Printf may be helpful.

    Please let me know if any of these suggestions solves the problem.

    Thanks and regards,

    -George