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.

Unable to open GEL file

Other Parts Discussed in Thread: TMS320C6748

Hi,

 

I'm using C6748 with xds100 v2 emulator. The connection has been tested before built the project.

 

After bulit the project, I tried to debug it. However, CCS says that "unable to open GEL file", although I have put the GEL file in the project

 

And then CCS also says that "ICEPICK_C: 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). (Emulation package 5.0.520.0)".

 

Thanks in advance!

 

Best regards,

PP 

  • Hi,

    XX PP said:

    After bulit the project, I tried to debug it. However, CCS says that "unable to open GEL file", although I have put the GEL file in the project

    You need to include the GEL file in your target configuration. Please check the section Advanced target configurations of the CCSv5 Getting Started Guide.

    XX PP said:

    And then CCS also says that "ICEPICK_C: 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). (Emulation package 5.0.520.0)".

    This error indicates the device may not be powered up correctly, as the emulator is failing to properly read a register on the internal JTAG router of the C6748 device (called ICEPICK). I would carefully inspect all the connections, as well as check if the C6748 is being held in reset by an external device - additional details are at the page below:

    http://processors.wiki.ti.com/index.php/Debugging_JTAG_Connectivity_Problems

    Another tip is to connect to the device manually instead of using the green bug button. For that, check the same section of the CCSv5 Getting Started Guide sent before.

    Hope this helps,

    Rafael

  • Hi Rafael,

     

    Thanks for the reply, the problem is solved.

    By the way, I would like to know the setting of DIP switch on C6748.

    As shown in the brochure along with the TMS320C6748, the DIP switch is set as 2, 3, 4 on and 1, 5, 6, 7, 8 off.

    This setting is correct for finger print and face detect demos.

    Is it also correct for other cases in developing TMS320C6748?

     

    Thanks.

     

    Best regards,

    PP

     

  • Hi,

    XX PP said:

    By the way, I would like to know the setting of DIP switch on C6748.

    Since you did not mention what board you were using, this then becomes impossible to guess. In any case, I strongly recommend you carefully inspect the documentation that came with your board and look for the bootmode settings - typically they will have a combination that says emulation, debug or no-boot mode.

    Regards,

    Rafael