[riot-notifications] [RIOT-OS/RIOT] board/sltb001a: cannot flash with JLink when 'hello-world' is running and no error (#11059)

Gaƫtan Harter notifications at github.com
Mon Feb 25 14:06:56 CET 2019

To make it flash properly I added a reset before flashing and it works:

``` diff
diff --git a/boards/sltb001a/Makefile.include b/boards/sltb001a/Makefile.include
index 69d13e8fa..e7370b65a 100644
--- a/boards/sltb001a/Makefile.include
+++ b/boards/sltb001a/Makefile.include
@@ -11,6 +11,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
 # setup JLink for flashing
 export JLINK_DEVICE := EFR32MG1PxxxF256
+export JLINK_PRE_FLASH = r
 include $(RIOTMAKE)/tools/jlink.inc.mk
 # add board common drivers

I could add it there but there may be other boards that need it too.

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/20190225/84c329d1/attachment.html>

More information about the notifications mailing list