Child pages
  • Upgrading Screvle Firmware
Skip to end of metadata
Go to start of metadata

Is Screvle somehow no longer responding? Go to Manual Upgrade Procedure.

 

The Screvle Lua Development Environment is supported by firmware running on the device. Sometimes you may wish to upgrade this firmware. There are convenient methods to do this.

How Upgrading Works

Screvle uses a small bootloader called microBoot to upgrade its firmware. A bootloader is a small piece of software that runs directly after Screvle is powered. In most cases, it will do nothing and executes the actual firmware. When instructed to upgrade though (see later), the bootloader will read a file called firmware.bin from the SD-card and write it to the internal memory. Screvle then restarts and will execute the new firmware.

Upgrade using a local binary file via the Lua Development Environment Webinterface

1. Open the Lua Development Environment

Point your browser to the IP address of Screvle. 
Screvle Handheld: http://192.168.1.150
S
crevle Mini: http://192.168.2.150

2. Click the upgrade link at the top left

3. The firmware upgrade dialog opens

 

4. Drag and drop the binary firmware file

Drag and drop the binary firmware file into the field called "Drag & Drop your firmware image here!".

5. Instruct Screvle to upgrade to the new firmware

Press the "Upgrade!" button.

The dialog will now close and Screvle will reboot 3 seconds later.

6. Upgrading (automatic)

The microBoot bootloader will now read the binary file from the SD card and write it to the internal memory of the MCU. Progress can be monitored on the display.

7. Reboot into new firmware (automatic)

After writing the new firmware to internal memory, Screvle will reboot and execute the new firmware.

Manual Upgrade Procedure

1. Put the new firmware on the SD card

Take the SD card out of Screvle and use a micro-SD card reader to access the data on the SD card using a PC.

Copy the firmware image to the root of the SD card and rename to firmware.bin.

Insert the SD card back into the Screvle device.

2. Trigger the bootloader

The bootloader can be triggered to upgrade the firmware by pressing and holding the center key of the 5-way button for several seconds when Screvle is booting. Screvle can be rebooted by removing and re-applying power or by pressing the reset button (middle pinhole above the Ethernet connector).

After several seconds of pressing the center button of the 5-way button, the bootloader will start upgrading (feedback is shown on the display). You can now let go of the button.

3. Reboot into new firmware (automatic)

After writing the new firmware to internal memory, Screvle will reboot and execute the new firmware.