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.

CCS3 setup for two C6747

Hi:

    i have got two C6747 connected like this (guieded by SPRU641)

Now I am trying to connect these two targets, but i am confused with how to setup my CCS3, it seems that when i setup it like this and then connect

i get this error:

Error connecting to the target:
Error 0x80000244/-1265
Fatal Error during: Register, Initialization, OCS,
The TAP ID for the DAP, read as 0x00000000, does not match with the default ID or the one provided in the board file.

Board Name: C6747 XDS560 Emulator
Cpu Name: ICEPICK_C_0

Abort:  Close Code Composer Studio.
Retry:  Try to connect to the target again.
Cancel:  Remain disconnected from the target
Diagnostic: Run diagnostic utility.

while if i steup it like this

there will be an error of another kind

Error connecting to the target:
Error 0x80000240/-1146
Fatal Error during: Initialization, OCS,
Invalid data was scanned by the emulation controller.
Verify the board setup to make sure the scan chain is properly
defined.
If the setup is correct, then 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.

Board Name: C6747 XDS560 Emulator
Cpu Name: TMS320C674X_0

Abort:  Close Code Composer Studio.
Retry:  Try to connect to the target again.
Cancel:  Remain disconnected from the target
Diagnostic: Run diagnostic utility.

It seems that my XDS560 Emulator is good because i succeeded in connecting a c6747 on an evaluation board. How should i setup my CCS, or wether the problems above are caused by my incorrect hardware design?

  • Feng,

    Keep in mind that a device is completely described from the C6747_0 and up, therefore you also need to add an ICEPICK_C_x, a Subpath_x and a TMS320C674X_x core.

    Therefore the configuration would be something similar to:

    I don't have a board with dual C6747 devices, but I created a configuration that you can try (it does not have GEL files). See attached.

    Hope this helps,

    Rafael

     

    Dual_c6747_xds560.ccs
  • thanks a lot, Rafael

    i tried the configuration file you gave to me, but it seems that i can successfully connect C6747_1, but just can't connect C6747_0, CCS keeps reminding that

    Error connecting to the target:
    Error 0x80000240/-241
    Fatal Error during: Initialization, OCS,
    This error was generated by TI's USCIF driver.

    SC_ERR_ROUTER_SECURE_SUBPATH <-241>
    A router subpath could not be accessed.
    A security error has probably occurred.

    Board Name: Dual C6747 XDS560 Emulator
    Cpu Name: TMS320C674X_0

    Abort:  Close Code Composer Studio.
    Retry:  Try to connect to the target again.
    Cancel:  Remain disconnected from the target
    Diagnostic: Run diagnostic utility.

     I am checking my hardware connection to see if there is anything fundmently wrong.

  • prolem soloved! it turns out that  sth unusual has happened on my clock system that i didn't pay attention to. the clk of one of my C6747 didn't work . to verifiy my guess i just remove my clk system and both of these two C6747s can't be connected.  after knowing that i repromgammed the clk chip and now everything looks fine.

    thanks for your advice.