]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Jump to the correct physical address in Flash. (The comment was wrong, it never used...
authorhenryk@ploetzli.ch <henryk@ploetzli.ch@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 28 Aug 2009 00:36:02 +0000 (00:36 +0000)
committerhenryk@ploetzli.ch <henryk@ploetzli.ch@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 28 Aug 2009 00:36:02 +0000 (00:36 +0000)
bootrom/bootrom.c

index c654db290b410de7f0404a123cb455339fb10687..3dba041e67757d79396b5cd1f595448dc9fe622c 100644 (file)
@@ -182,8 +182,8 @@ void BootROM(void)
             USB_D_PLUS_PULLUP_OFF();\r
             LED_B_ON();\r
 \r
-                       // jump to RAM address 0x10000 (LSBit set for thumb mode)\r
-            asm("ldr r3, = 0x10001\n");\r
+                       // jump to Flash address 0x10000 (LSBit set for thumb mode, 0x100000 added for Flash base address)\r
+            asm("ldr r3, = 0x00110001\n");\r
             asm("bx r3\n");\r
         }\r
     }\r
Impressum, Datenschutz