]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - bootrom/bootrom.c
Jump to the correct physical address in Flash. (The comment was wrong, it never used...
[proxmark3-svn] / 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
             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
             asm("bx r3\n");\r
         }\r
     }\r
Impressum, Datenschutz