Upgrading firmware from commandline

Discussion to talk about software related topics only.
Post Reply
SeeCwriter
Posts: 605
Joined: Mon May 12, 2008 10:55 am

Upgrading firmware from commandline

Post by SeeCwriter »

For firmware built with v2.x tools for a NANO or MOD5441X, is it possible to use an OS independent script file (e.g. python, go, etc) to upload new firmware to the module?
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: Upgrading firmware from commandline

Post by pbreed »

Three possibilities:

Source for Autoupdate is provided.
Also autoupdate can be driven from the command line. (needs to be a windows install)

Under Autoupdate is a JAVA version of autoupdate again source is provided...

Under Clinetool is a C/C++ command line tool that will do autoupdate...

Also if you want you can add web update to your apps see the example:
PostApplicationUpdate....

This would allow you to use something like wget to update your apps, but inital load still should use standard tools.
SeeCwriter
Posts: 605
Joined: Mon May 12, 2008 10:55 am

Re: Upgrading firmware from commandline

Post by SeeCwriter »

We have a customer that has a large number of our products, and they want to be able to automate upgrading firmware. Their computer system is Linux, so they can't use Windows utilities, and they don't want to open a webpage or use a GUI utility for each device and manually upload firmware.

Thanks for the response. I will look into the options.
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: Upgrading firmware from commandline

Post by pbreed »

So add:
PostApplicationUpdate.... functionality to your application....

Then they can use wget from the command line to update.

Alernativly the cline tool was written to do this from the command line in linux (why it exists)
Post Reply