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.
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
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,
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
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