Update documentation

This commit is contained in:
Ben V. Brown
2021-09-25 11:32:03 +10:00
parent 51efaea639
commit 6742a7a0e0
2 changed files with 52 additions and 7 deletions

View File

@@ -83,9 +83,12 @@ Check the extension of your firmware, it should be `.RDY` now.
## Pinecil (Pine64)
The MCU used in the Pinecil supports usb-dfu.
To enter DFU mode, hold the button at the back of the iron while connecting to usb over usb-c.
Generally all usb controllers work, but some hubs have issues so avoiding hubs may be best.
Once the device is connected while holding the button, the screen will stay **off**.
This is normal, and then you can use the appropriate tool to load the .hex or .bin file as per your OS.
You can also refer to the Pine64 [Wiki](https://wiki.pine64.org/wiki/Pinecil).
@@ -95,22 +98,21 @@ You can also refer to the Pine64 [Wiki](https://wiki.pine64.org/wiki/Pinecil).
Using `dfu-util` you can flash the firmware using a command line as such:
```
dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
```
If this command fails with `dfu-util: Error during special command "MASS_ERASE" get_status`, try this instead:
```
dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000
dfu-util -D Pinecil_EN.dfu
```
### Windows
For windows the easiest tool to use is the vendors gui tool from [here](http://www.gd32mcu.com/download/down/document_id/176/path_type/1).
Should the link break, its called "GD32 MCU Dfu Tool" and can be grabbed from http://www.gd32mcu.com/en/download/.
You will also need the matching drivers from [here](http://www.gd32mcu.com/download/down/document_id/244/path_type/1) installed if you have not used gigadevice parts before.
These are called "GD32 Dfu Drivers" if the link breaks.
You can also use dfu-util if you wish to set it up, but that is better documented by others
### FAQ
#### [Miniware] The file is showing up with the extension `.ERR`