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.

CCSV5.1 connect dsp674x erro



I connect the dsp674x in c6a8168 by xds100v2.I create target configurations with "TI816x (no stm,ETB only)".And i choose "emulation/boards/evmc6747/gel/evmc6747_dsp.gel" for the initialization script of "Texas Instruments XDS100v2 USB Emulator_0->TI816x(no stm,ETB onl)_0->IcePick_D_0->dspSS->C674X_0".But when I click "Connect Target",the Console put the "C674X_0: Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.389.0)".

Thank you for your help.

Best Regards.

 

  • Hi,

    Despite the C6A8168 device has a C674x core, it is a completely different device when compared to the C6747, therefore it requires a different GEL file to be properly initialized.

    In the case of C6A8168, its support page at Spectrum Digital has the appropriate GEL files for both board versions.

    DDR2 board:

    http://support.spectrumdigital.com/boards/netradimm

    DDR3 board:

    http://support.spectrumdigital.com/boards/netra

    Add them to the CortexA8 core and you should be able to take the DSP out of reset. For details check:

    http://processors.wiki.ti.com/index.php/GSG:Connecting_to_slave_cores_in_SoC_devices_v5

    Hope this helps,

    Rafael

  • My target is DDR2 board. I  have down the new gel file from http://support.spectrumdigital.com/boards/netradimm .After right-click "Launch Selected Configuration",the result is this pictrue.And then i click "connect Target" on c674x_0,the Console put the "C674X_0: Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.389.0)" also.

    I click "connect Target" on CortexA8,the ccs no response.

    Thank you for your help ,

    Best Regards.

  • Hi,

    cheney liu said:

    And then i click "connect Target" on c674x_0,the Console put the "C674X_0: Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.389.0)" also.

    That is expected. As mentioned in the page I sent before, you need to connect to the master core to release the slave cores from reset.

    cheney liu said:

    I click "connect Target" on CortexA8,the ccs no response.

    That is (somehow) unexpected, although with the addition of the GEL file the connect process takes a lot longer to complete.

    In this case I imagine there may be two issues: the GEL file itself or the connection. 

    To check if the GEL file is causing any trouble, can you try to connect to the CortexA8 without the GEL file? Also, can you check if there is test code and a GEL file provided with the companion software that came with your board? There were several pre-release versions of this board and therefore the GEL file in the Spectrum Digital page may be triggering something that does not work properly.

    Your original post was not clear if you could ever connect to the Cortex A8 core - with or without GEL. Can you test this? If it does not work, please check the sections General IDE and Debugger of the Troubleshooting page.

    I see you are using Linux - are you running on VmWare? We experienced several inconsistencies when trying to debug hardware under these conditions...

    Hope this helps,

    Rafael

     

     

  • Hi

    My linux is running on virtualBox.And today I retry connect target.There is a new erro information "IcePick_D_0: Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.389.0) ".

    I imagine there may be  the some program of the cpu itself.

    I have no idear,but thank you also.

    Best Regards.

  • Hi,

    The fact the emulator says it can't connect to the ICEPICK_D indicates the connection is not related to any GEL files (internally the ICEPICK_D is a JTAG component that is connected before any core). That said, it is possible the connection is physically ok but the emulator device driver is not able to properly communicate with the emulator because of the use of the virtual machine - at least we experienced several related issues and inconsistent behaviour with the boards and emulators here.

    If you are able to install CCS in the host Operating System (not VM) and connect successfully, I think the solution is either to try to use a different virtual machine vendor or use it in a different PC with native Linux.

    Regards,

    Rafael