Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Optimization problem

$
0
0

This is the part which is causing problems:
  Alg_Calculations_initialize(); 
  Alg_Calculations_step(); // something goes wrong here 
  while (1) {
    MSGQ_get(...); // wait for a message from arm
    MSGQ_put(...); // notify arm cpu that we are finished...
  }

Execution of the program is blocked within the infinite loop after 1 iteration (arm cpu receives 1 notification). This happens only when Alg_Calculations_step() is called, when commented out, messages are exchanged between arm and dsp without errors. In order to observe this, optimization level has to be set to -o2, with -o1 program works as expected.  

I get same symptoms with 7.4.2.


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>