From 29c176ae19b83d2b016c6df3f102221ac8f9ae76 Mon Sep 17 00:00:00 2001 From: Pekka Niemimaa <pekka.niemimaa@haltian.com> Date: Thu, 3 Sep 2015 12:55:41 +0300 Subject: [PATCH] Add some fw-update instructions. --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 978b6b53..808f19da 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,30 @@ cd nuttx/configs make ``` +## Updating firmware + +Via the SD card + + 1. Rename nuttx.oci to update.oci. + 2. Copy update.oci to Thingsee's mass memory (SD card). + 3. Shutdown and restart the device. + 4. Thingsee will flash the device automatically, when update.oci file is found on SD card at bootup. + +Alternatively you can flash the firmware dfu file with dfu-util (Please use >= dfu-util 0.8-1). + +The easiest way to activate DFU mode in the Thingsee device is to: + + 1. Open the case to access the bottom side of the board. + 2. Locate “FLASH” and “RESET” buttons. + 3. Hold “FLASH” button and then press and release “RESET” button. + 4. Your device should now be in DFU mode and ready for flashing. + +Plug the USB cable to the micro-USB connector of your device. Use following command: + +``` + dfu-util -d 0483:df11 -a0 -D nuttx.dfu -s :leave +``` + ## Copyright & License Copyright (c) 2015 Thingsee - Released (mostly) under the BSD license. -- GitLab