[riot-notifications] [RIOT-OS/RIOT] boards/calliope-mini: rework programmer config (openocd and pyocd) (#11407)

Martine Lenders notifications at github.com
Wed Apr 17 12:22:29 CEST 2019


Works for `openocd` but not for `pyocd` (though I don't get en error returned):

```
$ BOARD=calliope-mini PROGRAMMER=pyocd make -C examples/hello-world/ --no-print-directory flash
Building application "hello-world" for "calliope-mini" with MCU "nrf51".

[…]
   text	   data	    bss	    dec	    hex	filename
   8000	    136	   2604	  10740	   29f4	/home/mlenders/Repositories/RIOT-OS/RIOT/examples/hello-world/bin/calliope-mini/hello-world.elf
/home/mlenders/Repositories/RIOT-OS/RIOT/dist/tools/pyocd/pyocd.sh flash /home/mlenders/Repositories/RIOT-OS/RIOT/examples/hello-world/bin/calliope-mini/hello-world.hex
### Flashing Target ###
0000194:WARNING:mbed_board:Board ID 12A0 is not recognized; you will be able to use pyOCD but not program flash.
0000261:INFO:rom_table:AP#0 ROM table #0 @ 0xf0000000 (designer=244 part=001)
0000268:INFO:rom_table:[0]<e00ff000:ROM class=1 designer=43b part=471>
0000268:INFO:rom_table:  AP#0 ROM table #1 @ 0xe00ff000 (designer=43b part=471)
0000275:INFO:rom_table:  [0]<e000e000:SCS-M0+ class=14 designer=43b part=008>
0000280:INFO:rom_table:  [1]<e0001000:DWT-M0+ class=14 designer=43b part=00a>
0000285:INFO:rom_table:  [2]<e0002000:BPU class=14 designer=43b part=00b>
0000291:INFO:rom_table:[1]<f0002000:??? class=9 designer=43b part=9a3 devtype=13 archid=0000 devid=0:0:0>
0000317:WARNING:loader:Failed to add data chunk: no memory region defined for address 0x00000000
0000317:INFO:loader:Erased 0 bytes (0 sectors), programmed 0 bytes (0 pages), skipped 0 bytes (0 pages) at 0.00 kB/s
Done flashing
```

-- 
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/11407#issuecomment-484026489
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190417/81e75af1/attachment-0001.html>


More information about the notifications mailing list