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.

Cannot debug into asm

Hi,

I have a small project, which is comprised of one C file and an asm file. I have turn on debug infomation option, no optimization yet. While I can debug the main C file by step (F6 key), the asm function is passed by (I cannot go into it). What setting can make me step through the asm file?

 

Regards

  • I forget to add that this is a C6678 project.

    The compiler settings are:

    -mv6600 --abi=eabi -g --include_path="C:/Program Files (x86)/Texas Instruments/C6000 Code Generation Tools 7.4.0B2/include" --display_error_number --diag_warning=225 --diag_wrap=off --asm_listing

    The linker settings are:

    -mv6600 --abi=eabi -g --display_error_number --diag_warning=225 --diag_wrap=off --asm_listing -z --stack_size=4000 -m"fircirc_ext_6678.map" --heap_size=4000 -i"C:/Program Files (x86)/Texas Instruments/C6000 Code Generation Tools 7.4.0B2/lib" -i"C:/Program Files (x86)/Texas Instruments/C6000 Code Generation Tools 7.4.0B2/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --rom_model

    CCS is v5.

    CCS general is:

    Thanks.

  • Hi Robert,

    This sounds similar to a known issue that is being tracked as:

    SDSCM00044926 

    That issue will be fixed in the next update of CCSv5 (5.3)

    Thanks

    ki

  • Thanks.

    I change to C6713, which can debug the mix of C and asm. But, it has another problem on coverage profiling. I am not sure this relates to the above problem or not. First, there is no coverage data showing in the box, which has only the top item names. Second, when I press the red terminate button, all CCSv5 quits. This has good repeativity.

  • Hi Robert,

    It is best to start a new thread for an new topic. It helps others find the information they are looking for when they search the forums. For future cases, please do so.

    back the the question, I do not see any issues in my environment. I am assuming you are using the 6713 device simulator. I tried it with 5.2.1 and all worked well. Could you try some of the steps in the troubleshooting guide? And if that does not help, take a look at the section at the end of the guide where you can provide logs and dump files:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5

    Also, if possbile, please provide a reproducible test case. This would include the source files and build out file.

    Thanks

    ki