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.

DSP/BIOS not working properly



I recently converted a project from CCS3.1 to CCS5. I have a .tcf file and the project will build an .out file successfully.  However, when I flash the DSP (2812) the DSP/BIOS functions do not seem to work properly. the SWI's and TSK's don't seem to be running when I step through the code in debug mode with an emulator. Below are example RTOS object view and RTA control panel screen shots. Do you have any suggestion as to what might be the problem?

  • Hi Robert,

    I presume you switched to a newer (CCSv5 compatible) version of DSP/BIOS. What version are you using now ?

    Can you briefly summarize how the working application is suppose to behave versus how your app is behaving now ? The ROV views you shared seem ok and dont seem to point at any problems.

    Best,
    Ashish
  • Hi Ashish,
    I am using bios version 5.41.13.42.

    Summary:
    I am able to build the project with CCS5 and get an .out file. However, when I flash the target the code does not seem to run properly. For example the CAN interface to the display does not work, the serial port interface cannot connect with a PC and the heartbeat flashing LEDs on the target board do not flash.

    I set up an emulator to step through and debug. It loads main() and I can step through and pause as it runs code but the features mentioned above do not work. Also, I tried to put breakpoints in our periodic functions handled by the DSP/BIOS such as SWIFunc_1000ms(). The breakpoints were never reached when I ran the program.

    So, I am not sure what to check next. As I mentioned, this project worked fine in CCS3.1.

    Do you have any suggestions?

    Thanks.
    Robert