<p>So there is a need for a commit before this one to prepare the <code>openmote</code>:</p>
<pre><code>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
</code></pre>
<p>and then I get the correct flashing address with this pull request</p>
<pre><code>### Flashing at base address 0x200000 with offset 0 ###
DEBUG ADDR_TO_FLASH 0x00200000
</code></pre>
<p>Then after this one, there are different places where <code>IMAGE_OFFSET</code> should be used instead of <code>FLASH_ADDR</code> but could come in upcoming pull requests.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11200#issuecomment-474379183">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YFcSpBXlsbRKv-sQTqdXVgOSYIX2ks5vYOtygaJpZM4b5dIA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YGsNSq9VQiQ1PyNfTviHmSdGtbQ_ks5vYOtygaJpZM4b5dIA.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"PERSON","message":"@cladmi in #11200: So there is a need for a commit before this one to prepare the `openmote`:\r\n\r\n```\r\ndiff --git a/boards/openmote-cc2538/Makefile.include b/boards/openmote-cc2538/Makefile.include\r\nindex bb8b52bf3..401a8fda8 100644\r\n--- a/boards/openmote-cc2538/Makefile.include\r\n+++ b/boards/openmote-cc2538/Makefile.include\r\n@@ -12,7 +12,7 @@ export PROGRAMMER ?= cc2538-bsl\r\n ifeq ($(PROGRAMMER),jlink)\r\n   # setup JLink for flashing\r\n   export JLINK_DEVICE := cc2538sf53\r\n-  export FLASH_ADDR := 200000\r\n+  export FLASH_ADDR := 0x200000\r\n   export JLINK_IF := JTAG\r\n   export TUI := 1\r\n   include $(RIOTMAKE)/tools/jlink.inc.mk\r\n```\r\nand then I get the correct flashing address with this pull request\r\n\r\n```\r\n### Flashing at base address 0x200000 with offset 0 ###\r\nDEBUG ADDR_TO_FLASH 0x00200000\r\n```\r\n\r\n\r\nThen after this one, there are different places where `IMAGE_OFFSET` should be used instead of `FLASH_ADDR` but could come in upcoming pull requests."}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/11200#issuecomment-474379183"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11200#issuecomment-474379183",
"url": "https://github.com/RIOT-OS/RIOT/pull/11200#issuecomment-474379183",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>