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.

Problem with using BlackHawk debbuger

Hi,

I'm using CCSv6 with Blackhawk XDS560v2-USB emulator, on a computer running windows 7 64bit.

When trying to launch a target configuration, I'm getting the following error message: 
"Can't generate board data file C:\Users\iplab\AppData\Local\TEXASI~1\CCS\ti\0\0\BrdDat\ccBoard0.dat.
An internal error occurred while expanding the scan-path description."

The same CCXML file is used on multiple computers. It works on some of them and doesn't work on others.

I tried to reinstall the CCSv6 and also tried to update the BlackHawk drivers to the latest, but no luck.

What should I do to solve this issue? 

  • Hello Tom

    Did you try creating a new target configuration or did you import an existing one?

    Regards
    Amit
  • Hi Amit,

    I'm using a target configuration file which is saved on a network drive.
    This is the same file which is being used on different computers with CCSv6 and works well.
  • Hello Tom

    May be because the path "C:\Users\iplab\AppData\Local\TEXASI~1\CCS\ti\0\0\BrdDat\ccBoard0.dat." does not exist on the local PC. To double check that, first create a Target Configuration file and see if that works. Then create the path as given above and try the imported file/

    Regards
    Amit
  • Amit Ashara said:
    May be because the path "C:\Users\iplab\AppData\Local\TEXASI~1\CCS\ti\0\0\BrdDat\ccBoard0.dat." does not exist on the local PC. To double check that, first create a Target Configuration file and see if that works.

    The default behavior when creating a new target configuration file is that the "Board Data File" under the Connection Properties is set to "auto generate". That causes CCS to create the ccBoard0.dat file in the user's temporary directory.

    Tom Einhorn said:
    The same CCXML file is used on multiple computers. It works on some of them and doesn't work on others.

    In the problematic target configuration is the "Board Data File" set to "auto generate"?

    Also, try running a "Test Connection" and post the result, since the output of the test connection may give more detailed information on the cause of the error.

    Tom Einhorn said:
    An internal error occurred while expanding the scan-path description

    I searched for that particular error message, and didn't find a description of what causes it.

    • The ccBoard0.dat file exist in the directory, but there is no data in it (0 bytes size). I also verified that it's not marked as "Read only"
    • I've tried to create a new target configuration and it seemed to work. I then tried to use the shared one again, and still got the same error.
    • The shared target configuration is set to "auto generate"
    • When running the "test connection", there is no output except for the "[Start: Blackhawk XDS560v2-USB System Trace Emulator_0]" line.

  • Tom Einhorn said:
    The ccBoard0.dat file exist in the directory, but there is no data in it (0 bytes size). I also verified that it's not marked as "Read only"

    I don't know what is causing the problem.

    Perhaps running Process Monitor on a computer with the problem will give more information on why the ccBoard0.dat  is 0 bytes size. e.g. see if Windows is reporting an error on an attempt by CCS to write to the ccBoard0.dat file.

  • Another quick step to try might be to clean up some cached data used by CCS. There is a utility in ccsv6\ccs_base\common\bin called fs.exe that can be run from a command prompt as "fs.exe -a" to clean these caches.

    Thanks,
    Mark