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/CC2650: How can you reduce the clock frequency in UNIFLASH 4.1

Part Number: CC2650
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: Code Composer Studio

Hi,

I am using UniFlash 4.1 to flash a cc2650. I need to reduce the clock frequency.

How can this be done in Uniflash (preferably from the command line)?

Thanks

  • Hi,

    Are there any particular reason why you are using Uniflash instead of SmartRF Flash Programmer 2 to flash CC2650?

    - kel
  • Hi Kel,

    Yes, I am using uniflash command line tool on linux to flash multiple devices. The JTAG signals are routed through an FPGA and I have noise on the TMS signal. I want to try lowering the Clock.

    Although, I am not sure if this will solve the problem. I could test it on Flash Prorammer 2 on windows. Can you lower the clock in Flash programmer 2?

    Thanks

  • John,

    The TCLK frequency is stored in the ccxml file.  This is the target configuration file.  By default in UniFlash this gets generated automatically but you can specify to use an existing one if you have one already with specific settings.  This is the option at the bottom of UniFlash when creating a new session.

    Here is a .ccxml file that is opened in CCS which shows where the TCLK setting is:

    Here is what it looks like when you choose to specify a different frequency.

    The ccxml file is an xml file and here is where that setting gets saved:

    In your commandline UniFlash package there would be a ccxml file that is being used.  You could replace it with a modified one or when creating a session you could specify which one to use.

    I have attached the ccxml where I have edited the TCLK.

    CC2650LP.zip

    Regards,

    John

  • Hi,

    Another thing to note is that starting with UniFlash 4.2.0, you can edit the JTAG TCLK Frequency setting directly in the UniFlash GUI. Therefore, you do not need to install CCS just to edit the CCXML.

    Thanks,

    Ricky

  • Hi Ricky,

    Thanks for your reply.

    I'm actually using an XDS100v3 and the 4 wire protocol. There is no option to lower the JTAG CLK frequency in the IDE when using the XDS100v3. Is this not supported?

    Could you provide a configuration file for the cc2650 with a clock frequency of 500 khz please?

    Thanks
    J
  • John,

    I'm not sure if this is what you need, but the attached CCXML is for CC2650 + XDS100v3, and it sets the "The Emulator 1149.1 Frequency" to "Adaptive with user specified limit" with a value of "500khz". This was generated from CCS.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/NewTargetConfiguration.ccxml

    As JohnS noted, you can generate this yourself in CCS as well.

    Thanks,

    Ricky

  • All,

    During this discussion I found out that, in CCS, the string that defines the TCLK setting for IEEE1149.7 4-pin modes is misleading.

    I filed the enhancement number DBGTRC-3511 to change this.

    Regards,

    Rafael

  • Hi Rafael, Ricky,

    It seems that you can only edit the CLK frequency if you are using the XDS110 debugger?

    I am using the XDS100v3 and the option does not appear for this one?

    Thanks
    J
  • John,

    >>It seems that you can only edit the CLK frequency if you are using the XDS110 debugger?
    I am not quite sure what you mean, since the screenshot I sent is configured with the XDS100v3 from inside CCS.

    Are you seeing something different?

    Regards,
    Rafael