summaryrefslogtreecommitdiff
path: root/firmware/src/dfu/dfu.h
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-22 21:29:57 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-22 21:29:57 +0000
commit1c2b1d22016957bebe0a49c9069b85815f7cf936 (patch)
tree77046d2750dcb60ce46976f94027e65df67c502e /firmware/src/dfu/dfu.h
parent238c6c3c0ac40dcdef82c430fae52cad34ed5a10 (diff)
- we increase the DFU size from 4k to 16k size. This is mainly due to the
SAM7S128 and SAM7S256 being restricted to 16k lock region size. If we want to lock the bootloader, it has to be 16k aligned. This wastes a lot of memory, since a non-debug DFU implementation fits currently into less than 4k. But anyway, we have lots of flexibility for the future given that amount of space. - The DFU size change introduces also a change in dfu_api location to 0x103fd0 - Allow GETSTATE and GETSTATUS from runtime mode (optional in DFU spec) - Make dfu_status a .data.shared variable, since it is used from GETSTATUS which we already support in runtime mode - do some led switching while flashing via DFU - disable all non-usb/dbgu interrupts when switching to DFU mode - fix interrupt-storm problem when dbgu is used in DFU loader - add missing linker script for SAM7S128 git-svn-id: https://svn.openpcd.org:2342/trunk@218 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/dfu/dfu.h')
-rw-r--r--firmware/src/dfu/dfu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/src/dfu/dfu.h b/firmware/src/dfu/dfu.h
index b8d48ec..4d53ce7 100644
--- a/firmware/src/dfu/dfu.h
+++ b/firmware/src/dfu/dfu.h
@@ -55,7 +55,7 @@
#define __dfufunc
#define __dfustruct const
-#define DFU_API_LOCATION ((const struct dfuapi *) 0x00100fd0)
+#define DFU_API_LOCATION ((const struct dfuapi *) 0x00103fd0)
struct _dfu_desc {
struct usb_config_descriptor ucfg;
personal git repositories of Harald Welte. Your mileage may vary