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.

Part number: 66AK2H12. Problem: The *.out file held open after debug session

Other Parts Discussed in Thread: 66AK2H12, CCSTUDIO

Part Number is:  66AK2H12 (The webpage would not accecpt it - it kept clearing it from the input field).

PDK 4.0.7, NDK 2.25.1.11, SYS/BIOS 6.46.5.55, IPC 3.46.2.04, EDMA3 2.12.4, CTools 2.2.0, CCS 7.4, GNU v4.9.3

I compile and run debug session. After I stop debugging CCS returns to the "CCS Edit" perspective as expected but the next time I go to run the next debug session, the linking fails. I get 

makefile:320: recipe for target 'panel_arm0.out' failed
c:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: cannot open output file panel_arm0.out: Invalid argument
collect2.exe: error: ld returned 1 exit status

If I try to manaully delete the .out file using Wnidows File Explorer, it tells me the same thing; 

"The action can't be completed because the file is open in ccstudio.exe"

I have to completely exit and restart CCS before I can again get the .out file to link.

Any suggestions for help?

  • Dear Customer,

    Good day!.

    I have two suggestions.

    1. In CCS -- > "Click on restore Down button" next to the close button and close all the files.

    2. For the folder, in which the .out gets created, check out the files/folder permissions for RW--> read/write permissions.

    3. While installing CCS, have you installed through admin rights or user rights?

    Regards

    Shankari

  • Dear Shankari,

    Thank you for taking the time to provide these suggestions.

    The problem only happens intermittently and once it startes happening I have stop and restart CCS between each build. In order to clear the problem entirely, I have to reboot the entire computer. After reboot, I can compile and link w/o closing and restarting CCS. I haven't had the problem since I posted and I'm not clear as to why it starts happening. Next time it occurs I will try your suggestion 1. 

    The folder does have R/W and as I say, normally I don't have a problem.

    For your 3, I don't recall but I belive it was admin. It was a long time ago but given the installation is off the root folder, I'm assuming I would have needed to be admin.

    Thanks again,
    Mike

  • Mike,

    Good to hear.

    OK, Fair enough. 

    Time being, Closing the status of this query as closed...

    Regards

    Shankari

  • If you don't mind, could we keep it open? I'm sure the problem will return and rebooting the entire computer is a PITA.

  • Mike,

    It will automatically get re-opened whenever you post a follow up query, when the problem return for you.

    Regards

    Shankari