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.

CCS/C2000-GANG: ERROR 70: DSP CLK frequency error

Part Number: C2000-GANG
Other Parts Discussed in Thread: TMS320F28027,

Tool/software: Code Composer Studio

Hi,

I have tried for first time the C2000-GAN programmer in our custom designed board (MCU TMS320F28027 running at 60MHz from internal clock). I am using the "Interactive Mode", as it is recommended for first time users in SPRUHS0C. I have generated, I think correctly, the .hex file in Code Composer (Properties -> Build -> C2000 HEX Utility -> Output Format Options):

- When I press "GO (F9)", the process Fail in the step 6. The software shows the following error message: "ERROR 70: DSP CLK frequency error". In the OSC textbox, I see 2.49 - 2.49, and in SYS textbox I see 7.50 - 7.50.

Note: I am able to program my target without errors using the XDS110 and the application runs well.

Does anybody know the cause and solution to this error? 

Thank you in advance.

Ramon Navarro

  • Ramon,

    We have requested one of the C2000 Gang programmer engineer to look into this issue. Hopefully you will get a response in next 2 -3 business days.

    Regards,
    Manoj
  • Hi Ramon,

    The C2000-GANG is using internal 10MHz CLK for programming - regardless your external XTAL frequency. The measured internal frequencu is detected as 2.5MHz only. That is a problem. We will check it on our side and let you know. Are you using the latest software available on TI for C2000-GANG programmer?

    Best regards,

    Gregory Czajkowski
    Elprotronic Inc.

  • Hi Gregory,

    Thanks for answering. Yes, we are using the lastest software available. I downloaded it one week ago. After that, the software updated the firmware of the C2000-GANG (bought the same week from one of the very known online distributors).

    Regards.

    Ramon Navarro

  • Hi Gregory,

    Any progress with our issue?

    Thank you in advance. Regards.

    Ramon Navarro

  • Hi Ramon,

    I tested with the latest software (version 1.00.10.00 - 26.Nov.2018) and all looks OK. See below. Can you email more info? Email me the screen shot as below with info displayed on the report window.

    Regards,

    Gregory Czajkowski
    Elprotronic Inc.

  • Hi Gregory,

    This is the screenshot. Same results if I decrease JTAG speed (JTAG Medium and Slow).

    Regards,

    Ramon Navarro

  • Hi Ramon,

    Did you use the latest software from TI website? If so - is it possible that you can send me your firmware (hex code) that was downloaded before to MCU and maybe some setup inside MCU is creating the problem.  My email address is below. Is it the same problem if the flash MCU is blank?

    Best regards,
    Gregory Czajkowski
    gregory@elprotronic.com

  • Ramon,

    Is this issue resolved? Can we close this thread?

    Regards,
    Manoj
  • Ramon,

    Please answer the queries from Greg.

    Regards,
    Manoj
  • Hi Greg,

    Yes, I downloaded and installed the latest software from TI website. It was 5 weeks ago. I sent you an email some days ago with our hex code. And yes, we have the same problem in a blank MCU (although I tried that only once, in a second board).

    Thank you in advance.

    Ramon Navarro
  • Hi Ramon,

    The file you sent me is in 8 bits format. See below. Every two lines the contents is empty. Maybe that is your problem. Please email me the hex file with 16-bits data. Can you check what you see on your side when you open the code file? All contents should be defined, not just two lines data then two lines empty.

    Best regards,
    Gregory

  • Hi Greg,

    OK, this is one mistake. Unfortunately I am not able to generate the file correctly in CCS (v8). I have tried almost every option in  Properties -> Build -> C2000 HEX Utility -> Output Format Options. Perhaps I will have to open a new topic for that...

    However, it does not explain why I was not able to connect and read an already programmed board (using the standard XDS110).  And I have found that the problem appears when I only enable 1 channel (believe me, I am selecting the right channel). Now, casually, I have enabled the 8 channel of the C200-GANG and, success!   And it only works for channels 2 to 8, not for channel 1.

    Greg, one question:

    - Can I use the Flash Memory Data that I have read to generate a file that can be used for future programming operations in other boards?

    - I have tried the options in the botton of the screen ( "Ti hex(*.txt)" and "INTEL(*.hex)", and they generate a blank file in notepad.

    Thank you in advance.

    Ramon Navarro

  • Hi Ramon,

    Use following option for converting the file

    hex2000.exe  -romwidth=16 -memwidth=16 -i -o

    Can you email me the file using that conversion, or email me the output file from CCS then we will convert it.

    Best regards,
    gregory