From 5241efd708ca613e608b142364175716377a40c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Fri, 20 Jan 2017 00:14:10 +0100 Subject: [PATCH] As the first step, the flash should be erased instead of resetting the MCU. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1821f9d..f5fef4e 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Ultimately, you will want to upload the actual [application firmware](https://gi You can use the [blhost utility](/bin/Tools/blhost) to upload the application firmware via the bootloader. Unfortunately, the Linux version of this tool does not seem to work due to a bug, but the Windows version does work. You may have to execute the following as root/administrator: ``` -blhost --usb 0x15a2,0x0073 reset +blhost --usb 0x15a2,0x0073 flash-erase-all 0 blhost --usb 0x15a2,0x0073 flash-image uhk-right_binary_blink.srec blhost --usb 0x15a2,0x0073 reset ```