From f7411ff745be5d5aa6053c3bfa92a11e010c2109 Mon Sep 17 00:00:00 2001 From: Skot Date: Sat, 21 Sep 2024 01:01:38 -0400 Subject: [PATCH] Create flashing.md --- flashing.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 flashing.md diff --git a/flashing.md b/flashing.md new file mode 100644 index 0000000..a5776f6 --- /dev/null +++ b/flashing.md @@ -0,0 +1,20 @@ +## Flashing Factory Image +You can flash [factory images](https://github.com/skot/ESP-Miner/releases) to your Bitaxe using generic ESP32 flashing tools such as the [esptool-js website](https://espressif.github.io/esptool-js/) + +- Power up your bitaxe via the barrel connector +- attach your bitaxe USB to your computer +- open of the [esptool-js website](https://espressif.github.io/esptool-js/) in Chrome +- Under the `Program` heading set the baudrate to 921600 (this should be the default) +- click Connect +- Chrome will popup a window asking you which serial port you weant to connect to. + - on Mac and Linux the correct serial port will have something similar to `usbmodem1434401` in the name + - on PC it will prolly be one of those COM ports. Good luck. +- Select the proper serial port and then click connect +- Once the ESP Tool has connected to your Bitaxe over serial, Set the Flash Address to `0x0` +- Under File click "Choose File" and select the [factory image](https://github.com/skot/ESP-Miner/releases) you want to flash. it's called something like `esp-miner-factory-400-v2.1.5d.bin` Be sure to use the image with the same version number as your Bitaxe (400 in this case) +- Down below click the "Program" button +- Wait paitiently. +- Keep waiting until the console on ESP Tool says "Leaving..." +- If you are _sure_ you have seen ESP Tool say "Leaving..." then you're bitaxe might restart. +- If you bitaxe hasn't restarted, you can press the RESET button on the bitaxe +- The self test should run. this can take a second. You'll need to press the RESET button on the bitaxe once the self test has passed.