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 Target Configuration File (ccxml)

Other Parts Discussed in Thread: CC2538, UNIFLASH

Hi all.

Am still experiencing issues on the UniFlash software on Ubuntu when dealing with CC2538 on SmartRF06.

It seems that the ccxml file is the culprit, as mentioned in other posts.

Does anybody have one that actually works? I have tried the latest SmartRF Flash Programmer 2 on Windows and it also fails to write elf files !!

Is anybody actually using CC2538 chips anywhere? What are you using for it?

Regards

  • David, very true ccxml is the culprit. Why don't you contact the TI team in your locality and ask them to visit your facility?

    Regards,

    Gautam

  • Gosh really?

    That seems a bit extreme. SURELY someone has successfully programed up a cc2538em - I purchased the Dev Kit and downloaded the utils, but nogo. All compiles well. All I have is an issue getting the files up to the device.

    What's going on here!

  • I know its an extreme step but if its urgent and you don't want to stall anymore, that's the only option. Also it seems like merely very few people are using this chip and hence negligible support.

    David, now its your take :)

    Regards,

    Gautam

  • What I don't get is:

    1. This is a TI chip

    2. CCS and UniFlash are TI applications

    3. The web site infers these should be used

    4. They do not work!

    This is a TI Support Web Site why can't I get some support here? The closest TI support is 1000s Km away!

    Regards

  • Ohhh.... then be patient and wait for a TI representative to address your issue.

    Good Luck.

    Regards,

    Gautam

  • David,

    Can you try the attached CCXML file for CC2538 and let me know if it works for you? I've been using this CCXML file in UniFlash, and have been able to program the CC2538 device without problems.

    To use the CCXML file, I am assuming you are using the on-board XDS100v3 emulator, and also using the latest UniFlash release (2.2).

    Please keep me updated.

    Thanks,

    Ricky

    CC2538SF53.ccxml
  • Yes using 2.2.

    This ccxml file has the same issue. Locks up at Writing Flash memory (Flash Write progress: 0%) and the Debug Console is continually repeating: 

    [hh:mm:ss] Cortex_M3_0: GEL Output:

    Still waiting for Reset to complete.


    Kind Regards

  • David,

    Sorry, I was mistaken. When you mentioned that you were having issues with CCXML files, I thought that you were having issues with connecting to the device. But since you posted the error you are getting, I can see you are actually having problems with program load, or specifically, the reset that happens after a program load.

    The system reset is issued in the GEL file, so there is a way to disable it. From my understanding, the reset is only needed for debugging environments, so it should be safe to remove in UniFlash. I have attached a version of the GEL file that removes the reset if you want to test it. The file to replace is in <installDir>/uniflashv2/ccs_base/emulation/gel/.

    Also, from my understanding, the "Still waiting for Reset to complete." error is caused by the program (.out file or otherwise) being loaded, either it is missing something, or it needs to be recompiled, or something like that. I need to ask around to get more accurate information on this.

    Thanks,

    Ricky

    cc2538.gel
  • Ricky,

    I had an older thread which has helped, I did as follows:

    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

    :-)