summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBluebie <a@creativepony.com>2012-10-04 11:29:09 +1000
committerBluebie <a@creativepony.com>2012-10-04 11:29:09 +1000
commitcf6913bccbc81683a215852a2eab3e0dff8787c6 (patch)
treeec8863048e0f3f5e6f44a1d814383a2092448ad1
parent81ff282291527178abab4ab63b22065d6eb3cb2f (diff)
downloadmicronucleus-cf6913bccbc81683a215852a2eab3e0dff8787c6.tar.gz
micronucleus-cf6913bccbc81683a215852a2eab3e0dff8787c6.tar.bz2
micronucleus-cf6913bccbc81683a215852a2eab3e0dff8787c6.zip
Upgrade: Clarification about LED option
-rw-r--r--upgrade/readme.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade/readme.txt b/upgrade/readme.txt
index fceee4b..855194c 100644
--- a/upgrade/readme.txt
+++ b/upgrade/readme.txt
@@ -3,7 +3,7 @@ Micronucleus Upgrade
Upgrade is a virus-like payload you can upload via micronucleus (or other bootloaders) to install a new version of micronucleus on the target chip. The upgrade program works by copying the contents of a bootloader hex file in to a progmem array, then bricking the device so it doesn't enter the bootloader on reset but instead runs the upgrader program exclusively. Next it erases and rewrites the bootloader in place at the same address the hex file specifies (BOOTLOADER_ADDRESS in the case of micronucleus). Once the bootloader has been rewritten, upgrade rewrites it's own interrupt vector table to point every interrupt including reset straight at the newly uploaded bootloader's interrupt vector table at whichever address it was installed.
-The program then emits a beep if a piezo speaker is connected between PB0 and PB1. If you have no speaker, use an LED with positive on PB0. Premade upgraders are included in releases/ for micronucleus builds. Just upload one in the usual way and wait for the beep. Once you hear the beep, power down the device and turn it back on - it should launch your new bootloader!
+The program then emits a beep if a piezo speaker is connected between PB0 and PB1. If you have no speaker, use an LED with positive on PB0 (requires resistor). Premade upgraders are included in releases/ for micronucleus builds. Just upload one in the usual way and wait for the beep. Once you hear the beep, power down the device and turn it back on - it should launch your new bootloader!
Creating an Upgrader