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.

InitFlash() function is not getting executed

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

I am migration some part of code into CLA for making room for communication.When I single step through my code, I observed that InitFlash() function is not executed and control is getting back to the previous break point if there is a break point.Otherwise execution is getting struck.

Pls find the below screen shots of the problem.

Can somebody suggest the solution.

Thanks,

Ravi.

  • Hi Ravi,

    I'm not sure if this is a tools issue or issue with your code or target initialization issue. It looks like you are using a controlSUITE example (or leveraged it in your code). I'll move this into the C2000 forum for more expertise but I'll track the thread in case it turns out to be a tools problem.

    Thanks

    ki

  • Hi Ravi,

    This thread looks related to your other one. I'll try an merge the two together

    ki

  • Hello,

    I am trying to introduce CLA to a portion of my application.I referred iir2p2z example from V127 controlsuite.

    Even though my code generated .out file w/o any errors, I found that control is surpassing to DINT instruction and getting struck in " InitFlash() "  if no break point is applied earlier to " InitFlash(); " function call.

    And getting back to the break point from " InitFlash(); " function call if a break point is setup before " InitFlash();" is called.

    CLA examples are running fine.

    Can somebody suggest me the solution.

    Regards,

    Ravi.

  • Note that these were two separate threads merged together.

    ki