From 989ed89661fccacaa4c759fcf6dbbc21058a384a Mon Sep 17 00:00:00 2001 From: Lotte Steenbrink Date: Wed, 5 May 2021 14:33:40 +0200 Subject: [PATCH 1/2] =?UTF-8?q?rm=20dong=C3=B6e-flash=20from=20instruction?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- embedded-workshop-book/src/radio-puzzle.md | 2 +- embedded-workshop-book/src/troubleshoot-usb-dongle.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/embedded-workshop-book/src/radio-puzzle.md b/embedded-workshop-book/src/radio-puzzle.md index 352ce26..6144552 100644 --- a/embedded-workshop-book/src/radio-puzzle.md +++ b/embedded-workshop-book/src/radio-puzzle.md @@ -5,7 +5,7 @@ Your task in this section is to decrypt the [substitution cipher] encrypted *ASC [substitution cipher]: https://en.wikipedia.org/wiki/Substitution_cipher - ✅ Flash the `puzzle.hex` program on the Dongle. Follow the instructions from the "nRF52840 Dongle" section but flash the `puzzle.hex` program instead of the `loopback.hex` one -- don't forget to put the Dongle in bootloader mode before invoking `dongle-flash`. + ✅ Flash the `puzzle.hex` program on the Dongle. Follow the instructions from the "nRF52840 Dongle" section but flash the `puzzle.hex` program instead of the `loopback.hex` one -- don't forget to put the Dongle in bootloader mode before invoking `nrfdfu`. > Note: If you experienced USB issues with `loopback.hex` you use the `puzzle-nousb*.hex` variants. diff --git a/embedded-workshop-book/src/troubleshoot-usb-dongle.md b/embedded-workshop-book/src/troubleshoot-usb-dongle.md index d35116f..62ad8a3 100644 --- a/embedded-workshop-book/src/troubleshoot-usb-dongle.md +++ b/embedded-workshop-book/src/troubleshoot-usb-dongle.md @@ -38,7 +38,7 @@ In this case you should flash one of the `loopback-nousb*` programs: Put the device in bootloader mode again. Now, run ```console -$ cargo xtask dongle-flash boards/dongle/loopback-nousb21.hex # you can pick 11, 16, 21 or 26 +$ nrfdfu boards/dongle/loopback-nousb21 # you can pick 11, 16, 21 or 26 ``` ❗️ The number in the `loopback-nousb*` file name is the radio channel the Dongle will listen on. This means that when you program the Development Kit to send data to the Dongle, you need to ensure they are communicating on the same channel by setting From b168f44c760dda609a3f47cd9614b6524ef438f6 Mon Sep 17 00:00:00 2001 From: Lotte Steenbrink Date: Wed, 5 May 2021 15:29:28 +0200 Subject: [PATCH 2/2] rmote about dongle blinking (it doesn't do that anymore) --- embedded-workshop-book/src/dongle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedded-workshop-book/src/dongle.md b/embedded-workshop-book/src/dongle.md index 648c784..066176b 100644 --- a/embedded-workshop-book/src/dongle.md +++ b/embedded-workshop-book/src/dongle.md @@ -50,7 +50,7 @@ After the device has been programmed it will automatically reset and start runni 🔎 Alternatively, you can also use nordic's own [`nrfutil`](https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_intro.html) tool to convert a .hex file and flash it for you, among many other things `nrfutil` is a very powerful tool, but also unstable at times, which is why we replaced the parts we needed from it with `nrfdfu`. -The `loopback` application will *blink* the red LED in a heartbeat fashion: two fast blinks (LED on then off) followed by two periods of silence (LED off). The application will also make the Dongle enumerate itself as a CDC ACM device. +🔎 The `loopback` application will make the Dongle enumerate itself as a CDC ACM device. ✅ Run `cargo xtask usb-list` tool to see the newly enumerated Dongle in the output: