diff --git a/src/flash.script b/src/flash.script index 969235c..916fd81 100644 --- a/src/flash.script +++ b/src/flash.script @@ -6,7 +6,7 @@ #flash info 0 reset init -flash write_image erase unlock obj/firmware.img 12288 +flash write_image erase unlock obj/firmware.img 8192 reset run shutdown diff --git a/src/lpc1754.ld b/src/lpc1754.ld index 69ac4e6..a470fba 100644 --- a/src/lpc1754.ld +++ b/src/lpc1754.ld @@ -10,7 +10,7 @@ ENTRY(_start) MEMORY { - flash (rx) : ORIGIN = 0x00003100, LENGTH = 0x1cf00 /* leave room for bootldr + metadata */ + flash (rx) : ORIGIN = 0x00002100, LENGTH = 0x1df00 /* leave room for bootldr + metadata */ ram (rwx) : ORIGIN = 0x10000000, LENGTH = 0x04000 ahbram (rwx) : ORIGIN = 0x2007C000, LENGTH = 0x04000 }