From a97e460bea62375c9c870fb3e3650fbff20c5ad1 Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 13 Sep 2006 16:02:52 +0000 Subject: Completely separate DFU from application program, we now have a real bootloader. DFU occupies 0x00100000 - 0x00100fff in flash, application starts at 0x00101000. DFU also occupies the first couple of bytes in SRAM, application starts at 0x00200024. In order to produce a samba-flashable image, first build dfu.bin by typing 'make -f Makefule.dfu', succeeded by 'make TARGET=... DEBUG=... BOARD=...' and then concatenating the two files together, e.g. cat dfu.bin main_reqa.bin > flash.bin. Actual flashing via DFU is still not operational, but will be implemented next git-svn-id: https://svn.openpcd.org:2342/trunk@194 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/src/os/main.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'firmware/src/os/main.c') diff --git a/firmware/src/os/main.c b/firmware/src/os/main.c index 4b7a7a2..878fdbf 100644 --- a/firmware/src/os/main.c +++ b/firmware/src/os/main.c @@ -3,7 +3,6 @@ #include #include #include -#include #include #include #include @@ -20,7 +19,6 @@ int main(void) _init_func(); /* initialize USB */ - udp_init(); udp_open(); // Enable User Reset and set its minimal assertion to 960 us -- cgit v1.2.3