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.

ERROR IN DEBUGGING C6748 LCDK WITH OLIMEX 100V2 EMULATOR

I tried to debugg the c6748 LCDK kit with both blackhawk xds100 v2 and olimex xds 100v2 emulator, some of time it gives error during connection C6748 DSP with emulator like

C674X_0: Output:     Target Connected.
C674X_0: Output:     ---------------------------------------------
C674X_0: Output:     Memory Map Cleared.
C674X_0: Output:     ---------------------------------------------
C674X_0: Output:     Memory Map Setup Complete.
C674X_0: Output:     ---------------------------------------------
C674X_0: Output:     PSC Enable Complete.
C674X_0: Output:     ---------------------------------------------
C674X_0: Output:     PLL0 init done for Core:300MHz, EMIFA:25MHz
C674X_0: Output:     DDR initialization is in progress....
C674X_0: GEL: Error while executing OnTargetConnect(): Driver did not attempt to read memory at 0x01C14188     at (*((unsigned int *) (0x01C14000+0x188))&=~(0x00000020)) [C6748_LCDK.gel:228]     at device_PLL1(24, 1, 0, 1, 2) [C6748_LCDK.gel:406]     at Set_DDRPLL_150MHz() [C6748_LCDK.gel:424]     at Set_DDR2_150MHz() [C6748_LCDK.gel:459]     at Core_300MHz_mDDR_150MHz() [C6748_LCDK.gel:245]     at OnTargetConnect() .

C674X_0: Power Failure on Target CPU
C674X_0: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging.

Some times it gives error like:

Error connecting to the target:
(Error -154 @ 0xFFFFFF66)
One of the FTDI driver functions used to
write data returned bad status or an error.
(Emulation package 5.0.747.0).

Some time c6748 dsp successfully connect with emulator. Then we load the example .out file & start debugging then it gives error like " Power Failure on Target CPU ".

Please suggest some solution for that

  • I am not sure if this is useful, but seems similar problem

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/212711.aspx

  • Hi,

    For this below problem:

    C674X_0: Power Failure on Target CPU
    C674X_0: Failed to remove the debug state from the target before disconnecting.  
    There may still be breakpoint op-codes embedded in program memory.  
    It is recommended that you reset the emulator before you connect and reload your
    program before you continue debugging.

    Try this link:

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/104344.aspx

    In this link, last post:

    We found a potential of about 0.6 Vdc between the embedded device neutral and the PC's neutral.
    We installed an isolation transformer in front of the PC and connected the transformer
    secondary neutral to the device's neutral.

    Please try this.

    Regards,
    Balaji N

  • Hello Balaji,

    Thanks for your reply.

    What is the meaning of embedded device neutral. Is it kit GND or something else.

    How you doing isolation.

    regards

    Sachin Arora