the call of printf cause my program crushed

when my program run into printf ,  the code will be crushed, if i delete the printf call,  my code runs

safely, that why ?

  • Hi,

    The call stack suggests that the exception may have come from a failed malloc (stdio mallocs buffers from the heap, with which it performs the IO).

    You can debug your Heap usage as documented under 'Help: Contents: CrossCore Embedded Studio 1.0.1: C/C++ Compiler and Library Manual for Blackfin Processors: 2 Achieving Optimal Performance From C/C++ Source Code: Analyzing Your Application'.

    Let us know if that turns anything up.



  • 0
    •  Analog Employees 
    on Aug 2, 2018 4:52 PM
    This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin