You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--before`| What to do before connecting to the chip |
54
55
|`-a`, `--after`| What to do after QtESPFlasher is finished |
55
56
|`--no-stub`| Disable launching the flasher stub, only talk to ROM bootloader |
56
57
|`-t`, `--trace`| Enable trace-level output of QtESPFlasher interactions |
57
-
|`-l`, `--list`| List all available serial interfaces|
58
+
|`-l`, `--list`| List all available serial devices |
58
59
59
-
The following screenshot shows the GUI options.
60
+
And this screenshot shows how the options are displayed in the GUI.
60
61

61
62
62
63
### Reset modes
63
64
By default, QtESPFlasher tries to hard reset the chip into bootloader mode before it starts and hard resets the chip to run the normal program once it is complete. The `--before` and `--after` options allow this behavior to be changed.
64
65
65
-
#### Reset before operation
66
+
#### Reset before operation
66
67
The `--before` argument allows you to specify whether the chip needs resetting into bootloader mode before QtESPFlasher talks to it.
67
68
-`--before default_reset` is the default, which uses DTR & RTS serial control lines to try to reset the chip into bootloader mode.
68
69
-`--before no_reset` will skip DTR/RTS control signal assignments and just start sending a serial synchronization command to the chip. This is useful if your chip doesn't have DTR/RTS, or for some serial interfaces (like Arduino board onboard serial) which behave differently when DTR/RTS are toggled.
@@ -76,7 +77,7 @@ The `--after` argument allows you to specify whether the chip should be reset af
76
77
The `--no-stub` option disables uploading of a software "stub loader" that manages flash operations, and only talks directly to the loader in ROM.
77
78
78
79
### Trace
79
-
QtESPFlasher has a `--trace` option which can be supplied in the first group of arguments (before the command). This will dump all traffic sent and received via the serial port to a log file next to the executable called `trace.txt`.
80
+
QtESPFlasher has a `--trace` option which can be supplied in the first group of arguments (before the command). This will dump all traffic sent and received via the serial port to a log file called `trace.txt` in the application root directory.
80
81
81
82
### Chip type
82
83
The target chip type can be selected using the `-c`, `--chip` option. If no `-c` option is specified, QtESPFlasher automatically detects the chip type when connecting.
@@ -85,7 +86,7 @@ The target chip type can be selected using the `-c`, `--chip` option. If no `-c`
85
86
The serial port is selected using the `-p`, `--port` option. If no `-p` option is specified, QtESPFlasher will enumerate all connected serial ports and try each one until it finds an Espressif device connected.
86
87
87
88
### Baud rate
88
-
The default QtESPFlasher baud rate is 115200. Slower rates may be set using `-b`, `--baud`. It is recommend to only set the baud rate if you're experiencing transmission errors during flashing. If left at default QtESPFlasher tries to change the baud rate to 460800 when running.
89
+
The default QtESPFlasher baud rate is 115200. Slower rates may be set using `-b`, `--baud`. It is **recommend** to only set the baud rate if you're experiencing transmission errors during flashing. If left at default QtESPFlasher tries to change the baud rate to 460800 when running to considerably reduce flash times.
89
90
90
91
## Usage
91
92
### CLI
@@ -124,11 +125,16 @@ Done
124
125
```
125
126
126
127
### GUI
127
-
#### Add folder
128
-

128
+
QtESPFlasher offers a few different ways to select binaries for flashing.
129
129
130
-
#### Add binaries
131
-

130
+
#### Add directory
131
+
The build directory of an ESP-IDF project can be selected directly using the  symbol. ESP-IDF builds generate a file called flasher_args.json which contains project flash information in JSON format. This file is red by QtESPFlasher to obtain all of the projects binaries and their offsets.
132
+

132
133
133
134
#### Add .zip archive
134
-

135
+
A zipped ESP-IDF build directory can also be selected directly using the  symbol. The .zip file must contain a flasher_args.json file, just like when adding a directory.
136
+

137
+
138
+
#### Add binaries
139
+
If there is no flasher_args.json file available, binaries can also be added directly. This is done by selecting .bin files with the  symbol. Please note that in this case the offset must be entered **manually**. Offsets in the C language convention, such as “0x” for base 16 or “0b” for base 2, are supported.
0 commit comments