Skip to content

Commit 78d0520

Browse files
bwhitmanclaude
andcommitted
amyboard web: point upgraders at Fully Erase for the new drum samples
The Gamma9001 banks live in a new flash partition, so a firmware-only upgrade doesn't install them. Say so in the firmware out-of-date notice and next to the Fully-erase button on the upgrade page. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 7eacd0a commit 78d0520

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

tulip/amyboardweb/static/esptool/css/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,12 @@ div.clear {
352352
white-space: nowrap;
353353
}
354354

355+
#commands .upload .note {
356+
margin-left: 10px;
357+
font-size: 0.85em;
358+
opacity: 0.75;
359+
}
360+
355361
.firmware > input {
356362
width: 0.1px;
357363
height: 0.1px;

tulip/amyboardweb/static/esptool/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<li>Choose to either:</li>
6161
<ul>
6262
<li><B>Upgrade AMYboard firmware.</B> Your stored data should be safe. </li>
63-
<li><B>Fully erase and re-flash AMYboard</b>. This will remove any stored patches or environments. (Your SD card is safe.) Use this only if you're having issues.
63+
<li><B>Fully erase and re-flash AMYboard</b>. This will remove any stored patches or environments. (Your SD card is safe.) Will also update the drum and percussion samples.
6464
</ul>
6565
<li>Wait a minute until the progress bar disappears. Hit RST. Your AMYboard should be updated!</li>
6666
<li><b>Now fully quit and reopen your browser</b> (close all of its windows, not just this tab) before going back to the editor &mdash; <b>don't just reload the page</b>. Especially on Windows, browsers won't detect the AMYboard's USB&nbsp;MIDI ports until they're restarted.</li>
@@ -92,6 +92,7 @@
9292
>
9393
Fully erase and re-flash AMYboard
9494
</button>
95+
<span class="note">Will also update the drum and percussion samples</span>
9596
<div class="progress-bar hidden"><div></div></div>
9697
</div>
9798
<div id="upgradeComplete" class="upgrade-complete hidden">

tulip/amyboardweb/static/spss.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4673,10 +4673,10 @@ function show_firmware_warning(date, latest, reason, opts) {
46734673
if (bodyEl) bodyEl.textContent = 'Your AMYboard is connected but not accepting commands — usually a sketch stuck in a tight loop. Reboot it (the stuck sketch will be skipped) and this operation will continue.';
46744674
} else if (reason === 'undetected') {
46754675
if (titleEl) titleEl.textContent = 'Couldn’t detect your AMYboard firmware';
4676-
if (bodyEl) bodyEl.textContent = 'Your AMYboard didn’t report a firmware version, which usually means it’s running older firmware. Updating is recommended so this editor works correctly.';
4676+
if (bodyEl) bodyEl.textContent = 'Your AMYboard didn’t report a firmware version, which usually means it’s running older firmware. Updating is recommended so this editor works correctly. If you want to upgrade to our new improved drum samples, make sure to press “Fully Erase and Re-flash” when upgrading!';
46774677
} else {
46784678
if (titleEl) titleEl.textContent = 'AMYboard firmware update available';
4679-
if (bodyEl) bodyEl.textContent = 'Your AMYboard firmware (' + _fmt_fw_date(date) + ') is older than the latest release (' + _fmt_fw_date(latest) + '). Updating is recommended.';
4679+
if (bodyEl) bodyEl.textContent = 'Your AMYboard firmware (' + _fmt_fw_date(date) + ') is older than the latest release (' + _fmt_fw_date(latest) + '). Updating is recommended. If you want to upgrade to our new improved drum samples, make sure to press “Fully Erase and Re-flash” when upgrading!';
46804680
}
46814681
var el = document.getElementById('fwWarnModal');
46824682
// No modal available: abort on disconnect/wedge (can't write to a board

0 commit comments

Comments
 (0)