Repository navigation
Expand file tree
/
Copy pathflash.html
More file actions
140 lines (140 loc) · 5.28 KB
/
Copy pathflash.html
File metadata and controls
140 lines (140 loc) · 5.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>ESP-WebSDR · ESP-SDR flasher</title>
<link rel="icon" type="image/png" sizes="194x194" href="favicon-194x194.png" />
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
<link rel="stylesheet" href="fonts.css" />
<link rel="stylesheet" href="flasher/style.css" />
</head>
<body>
<header>
<img src="espargos-logo.svg" alt="ESPARGOS" />
<h1>ESP-SDR firmware installer</h1>
</header>
<p>
Flash via USB Serial/JTAG or a USB-to-UART adapter. For ESP-WebSDR, UART adapters must support 2 MBaud.
</p>
<section>
<h2>Before connecting</h2>
<ol>
<li>Open this page in a browser with WebSerial or WebUSB support.</li>
<li>If connection fails, hold down the BOOT button on your board while connecting.</li>
<li>
On Linux, check
<a
href="https://docs.platformio.org/en/latest/core/installation/udev-rules.html"
target="_blank"
rel="noopener noreferrer"
>udev rules / serial permissions</a
>
if access is denied.
</li>
</ol>
<p class="muted">Installing replaces the current firmware and partition table.</p>
</section>
<section>
<h2>1. Connect your device</h2>
<p>Connect first to detect the chip and suggest matching firmware.</p>
<div class="actions">
<div class="connect-buttons">
<button id="connect" disabled>Connect via WebSerial</button
><button
id="chooseConnection"
type="button"
disabled
aria-label="Connection options"
title="Connection options"
aria-haspopup="menu"
aria-expanded="false"
aria-controls="connectMenu"
>
<svg width="12" height="8" viewBox="0 0 12 8" aria-hidden="true">
<path
d="m2 2 4 4 4-4"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</button>
<div id="connectMenu" role="menu" aria-label="Connection options" hidden>
<button id="connectAlternative" type="button" role="menuitem">Choose WebUSB Device…</button>
</div>
</div>
<button id="disconnect" disabled>Disconnect</button>
</div>
<dl>
<dt>Device</dt>
<dd id="device">Not connected</dd>
</dl>
</section>
<section>
<h2>2. Choose firmware and install</h2>
<label for="revision">Chip / firmware profile</label
><select id="revision" disabled aria-describedby="s3-bridge-hint">
<option value="">Choose firmware profile…</option>
</select>
<p id="s3-bridge-hint" hidden>
In addition to the <a href="index.html">ESP-WebSDR browser interface</a>, ESP32-S3 supports I/Q
streaming over native USB at 250 kS/s (8-bit), 125 kS/s or 62.5 kS/s (16-bit) with
<a href="https://github.com/z2labs/esp-sdr-bridge" target="_blank" rel="noopener noreferrer"
>esp-sdr-bridge ↗</a
>
for desktop SDR software such as SDR++ and SDR#. See the bridge project for setup instructions.
</p>
<dl>
<dt>Build date</dt>
<dd id="version"></dd>
</dl>
<div class="actions"><button id="install" disabled>Install ESP-SDR firmware</button></div>
<div id="statusBanner">
<p id="status" role="status" aria-live="polite">Loading firmware catalog…</p>
<button
id="dismissStatus"
type="button"
aria-label="Dismiss installer message"
title="Dismiss installer message"
>
<span aria-hidden="true">×</span>
</button>
</div>
<progress id="progress" max="100" value="0" aria-label="Firmware write progress"></progress>
</section>
<section>
<h2>3. Open your SDR application</h2>
<div class="actions">
<a id="open-application" class="button" href="index.html">Open ESP-WebSDR ↗</a>
</div>
</section>
<details>
<summary>Installation log</summary>
<pre id="log"></pre>
</details>
<script src="serial-transport.js"></script>
<script type="module" src="flasher/app.js"></script>
<details>
<summary>Open-source licenses</summary>
<p>
<a href="flasher/vendor/LICENSE-atob-lite">LICENSE-atob-lite</a>
<a href="flasher/vendor/LICENSE-esptool-js">LICENSE-esptool-js</a>
<a href="flasher/vendor/LICENSE-pako">LICENSE-pako</a>
<a href="flasher/vendor/LICENSE-tslib">LICENSE-tslib</a>
</p>
</details>
<footer class="source-footer">
<nav aria-label="Source code">
<span>Source on GitHub</span
><a href="https://github.com/ESPARGOS/esp-sdr" target="_blank" rel="noopener noreferrer">esp-sdr ↗</a
><a href="https://github.com/ESPARGOS/esp-web-sdr" target="_blank" rel="noopener noreferrer"
>esp-web-sdr ↗</a
>
</nav>
</footer>
</body>
</html>