[riot-notifications] [RIOT-OS/RIOT] jlink: handle flashing at IMAGE_OFFSET (#11200)

Gaƫtan Harter notifications at github.com
Tue Mar 19 14:51:47 CET 2019

So there is a need for a commit before this one to prepare the `openmote`:

diff --git a/boards/openmote-cc2538/Makefile.include b/boards/openmote-cc2538/Makefile.include
index bb8b52bf3..401a8fda8 100644
--- a/boards/openmote-cc2538/Makefile.include
+++ b/boards/openmote-cc2538/Makefile.include
@@ -12,7 +12,7 @@ export PROGRAMMER ?= cc2538-bsl
 ifeq ($(PROGRAMMER),jlink)
   # setup JLink for flashing
   export JLINK_DEVICE := cc2538sf53
-  export FLASH_ADDR := 200000
+  export FLASH_ADDR := 0x200000
   export JLINK_IF := JTAG
   export TUI := 1
   include $(RIOTMAKE)/tools/jlink.inc.mk
and then I get the correct flashing address with this pull request

### Flashing at base address 0x200000 with offset 0 ###

Then after this one, there are different places where `IMAGE_OFFSET` should be used instead of `FLASH_ADDR` but could come in upcoming pull requests.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190319/f92c533b/attachment.html>

More information about the notifications mailing list