From: henryk@ploetzli.ch Date: Fri, 28 Aug 2009 00:36:02 +0000 (+0000) Subject: Jump to the correct physical address in Flash. (The comment was wrong, it never used... X-Git-Tag: v1.0.0~512 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/7af790aa0395322cc6e91e7cdbbd83612e871489 Jump to the correct physical address in Flash. (The comment was wrong, it never used RAM) --- diff --git a/bootrom/bootrom.c b/bootrom/bootrom.c index c654db29..3dba041e 100644 --- a/bootrom/bootrom.c +++ b/bootrom/bootrom.c @@ -182,8 +182,8 @@ void BootROM(void) USB_D_PLUS_PULLUP_OFF(); LED_B_ON(); - // jump to RAM address 0x10000 (LSBit set for thumb mode) - asm("ldr r3, = 0x10001\n"); + // jump to Flash address 0x10000 (LSBit set for thumb mode, 0x100000 added for Flash base address) + asm("ldr r3, = 0x00110001\n"); asm("bx r3\n"); } }