From 79bdb29fa743afc9edfc1eb717229b790b1e71d4 Mon Sep 17 00:00:00 2001 From: Johan <85756863+johan-m-o@users.noreply.github.com> Date: Thu, 17 Feb 2022 11:29:07 +0100 Subject: [PATCH 1/3] Update Pincecil instructions to cover an issue where more than one DFU interface is detected. --- Documentation/Flashing.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/Flashing.md b/Documentation/Flashing.md index 637dbf59..4d38773d 100644 --- a/Documentation/Flashing.md +++ b/Documentation/Flashing.md @@ -109,6 +109,16 @@ Using `dfu-util` you can flash the firmware using a command line as such: dfu-util -D Pinecil_EN.dfu ``` +If you get a message stating that `More than one DFU capable USB device found!` when running the above command you might have to specify which DFU interface to flash to. Running the command `dfu-util -l` will show you if there are several DFU devices detected. Example: +``` +Found DFU: [28e9:0189] ver=0100, devnum=48, cfg=1, intf=0, path="1-1", alt=1, name="@Option Bytes /0x1FFFF800/01*016Be", serial="??" +Found DFU: [28e9:0189] ver=0100, devnum=48, cfg=1, intf=0, path="1-1", alt=0, name="@Internal Flash /0x08000000/128*001Kg", serial="??" +``` +In this example we see that more than one part of the Pinecil is detected as a DFU interface and we need to specify which one we want to flash to. We want to the `Internal Flash` so in this case we can use `alt=0` to identify which interface to target. The command would then look like this: +``` +dfu-util -D Pinecil_EN.dfu -a 0 +``` + ### Windows For Windows there are two options, you can use dfu-util via command line as shown above. From b9fcf044a976e977161609085abb9916fc7a3eab Mon Sep 17 00:00:00 2001 From: Johan <85756863+johan-m-o@users.noreply.github.com> Date: Thu, 17 Feb 2022 12:03:20 +0100 Subject: [PATCH 2/3] Clarification about old dfu-util version --- Documentation/Flashing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/Flashing.md b/Documentation/Flashing.md index 4d38773d..0f9378ab 100644 --- a/Documentation/Flashing.md +++ b/Documentation/Flashing.md @@ -109,7 +109,7 @@ Using `dfu-util` you can flash the firmware using a command line as such: dfu-util -D Pinecil_EN.dfu ``` -If you get a message stating that `More than one DFU capable USB device found!` when running the above command you might have to specify which DFU interface to flash to. Running the command `dfu-util -l` will show you if there are several DFU devices detected. Example: +If you get a message stating that `More than one DFU capable USB device found!` when running the above command you probably have an old version of `dfu-util` installed. Might be worth updating. You can still install on the old version, but you will have to specify which DFU interface to flash to. Running the command `dfu-util -l` will show you if there are several DFU devices detected. Example: ``` Found DFU: [28e9:0189] ver=0100, devnum=48, cfg=1, intf=0, path="1-1", alt=1, name="@Option Bytes /0x1FFFF800/01*016Be", serial="??" Found DFU: [28e9:0189] ver=0100, devnum=48, cfg=1, intf=0, path="1-1", alt=0, name="@Internal Flash /0x08000000/128*001Kg", serial="??" From 633b639cab54ace776097ed4664aac5293d4e9f9 Mon Sep 17 00:00:00 2001 From: Johan <85756863+johan-m-o@users.noreply.github.com> Date: Thu, 17 Feb 2022 12:16:28 +0100 Subject: [PATCH 3/3] More clarifications on using old dfu-util --- Documentation/Flashing.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/Flashing.md b/Documentation/Flashing.md index 0f9378ab..537b8cda 100644 --- a/Documentation/Flashing.md +++ b/Documentation/Flashing.md @@ -118,6 +118,7 @@ In this example we see that more than one part of the Pinecil is detected as a D ``` dfu-util -D Pinecil_EN.dfu -a 0 ``` +Note that if you are using an older release of `dfu-util` and you do not see `alt=0, name="@Internal Flash /0x08000000/128*001Kg"` when running `dfu-util -l` you likely will not be able to update without updating `dfu-util`. ### Windows