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.

Error during Debugging, while using the Step Into Option

Hi Everyone,

I am new to DSP Programming so i think i am making some stupid mistake but i am stuck .

I am planning to use the AIC23 Codec of 6416. At the moment i dont have the hardware for it. What i have done is that i have setup code composer studios in Simulator mode.

I have a code that i need to understand. So what i do is run the code by using the Step Into command so that i can understand the flow of instructions. But as soon as the DSP hits the following line the whole debugging is stopped (The DSP does not move to the next instruction whereas the status of the DSP shows "Stepping Over")

The point where this gets stuck is

                                                       "     hCodec = DSK6416_AIC23_openCodec(0, &configr);"

Any help would be highly appreciated ...

  • It has been a while since I messed with C6416 DSK code, but based on the function name it is stuck on my guess is that you are running into the limitations of the simulator to support external hardware. In particular I suspect that function is trying to access an AIC23 codec that does not exist within the simulator, it is likely stuck at a polling loop waiting for a response from the codec somewhere within that function. If you add the source of that function into your project than you can step into it and see in more detail what may be happening, though I am afraid there is not much you can do to properly simulate interaction with an AIC23 using just the CCS simulator, you really need hardware.

  • Thanks Alot ...

     

    I think the best way to understand the code is to bypass the AIC Codec and provide an input of my own choice.