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.

UniFlash - Ubuntu 12.04 32bit - CC2538

Other Parts Discussed in Thread: UNIFLASH, CC2538

There appears to be bugs in the UniFlash platform on Ubuntu when dealing with CC2538 on SmartRF06.

1. UniFlash installed ok no errors although I had to adjust permissions on the Desktop Link to get it to work.

2. Create CCXML File operated without error creating a ccxml file for the CC2538SF53 and XDS100V3 combination.

3. Added a Program File and then tried to Program the CC2538. ERROR!:

Error connecting to the target:
(Error -233 @ 0x0)
The JTAG IR and DR scan-paths cannot circulate bits, they may be broken.
An attempt to scan the JTAG scan-path has failed.
The target's JTAG scan-path appears to be broken
with a stuck-at-ones or stuck-at-zero fault.
(Emulation package 5.1.73.0)

The Board and emulator is connected and recognised by the system

This needs an official fix asap

  • Hi,

    Here Uniflash is not able to communicate with the emulator due to some driver issues/ ccxml ie target configuration issues. There are no bugs in Uniflash on Ubuntu. Please try uninstalling the drivers and reloading it. 

    Please check this out: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/239320/840753.aspx

    Regards,

    Gautam

  • The XDS is coming up ok in the commandline.

    root@instant-contiki:/opt/ti/uniflashv2/ccs_base/common/uscif# ./xds100serial

    Scanning for XDS100 emulators...

    VID/PID Type Serial # Description

    0403/a6d1 XDS100v3 06EB12100466 Texas Instruments XDS100v root@instant-contiki:/opt/ti/uniflashv2/ccs_base/

    common/uscif#

  • The CCXML file provided in the link you gave me does:

    [08:16:13] Begin Launching session operation...
    [08:16:14] ERROR >> Cannot read System Setup data from XML file /home/user/contiki/examples/cc2538dk/CC2538.ccxml
    Error parsing file:
    Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/home/user/contiki/examples/cc2538dk/devices/cc2538.xml while parsing file: /home/user/contiki/examples/cc2538dk/devices/cc2538.xml
    [08:16:14] com.ti.debug.engine.IApplication$InitializationException: Cannot read System Setup data from XML file /home/user/contiki/examples/cc2538dk/CC2538.ccxml
    Error parsing file:
    Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/home/user/contiki/examples/cc2538dk/devices/cc2538.xml while parsing file: /home/user/contiki/examples/cc2538dk/devices/cc2538.xml
    [08:16:14] Operation Launching session returned.
    [08:16:14] Loaded target configuration from: /home/user/contiki/examples/cc2538dk/CC2538.ccxml

    When loaded in UniFlash as there is no devices/cc2538.xml

    More thoughts

  • David, what I can conclude on after reading various posts is that ; there has to be some issue with ccxml file. You have to choose the correct/proper configuration. cc2538 has some trouble and compatibility issues with Uniflash; but configuring the target configuration properly should do the trick.

    Check these out too:

    http://e2e.ti.com/support/low_power_rf/f/155/p/266857/932994.aspx

    http://e2e.ti.com/support/low_power_rf/f/155/p/266857/932863.aspx

    Regards,

    Gautam

  • Neither of those links seem relevant as I am not using IAR !

    Have reloaded UniFlash - still no joy.

    Just another example of not enough testing or documentation.

  • Still no joy, but have moved forward. Now UniFlash attempts to write the file, the Red Advanced Node led comes on and the device seems to start being programmed. UniFlash stops at Flash Write Progress of 99% done and complains:

    Timeout waiting for reset.

    On either Ubuntu or Windows.

    And some times locks up (Under Windows)

     

    That's it - moving to Windows and SmartRF Programmer !!!

  • David,

    I am sorry about the inconveniences over this device. We are working to address this in future releases. Could you give a try to the ccxml in the zipped package below and see if it works for you?

    Victor

    6180.CC2538SF53.zip

  • Victor,

    Very many thanks for your help with this. It seems you were right about the ccxml file. When I first tried it, there was no difference, which was strange. I played around a bit with the same file and CCS and discovered that it started working correctly. I'm not sure what I changed, however, I think it was the check box for "Mange the projects target-configuration automatically". Once I checked this it worked ok :-)

    Interestingly, the ccml generated by CCS when this is checked, worked well in UniFlash!

    Joy Joy Joy

    :-)