Issues with first firmware update

edited July 2016 in Kinoma Element

Greetings!

We've noticed that some of you are having trouble updating the firmware of your Kinoma Element for the first time in Kinoma Code. This post should help get that sorted out, but let us know if you continue to have problems or have any questions after following the instructions below.

Step 1: Check firmware version

If the status light on your Kinoma Element blinks blue while starting up, it is running on firmware version 0.99.7, and you will be unable to perform the initial update in the current version of Kinoma Code. We're working on a solution, but for now you'll have to use the USB console for the first update. Instructions for Mac and Windows are below.

If the status light blinks white, you may already be on the most recent firmware. To check what version your device is running, connect your computer to the same network your Kinoma Element is on. If this is the first time you've turned your Kinoma Element on, it will boot into access point mode. When in access point mode the Wi-Fi network name is the hostname of the device. If no hostname has been set, the name is based on its MAC address and is of the form “Kinoma Element-xxxxxx”.

Open a web browser and go to http://[ip_address]:10000/description. If your device is in AP mode, its IP address will be 192.168.0.1. Otherwise you can get the IP address from its "Kinoma Shell" entry in the Net Scanner tab of Kinoma Code. The browser should respond with something like this, with a firmware entry that tells you what version:

 {"firmware":"2.0.0","version":"7.1.41","name”:"myElement","debugShell":"true","id":"com.marvell.kinoma.launcher.element","studio" {"version":"1.3.49","locked":false,"compile":"always","install":"always","profile":false},"xsedit":true}

If you're already on version 2.0.0, you're all set to start writing applications. If not, you should update your device by following the steps below.

Step 2: Connect to command line interface

Mac

Connect your Kinoma Element to a USB port on your computer. The serial connection will then appear as an option in the target device dropdown list in Kinoma Code.

Select the serial connection and an input field will appear that lets you use the command line interface.

Windows

Follow the steps in this troubleshooting guide to connect to the command line interface. They can be found in the Troubleshooting WiFi section, starting with the line that says 'Via the Kinoma Element command line interface' and ending with the line that says 'Follow the instructions in the Kinoma Element Quick Start Guide.'

Step 3: Connect to Wi-Fi and update

Connect your device to your preferred Wi-Fi network using the connect command. You cannot perform updates while in access point mode. This command will be of the form connect ssid security password hidden save where:

  • ssid is the name of the Wi-Fi access point
  • security is set to “wpa2” for access points using the WPA2 protocol or “none” for access points with no security
  • password is either the password for your network or “undefined” if there is none
  • hidden is either true if the access point is hidden, or false if it is not
  • save is true if you want your device to save this network and automatically connect to it whenever it’s available, false if you do not

For example, if your network is called network_name and the password is password123, you would use:

connect "network_name" wpa2 password123 false true

If your network is not password protected, you would use:

connect "network_name" none undefined false true

It’ll take a few seconds for it to connect, but you can check that you’re connected to your chosen network with the wifi command.

Once connected to Wi-Fi, type update and press enter. You should see a series of numbers and eventually

download: finished
{
    status: true
}




Once you've performed the initial update, future updates can be done in the Settings tab of Kinoma Code. Good luck!

-Lizzie

Sign In or Register to comment.