[riot-notifications] [RIOT-OS/RIOT] boards/common/nrf52: add openocd support for 'nordic_softdevice_ble' (#11470)

Alexandre Abadie notifications at github.com
Thu May 23 09:38:39 CEST 2019


> do you have a reproducible failing case ?

Yes, use nrf52d, which loads softdevice by default with gnrc_networking and do the following, in same order:
- Build `examples/saul` and flash it using openocd:
```
PROGRAMMER=openocd  BOARD=nrf52dk make -C examples/saul flash term
[...]
> help  # the board replies => working application
```
- Build `examples/gnrc_networking` and flash it using openocd:
```
PROGRAMMER=openocd  BOARD=nrf52dk make -C examples/gnrc_networking flash term
[...]
> help  # no reply
```
- Build `examples/gnrc_networking` and flash it using JLink:
```
BOARD=nrf52dk make -C examples/gnrc_networking flash term
[...]
> help  # the board replies => working application
```
- Build again `examples/gnrc_networking` and this time flash it using openocd:
```
PROGRAMMER=openocd  BOARD=nrf52dk make -C examples/gnrc_networking flash term
[...]
> help  # the board replies => working application
```

It seems that flashing SoftDevice with JLink puts the application back in a working state. Maybe adding  erase with openocd is necessary ?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11470#issuecomment-495103892
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190523/a1ff3d36/attachment.html>


More information about the notifications mailing list