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
Alternatively, you can connect directly with wires as we gave at the beginning, without additional circuits.
92
+
93
+
94
+
> If you need to modify the LED or JTAG pins, please refer to the instructions in [DAP_config.h](components/DAP/config/DAP_config.h) to modify them carefully.
95
+
83
96
84
-
## Build
97
+
------
85
98
86
-
You can build locally or use Github Action to build online
99
+
100
+
## Build And Flash
101
+
102
+
You can build locally or use Github Action to build online and then download firmware to flash.
87
103
88
104
### Build with Github Action Online
89
105
90
106
See: [Build with Github Action](https://github.com/windowsair/wireless-esp8266-dap/wiki/Build-with-Github-Action)
- Linux: Distributed as part of the Linux kernel, but we have not yet tested on Linux platform, and the following instructions are all under Windows platform.
123
139
124
140
2. Start esp8266 and connect it to the device to be debugged
The maximum rate of esp8266 pure IO is about 2MHz.
173
+
When you select max clock, we will take the following actions:
174
+
175
+
-`clock < 2Mhz` : Similar to the clock speed you choose.
176
+
-`2MHz <= clock < 10MHz` : Use the fastest pure IO speed.
177
+
-`clock >= 10MHz` : SPI acceleration using 40MHz clock.
178
+
179
+
> Note that the most significant speed constraint of this project is still the TCP connection speed.
150
180
151
181
## Develop
152
182
153
183
0. Check other branches to know the latest development progress.
154
184
155
-
1. Use WinUSB Mode:
185
+
1. Use WinUSB Mode(enabled by default):
156
186
157
187
change `USE_WINUSB` macor in [USBd_config.h](components/USBIP/USBd_config.h)
158
188
159
189
160
190
161
-
> Credits to:
162
-
> -https://github.com/thevoidnn/esp8266-wifi-cmsis-dap for adapter firmware based on CMSIS-DAP v1.0
163
-
> -https://github.com/ARM-software/CMSIS_5 for CMSIS
164
-
> -https://github.com/cezanne/usbip-win for usbip windows
165
-
166
-
167
191
In this repo you can find the complete implementation of the USB protocol stack including USB-HID, WCID, WinUSB. ~~Although WinUSB-based mode currently does not work on USBIP~~:disappointed_relieved: . They are very easy and can help you quickly build your own DAP on other hardware platforms.
168
192
169
193
@@ -198,6 +222,22 @@ Due to the completeness of the USBIP protocol document, we have not yet understo
198
222
We will continue to try to make it work on USB HID. Once the USBIP problem is solved, we will immediately transfer it to work on WinUSB
199
223
200
224
225
+
------
226
+
227
+
# Credit
228
+
229
+
230
+
Credits to the following project, people and organizations:
231
+
232
+
> -https://github.com/thevoidnn/esp8266-wifi-cmsis-dap for adapter firmware based on CMSIS-DAP v1.0
233
+
> -https://github.com/ARM-software/CMSIS_5 for CMSIS
234
+
> -https://github.com/cezanne/usbip-win for usbip windows
0 commit comments