From 733c5fe971120400677f97673dd630f14263a307 Mon Sep 17 00:00:00 2001 From: wiebel Date: Fri, 13 Feb 2015 13:14:19 +0100 Subject: [PATCH] Some Linux secific remarks --- docs/Board - Sparky.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/Board - Sparky.md b/docs/Board - Sparky.md index 8bef9801f0..b72d9c9b39 100644 --- a/docs/Board - Sparky.md +++ b/docs/Board - Sparky.md @@ -77,7 +77,7 @@ The status bar will show the upload progress and confirm that the upload is comp Disconnect and reconnect the board from USB and continue to configure it via the Cleanflight configurator as per normal -## Via Device Firmware Upload (DFU, USB) - Mac OS X +## Via Device Firmware Upload (DFU, USB) - Mac OS X / Linux These instructions are for dfu-util, tested using dfu-util 0.7 for OSX from the OpenTX project. @@ -144,6 +144,13 @@ can't detach Resetting USB to switch back to runtime mode ``` +On Linux you might want to take care that the modemmanager isn't trying to use your sparky as modem getting it into bootloader mode while doing so. In doubt you probably want to uninstall it. It could also be good idea to get udev fixed. It looks like teensy did just that -> http://www.pjrc.com/teensy/49-teensy.rules (untested) + +To make a full chip erase you can use a file created by +``` +dd if=/dev/zero of=zero.bin bs=1 count=262144 +``` +This can be used by dfu-util. ## Via SWD