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.

TMS320C671X: AutoRun: Target not run as the symbol "main" is not defined

When I am loading my code on dsk6713, i don't get any error. But I am not getting any output at my CRO.. I get this message at console:

TMS320C671X: AutoRun: Target not run as the symbol "main" is not defined

I have attached my c file.

Thanks.

Dishant Arora

  • Hi Arora,

    Have you created new target configuration (for DSKC6713 and your emulator name) in your CCS project that you are trying to debug through emulator ?

    http://processors.wiki.ti.com/index.php/Quick_Tips#Target_Setup

    http://processors.wiki.ti.com/index.php/Target_Configuration_-_Custom_Configurations

  • Hi,

    Thanks for your post.

    After loading the application image, did you get control on main() function and able to run the code step by step and i mean, is it hanging in somewhere in the middle of the code else, it is not coming to main() function control. In general, the project should not run automatically, after loading the binary, you need to manually click the "Run" button for free run but in your case, i think, it is autorunning. Is my understanding correct?

    If so, please check the target configuration file and ensure the proper DSP6713 board and appropriate emulator used in your setup should be configured properly. Also, check the default GEL file for the DSK6713 board is configured properly which actually does the board boot up and start-up peripheral initialization. By this way, we could ensure that, the board is properly booted through gel initialization script.

    Please check the below wiki for CCS debugging on the board:

    http://processors.wiki.ti.com/index.php/C6713DSK_in_CCSv5#Debugging_on_the_board

    Thanks & regards,
    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------
  • Yes, I have added target configuration file.

  • Hi,

    I will give you workaround for this,

    Try to download CSL packages for C6713 and build any sample CCS project then try to debug it,

    If that is possible then try to append your code that same sample CCS project and test.

  • I have csl package. How do i reset emulator(on board jtag emulator). I am getting this error:

    TMS320C671X: Trouble Removing Breakpoint with the Action "Finish Auto Run" at 0x2660: Error 0x80000008/-1060 Fatal Error during: Break Point,  An unknown error prevented the emulator from accessing the processor in a timely fashion. It is recommended to RESET EMULATOR.  This will disconnect each  target from the emulator.  The targets should then be power cycled or hard reset followed by an emureset and reconnect to each target.  

  • Arora,

    Arora said:
    How do i reset emulator(on board jtag emulator).

    Easiest: Find the CCS Debug perspective's Reset icon. It has a drop-down list that include Reset Emulator.

    Middle: Terminate the Debug Configuration with the red square icon, and then power cycle the board. Re-launch the Target Configuration, Connect target, try it all again.

    Worst case: Close CCS and turn off the board. Re-start CCS and re-apply power to the board.

    Regards,
    RandyP