Can I call uniflash from command line (in a DOS-BOX, batchfile, makefile, ...)?
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.
Hi Martin,
It does not look like the CC3100/CC3200 version of UniFlash has command line tools added yet. The main UniFlash tool does, you can see details here - http://processors.wiki.ti.com/index.php/UniFlash_Quick_Start_Guide#Command_Line as you can see, there is no <installDir>/uniflash<version>/ccs_base/scripting/ folder in this CC3100/CC3200 version of UniFlash.
I imagine this is planned, there are quite a few features to be added to UniFlash, for example my programmer (XDS200) does not seem to be supported by the CC3100/CC3200 version of UniFlash.
Not to be pedantic, but why is it called UniFlash? There now seems to be 2 versions, one for the CC3100/3200 and another for everything else. I imagine the Uni in UniFlash is either an abbreviation of Unified or is a Latin prefix for One or Single.
Glenn.
Glenn,
There are two flavors for Uniflash since CC31xx/CC32xx is the new family of WiFi chipsets. We are planning to converge into a uniflied version once more features are introduced. So eventually, the family and device would appear like any other platform Uniflash supports.
Martin,
CLI is part of the roadmap and supposed to come very soon (next after ServicePack programming). Will also announce it once available.
Shlomi
Hi,
Any news? As I have seen there is no Uniflash Version with CLI available yet for the CC3100/CC3200.
It would be great for the production.
Best regards,
David
Well, actually there is several months. The latest version (v0.65) supports command line.
You can look at the online UG for more information.
Shlomi
Hi,
Finally I have found the command line support. But I have some problems using it. The only documentation I can find is this:
****** Texas Instruments Universal Flash Programmer ****** Usage: uniflash [CONFIG] [SETTINGS] [OPERATION] [CONFIG]: -config <configPath> [SETTINGS] -listOptions -operation <opCode1> ... <opCodeN> <End of command>
Any additional documentation or a sample would be helpful. In the Wiki is something written about the sample "uniFlash_example.bat" but unfortunately it doesn't exists. Does someone have this file?
thanks
david
David,
Uniflash CLI is detailed (with examples) on the User Guide WiKi.
Please take a look at: http://processors.wiki.ti.com/index.php/CC31xx_%26_CC32xx_UniFlash#Command_Line_support
Let me know if you have questions.
Shlomi
Hi Shlomi
Thanks, this was exactly what I was looking for!
But I have again a few problems:
First I got this exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'FlashCC3xIntegration': Native library (win32-x86/FlashCC3xIntegration.dll) not found in resource path ([file:/C:/ti/uniflash_3.2/eclipse/command_line/com.ti.uniflash.commandline.jar, file:/C:/ti/uniflash_3.2/eclipse/plugins/com.ibm.icu_4 .4.2.v20110823.jar, .....
So, I had copied the "FlashCC3xIntegration.dll" to "C:\ti\uniflash_3.2\eclipse\plugins". But now I have the following error
> Executing operation: format > Relevant settings: Secure: false Alert: false Capacity: 8MB Exception in thread "main" java.lang.NoSuchMethodError: com.ti.uniflash.cc3xx.co mmands.base.ICommandHandler.execute()I at com.ti.uniflash.commandline.CC3xCommandLineHandler.executeOperation(U nknown Source) at com.ti.uniflash.commandline.CommandLine.executeOperations(Unknown Sou rce) at com.ti.uniflash.commandline.CommandLine.main(Unknown Source)
Any idea?
Thanks,
David
David,
Please don't revert your action.
I'll forward your query to the right contact for further suggestions.
Regards,
Shlomi
David,
Can you let me know if you go UniFlash 3.2 build 65 from updating from an older build (b19 or b23) or by downloading the installer for b65?
We have gotten reports before that updating from existing builds can mess up some of the components, and we are looking into this internally. Because of this, it might make sense for you to try downloading the full build instead if you previously went with the update route.
Let me know.
Thanks,
Ricky
Thanks Ricky!
I have uninstalled uniflash, deleted the folder, and reinstalled it. Now it's working!
Good news!
Thanks Ricky. I am closing the thread, if you experience other related issues, please open a new thread and add a link to this one for reference.
Shlomi