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.

CCXML file for flash CC2650

Other Parts Discussed in Thread: CC2650, UNIFLASH, CC2538

Hello all,

I'm developing under Linux and Contiki-OS firmware to CC2650, but one problem is to flash this .elf ou .hex under the Linux. I'm using the uniflash tool to program the CC2538 but for the CC2650, there's no .ccxml configuration file that works with XDS100, does anybody have a correct .ccxml file  to flash this CC into LInux environment? In the CC2538 I do this way..

/opt/ti/uniflash_3.4/uniflash.sh -ccxml /opt/ti/CC2538SF53.ccmxl -operation Erase -program $1

 


In hardware I'm using the CC2650 launchpad to program an external module of CC2650.

  • Hello again,

    I tried to install the UNIFLASH on Windows and get the configuration file from there, for my luck this work well and I get to program the flash of CC2650. Above are the command and configuration file to use on this that can help someone like me:

    /opt/ti/uniflash_3.4/uniflash.sh -ccxml /projects/CC2650.ccxml -operation Erase -program example.elf

    ***** Texas Instruments Universal Flash Programmer *****

    <START: 17:01:56 GMT-0300 (BRT)>

    > Configuring the Flash Programmer with the given configuration ...

    > Flash Manager is configured for the following part: CC2650F128

    > Connecting to the target for Flash operations ...

    > Connected.

    > Performing operation: Erase

    > Completed current operation.

    > Loading Program: example.elf

    Cortex_M3_0: GEL Output: Board Reset Complete.

    Cortex_M3_0: Writing Flash @ Address 0x00000000 of Length 0x00007000

    Cortex_M3_0: Writing Flash @ Address 0x00007000 of Length 0x00006b20

    Cortex_M3_0: Writing Flash @ Address 0x0001ffa8 of Length 0x00000058

    > Finish Loading.

    > Disconnecting from target.

    <END: 17:02:24 GMT-0300 (BRT)>

    <Operation Time: 22.155s>

    <Total Time: 27.685s>

    CC2650.ccxml.zip

  • Anderson,

    Thanks for reporting back your findings. You can create a target configuration from inside Uniflash (via the New Target Configuration button at startup), go to menu File --> Save Configuration As and give it a meaningful name. This way you don't have to go to another OS to create your own.

    Regards,
    Rafael
  • Thank's Rafael,

    But in Linux (Debian based Distros), the Uniflash GUI tool does not work even if the requirements are installed on, just the CLI and I don't know how to generate .ccxml in this way...
  • Anderson,

    Interesting; it works in my setup here but I am using Ubuntu 14.04/64 and it is a somewhat old install - i.e., it has seen heaps of CCS and Uniflash installations already - thus I probably have more dependencies installed than it is actually required... :)

    Regards,
    Rafael
  • Hello Rafael,

    Thanks for advice, I'll try to re-install the requirements again. Do you know how to program many CC2650 with daisy chain mode in JTAG and Uniflash? And do you know how to indicate the /dev/ttyACMX to the CLI to program a specific launchpad board?
  • Anderson,

    >>Do you know how to program many CC2650 with daisy chain mode in JTAG and Uniflash?
    That depends on how you are programming the devices; if they are on the same chain but tied to a single JTAG debugger, then you should configure using the details shown in section 3 of the reference below:
    processors.wiki.ti.com/.../Target_Configuration_-_Custom_Configurations

    If they are each connected to a JTAG debugger, then you will also have to create a custom configuration (as shown above) but differentiate each JTAG debugger usually by serial number. section 4 of the reference above talks about that.

    >>And do you know how to indicate the /dev/ttyACMX to the CLI to program a specific launchpad board?
    Serial port assignment is a bit trickier, given the assignment of the serial ports is entirely up to the host operating system. However, if you are using a .ccxml file with multiple debug probes and Uniflash you don't need the serial port assignment.

    Regards,
    Rafael