Skip to content

Add Black Magic Probe (BMP) upload method #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dmikhalsky opened this issue Aug 10, 2017 · 4 comments
Closed

Add Black Magic Probe (BMP) upload method #183

dmikhalsky opened this issue Aug 10, 2017 · 4 comments

Comments

@dmikhalsky
Copy link

The method is already implemented in Roger Clark's fork of RBL rf51822 cores so it's just a matter of merging two boards.txt files.

@sandeepmistry
Copy link
Owner

@dmikhalsky I don't have a Black Magic Probe to test with, please open a pull request with the minimal changes required add support to continue the discussion.

@ntavish
Copy link
Contributor

ntavish commented Aug 11, 2017

Hi @dmikhalsky , I have added basic support for upload using BMP here electronut/arduino-bluey@1fb4e5a

But I was not able to figure out a way to make it work in a way that would be compatible with how it done done with openocd in this repo. One issue is flashing the softdevice, which uses the bootloader.tool setting, which I had to set to gdb (instead of openocd over here), so it disregards actual programmer and always uses gdb and the serial port selected (as the BMP serial port).

@micooke
Copy link
Contributor

micooke commented Aug 20, 2017

I've added bmp locally by modifying platform and programmers.

@ntavish - bmp uses gdb, not openocd. Luckily this is included in sandeeps repo!

I need to tidy up the gdb entry point, but its worked great for me. One thing ive implemented is that if the soft device has been downloaded, 'burn bootloader' will upload the soft device. I can't remember if this is already implemented for the other programming devices?

Ill try and put on a pull request in the next day or so.

micooke added a commit to micooke/arduino-nRF5 that referenced this issue Sep 29, 2017
… upload method

This is basically a merge of work done by @rogerclarkmelbourne in arduino-nRF5-customised, with the addition of bootloader uploading as per @sandeepmistry openocd reference in platform.txt
Note: This incorporates changes based off feedback from @sandeepmistry, @dmikhalsky, @dlabun
* README.md - BMP driver installation details
* platform.txt - BMP tool setup
* programmers.txt - Add BMP as a programmer option
micooke added a commit to micooke/arduino-nRF5 that referenced this issue Oct 6, 2017
… upload method

This is basically a merge of work done by @rogerclarkmelbourne in arduino-nRF5-customised, with the addition of bootloader uploading as per @sandeepmistry openocd reference in platform.txt
Note: This incorporates changes based off feedback from @sandeepmistry, @dmikhalsky, @dlabun
* README.md - BMP driver installation details
* platform.txt - BMP tool setup
* programmers.txt - Add BMP as a programmer option
sandeepmistry pushed a commit that referenced this issue Nov 21, 2017
* In support of 'issue' #183 - Add Black Magic Probe (BMP) upload method
This is basically a merge of work done by @rogerclarkmelbourne in arduino-nRF5-customised, with the addition of bootloader uploading as per @sandeepmistry openocd reference in platform.txt
Note: This incorporates changes based off feedback from @sandeepmistry, @dmikhalsky, @dlabun
* README.md - BMP driver installation details
* platform.txt - BMP tool setup
* programmers.txt - Add BMP as a programmer option

* In support of 'issue' #183 - Add Black Magic Probe (BMP) upload method
This is basically a merge of work done by @rogerclarkmelbourne in arduino-nRF5-customised, with the addition of bootloader uploading as per @sandeepmistry openocd reference in platform.txt
Note: This incorporates changes based off feedback from @sandeepmistry, @dmikhalsky, @dlabun
* README.md - BMP driver installation details
* platform.txt - BMP tool setup
* programmers.txt - Add BMP as a programmer option

* Update programmers.txt

Remove accidental references to sandeepmistry:openocd for openocd methods

* Update programmers.txt

* * rename bmp programmer to the more descriptive blackmagicprobe

* * remove accidental addition of bootloader.tool to openocd methods
@sandeepmistry
Copy link
Owner

Closed via #196. @micooke thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants