From 5a2e8766d52bbd4251cfa784ca71e087673789ad Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Mon, 27 May 2024 19:53:48 +0200 Subject: [PATCH] bootloader: Fix addr on last page --- bootloader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bootloader.py b/bootloader.py index 60e645a..17cf64f 100755 --- a/bootloader.py +++ b/bootloader.py @@ -88,6 +88,7 @@ class bootloader: else: print "Addr 0x%x" % buf_addr handle(buf_addr, buf[:self.pagesize]) + buf_addr += self.pagesize buf = buf[self.pagesize:] elif typ == 3: # Start Segment Address Record self.boot_addr = int(data.encode("hex"), 16) -- 2.39.5