-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
260 lines (215 loc) · 13.8 KB
/
index.html
File metadata and controls
260 lines (215 loc) · 13.8 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!DOCTYPE html>
<html data-wf-domain="engineeringwithbricks.webflow.io" data-wf-page="662253cbf0dd79fe52faf339" data-wf-site="65a14e52729c40368a865056" lang="en">
<head>
<style>.wf-force-outline-none[tabindex="-1"]:focus{outline:none;}</style>
<meta charset="utf-8">
<title>SPIKE Firmware</title>
<script src="dfu.js"></script>
<script src="dfuse.js"></script>
<script src="FileSaver.js"></script>
<script src="dfu-util.js"></script>
<meta content="SPIKE Firmware" property="og:title">
<meta content="SPIKE Firmware" property="twitter:title">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link href="https://cdn.prod.website-files.com/65a14e52729c40368a865056/css/engineeringwithbricks.webflow.80673c594.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com" rel="preconnect">
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Sans:400,700%7CVarela+Round:400" media="all">
<script type="text/javascript">WebFont.load({ google: { families: ["Droid Sans:400,700","Varela Round:400"] }});</script>
<script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script>
<link href="https://cdn.prod.website-files.com/65a14e52729c40368a865056/65aaa35a437b79afc620de5d_ewb-favicon.png" rel="shortcut icon" type="image/x-icon">
<link href="https://cdn.prod.website-files.com/65a14e52729c40368a865056/65aaa3c16314273e46d9a221_ewb-webclip.png" rel="apple-touch-icon">
<style>
.firmware-stack {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
}
</style>
<style>
.hidden-div {
display: none;
}
</style>
</head>
<div class="hidden-div">
<a href="https://github.com/devanlai/webdfu"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<p>
<span id="status"></span>
</p>
<p>
<label for="vid">Vendor ID (hex):</label>
<input list="vendor_ids" type="text" name="vid" id="vid" maxlength="6" size="8" pattern="0x[A-Fa-f0-9]{1,4}"/>
<datalist id="vendor_ids">
<option value="0x1209">dapboot DFU bootloader</option>
<option value="0x0D28">mbed DAPLink</option>
<option value="0x1EAF">LeafLabs Maple/stm32duino bootloader</option>
</datalist>
</p>
<!--
<p>
<button id="connect">Connect</button>
</p>
-->
<p>
<div id="usbInfo" style="white-space: pre"></div>
<div id="dfuInfo" style="white-space: pre"></div>
</p>
<fieldset>
<legend>Runtime mode</legend>
<button id="detach" disabled="true">Detach DFU</button>
</fieldset>
<fieldset>
<form id="configForm">
<label for="transferSize">Transfer Size:</label>
<input type="number" name="transferSize" id="transferSize" value="1024"/>
<div id="dfuseFields" hidden="true">
<label for="dfuseStartAddress">DfuSe Start Address:</label>
<input type="text" name="dfuseStartAddress" id="dfuseStartAddress" title="Initial memory address to read/write from (hex)" size="10" pattern="0x[A-Fa-f0-9]+"/>
<label for="dfuseUploadSize">DfuSe Upload Size:</label>
<input type="number" name="dfuseUploadSize" id="dfuseUploadSize" min="1"/>
</div>
<legend>DFU mode</legend>
<fieldset>
<legend>Firmware Download (write to USB device)</legend>
<div style="display: none;">
<p>
<input type="file" id="firmwareFile" name="file" disabled="true"/>
</p>
</div>
<!--
<p>
<button id="download" disabled="true">Download Gecko (Spike Essentials)</button>
</p>
<p>
<button id="downloadB" disabled="true">Download Flipper (Spike Prime)</button>
</p>
-->
<!--
<div class="log" id="downloadLog"></div>
-->
</fieldset>
<fieldset>
<legend>Firmware Upload (read from USB device)</legend>
<p>
<button id="upload" disabled="true">Upload</button>
</p>
<div class="log" id="uploadLog"></div>
</fieldset>
</form>
</fieldset>
</div>
<dialog id="interfaceDialog">
Your device has multiple DFU interfaces. Select one from the list below:
<form id="interfaceForm" method="dialog">
<button id="selectInterface" type="submit">Select interface</button>
</form>
</dialog>
<div id="top-anchor" class="top-anchor"></div>
<section class="navbar-section">
<div id="top" data-animation="default" data-collapse="medium" data-duration="400" data-easing="ease" data-easing2="ease" role="banner" class="navbar-2 w-nav">
<div class="container-4 w-container">
<img src="https://assets-global.website-files.com/65a14e52729c40368a865056/66045cf0405183473ab66113_ewb%20logo.webp" loading="lazy" width="214" alt="Engineering with Bricks logo" />
</div>
</div>
</section>
</div>
<!-- HERO -->
<section id="hero" class="hero-section firmware_hero">
<div class="w-layout-blockcontainer page-header w-container">
<img src="https://assets-global.website-files.com/65a14e52729c40368a865056/65a6fe38065c5f1647893ccd_firmware%20icon.webp" loading="lazy" width="150" sizes="100px" alt="Firmware" class="feature-image" />
<h1 class="platform-heading yellow-bg">Tufts CEEO</h1>
<h1 class="platform-heading yellow-bg">SPIKE+ Firmware</h1>
</div>
<div class="_75-div">
<p class="intro_text" >
Tufts CEEO has developed a custom firmware for SPIKE Prime Hub and SPIKE Essential Hub that enables UART and I<sup>2</sup>C communication (as well as individual digital pin control) via the SPIKE Ports, while maintaining all original SPIKE functionality. This allows SPIKE Hubs to communicate with a wide variety of external devices (breadboards, microprocessors, and other third-party electronic hardware).
</p>
</div>
<div class="list-div">
<h2><strong>Installation Instructions (via Hub's bootloader mode)</strong></h2>
<ul role=" list" class="list-4">
<li class="list-item-20-indent">Place the Hub in bootloader mode (see video below):
<ul role=" list">
<li>Today is a completely brand new day</li>
<li>Disconnect the USB cable.<br></li>
<li>Press and hold the Bluetooth button (SPIKE Prime) or power button (SPIKE Essential).</li>
<li>Connect the USB cable (to both the Hub and your computer).</li>
<li>Wait for the Bluetooth light to start blinking pink-green-blue-off (SPIKE Prime) or wait for the status light to start blinking light purple (SPIKE Essential).</li>
<li>Release the button; Hub is now in bootloader mode.</li>
</ul>
</li>
<li class="list-item-20-indent">Select the Connect button below, and choose the Hub (Hub in DFU Mode) from selector menu.</li>
<li class="list-item-20-indent">Once connected, pick which version of firmware to install (based on hardware you are using: SPIKE Prime or SPIKE Essential).</li>
<li class="list-item-20-indent">Wait for the installation process to complete; if there is an error, restart/retry all steps.</li>
</ul>
</div>
<div class="Div-Block-27">
<iframe width="315" height="560"src="https://www.youtube.com/embed/K07jYDmTC7Y" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen align="center"></iframe>
</div>
<div style="width: 400px; height: 100px; align-items: center; margin-top: 40px;">
<div id="w-node-_12d2a92a-3d71-8626-1e53-2f6d1ff08db5-52faf339" class="w-layout-cell button-cell">
<div class="brown-buttons">
<a id="connect" href="#" class="link-block---no-underline connect-link-block w-inline-block">
<img src="https://assets-global.website-files.com/65a14e52729c40368a865056/66225f5f56bd6cdc623f1ddb_connect-white.png" loading="lazy" sizes="(max-width: 479px) 14vw, 11vw" alt="" class="connect-image" />
<div class="connect_button_text">
Connect
</div>
</a>
</div>
</div>
</div>
</section>
<section id="Install" class="section-wrapper">
<div class="big-heading firmware">
<img src="https://cdn.prod.website-files.com/65a14e52729c40368a865056/6601d10a67c84fbeaa9f2318_platform.avif" loading="lazy" width="150" alt="Firmware" class="feature-image">
<h2 class="platform-subheading">Install SPIKE Firmware</h2>
</div>
<!--
<a id="connect" href="#" class="link-block---no-underline connect-link-block w-inline-block">
<img src="https://assets-global.website-files.com/65a14e52729c40368a865056/66225f5f56bd6cdc623f1ddb_connect-white.png" loading="lazy" sizes="(max-width: 479px) 14vw, 11vw" srcset="https://assets-global.website-files.com/65a14e52729c40368a865056/66225f5f56bd6cdc623f1ddb_connect-white-p-500.png 500w, https://assets-global.website-files.com/65a14e52729c40368a865056/66225f5f56bd6cdc623f1ddb_connect-white.png 832w"
alt="" class="connect-image" />
<div class="connect_button_text">Connect</div>
</a>
-->
<!-- BUTTON STACK -->
<div id="w-node-_50e851b0-c5b9-7f94-efe8-70d08b1fb1d6-52faf339" class="w-layout-layout firmware-stack button_stack wf-layout-layout">
<!-- SPIKE Prime Button -->
<div id="w-node-_50e851b0-c5b9-7f94-efe8-70d08b1fb1da-52faf339" class="w-layout-cell button-cell">
<div class="brown-buttons">
<a id="downloadB" href="#" class="link-block---no-underline connect-link-block w-inline-block">
<img src="https://assets-global.website-files.com/65a14e52729c40368a865056/66225e5cd815940924865d3e_install-white.png" loading="lazy" sizes="(max-width: 479px) 14vw, 11vw" alt="" class="connect-image" />
<div class="connect_button_text">Prime</div>
</a>
</div>
</div>
<div id="w-node-_50e851b0-c5b9-7f94-efe8-70d08b1fb1dd-52faf339" class="w-layout-cell button-cell">
<div class="brown-buttons">
<a id="download" href="#" class="link-block---no-underline connect-link-block w-inline-block">
<img src="https://assets-global.website-files.com/65a14e52729c40368a865056/66225e5cd815940924865d3e_install-white.png" loading="lazy" sizes="(max-width: 479px) 14vw, 11vw" alt="" class="connect-image" />
<div class="connect_button_text">Essential</div>
</a>
</div>
</div>
</section>
<div class="log" id="downloadLog" style="margin: 0 auto; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 60vh; padding: 20px; border: 2px solid #ccc; background-color: #f9f9f9; width: 50%; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); border-radius: 10px;">
</div>
<section class="footer-section">
<div class="w-layout-blockcontainer container w-container">
<div class="div-stretch">
<div class="w-layout-grid grid-3">
<a id="w-node-_0d3c48b1-9f74-69b0-8dcd-8f369f83ca07-9f83ca03" href="http://ceeo.tufts.edu" target="_blank" class="link-block-10 w-inline-block"><img src="https://assets-global.website-files.com/65a14e52729c40368a865056/65a17e051c41669f12e2f66d_New%20CEEO%20lockup%20Horiz_black.webp" loading="lazy" id="w-node-_0d3c48b1-9f74-69b0-8dcd-8f369f83ca08-9f83ca03" sizes="(max-width: 767px) 200px, 250px"
alt="Tufts Center for Engineering Education and Outreach" srcset="https://assets-global.website-files.com/65a14e52729c40368a865056/65a17e051c41669f12e2f66d_New%20CEEO%20lockup%20Horiz_black-p-500.png 500w, https://assets-global.website-files.com/65a14e52729c40368a865056/65a17e051c41669f12e2f66d_New%20CEEO%20lockup%20Horiz_black.webp 1922w"
class="footer-image" /></a><img src="https://assets-global.website-files.com/65a14e52729c40368a865056/66045cf0405183473ab66113_ewb%20logo.webp" loading="lazy" id="w-node-_0d3c48b1-9f74-69b0-8dcd-8f369f83ca09-9f83ca03" alt="Engineering with Bricks logo"
class="footer-image" /></div>
<div class="text-block footer-text">LEGO®, the LEGO® logo, the Brick, SPIKE™ and the SPIKE logo, MINDSTORMS™ and the MINDSTORMS logo, and the Minifigure are trademarks and/or copyrights of ©The LEGO® Group. All other trademarks and copyrights are the property of their respective
owners. All rights reserved.</div>
</div>
</div>
</section>
<a href="#top-anchor" class="scroll-to-top w-inline-block"><img src="https://assets-global.website-files.com/65a14e52729c40368a865056/6601a0058bc6b4eef8268ffc_up%20arrow.webp" loading="lazy" width="Auto" height="Auto" alt="Up Arrow" srcset="https://assets-global.website-files.com/65a14e52729c40368a865056/6601a0058bc6b4eef8268ffc_up%20arrow-p-500.webp 500w, https://assets-global.website-files.com/65a14e52729c40368a865056/6601a0058bc6b4eef8268ffc_up%20arrow.webp 1141w"
sizes="48px" /></a>
<script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=65a14e52729c40368a865056" type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://assets-global.website-files.com/65a14e52729c40368a865056/js/webflow.009ce5e2d.js" type="text/javascript"></script>
</body>
</html>