Skip to content

Commit

Permalink
Added screenly example to setup, changed a few permissions and update…
Browse files Browse the repository at this point in the history
…d the README for the firmware
  • Loading branch information
francesco-vannini committed Nov 8, 2017
1 parent 04e920f commit 5a89437
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 1 deletion.
Empty file modified bin/flick-demo 100755 → 100644
Empty file.
File renamed without changes.
49 changes: 49 additions & 0 deletions firmware/update/README.md
@@ -1,3 +1,52 @@
# Firmware update
_Under no circumnstances you should be required to update the firmware of your Flick board!_
The procedure described here should only be attempted if a new firmware is released and if directed by our support team

## Preparing for the update
Under `Flick/firmware` you will find versions of the firmware for the different boards. Copy the one you need under `Flick\firmware\update`
In this example we will update a Flick Large
``` bash
cd /home/pi/Flick/firmware/update
cp ../Flick_Large_V1.1.enz .
```

## Perform the update
From `/home/pi/Flick/firmware/update` run:
``` bash
./flickupdate Flick_Large_V1.1.enz
```

You should see:
```
can't open gpio xfer direction file
can't open pin file
can't open gpio xfer direction file
can't open gpio xfer direction file
can't open pin file
Loader record_count 109
lib record_count 222
Flashing loader.
gestic_flash_begin
ReceiveMsg
v▒s
gestic_flash_write: success
gestic_flash_write: success
...
gestic_flash_end ret 0
Flashing library.
gestic_flash_begin
ReceiveMsg
▒4
gestic_flash_write: success
gestic_flash_write: success
...
gestic_flash_write: success
gestic_flash_end ret 0
```

## Compile the tool
The flickupdate tool is already compiled for you to use but should you work on a different version of Raspbian or a different OS entirely you can compile the tool as follow.

flickupdate.c if c source file that can be built to update firmware on Flick 3D gesture boards.

Usage on Linux:
Expand Down
Empty file modified firmware/update/flickupdate 100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion flick/setup.py
Expand Up @@ -50,5 +50,5 @@
classifiers = classifiers,
py_modules = ['flicklib','i2c'],
install_requires= ['RPi.GPIO'],
scripts = ['../bin/flick-armcontrol', '../bin/flick-2048', '../bin/flick-demo', '../bin/flick-snail', '../bin/flick-sense', '../bin/flick-volctrl']
scripts = ['../bin/flick-armcontrol', '../bin/flick-2048', '../bin/flick-demo', '../bin/flick-snail', '../bin/flick-sense', '../bin/flick-screenly-ose', '../bin/flick-volctrl']
)

0 comments on commit 5a89437

Please sign in to comment.