SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By bgengine
#193319
HI,

I've been asked to use OPENOCD to program a Raytac MDBt40 device ( which has a Nordic NRF51822 device) using a Segger J-link Base pod.

I'd like to be able to write a VB.net program that would call a a command that would then call openocd, and run it withe parameters it needs to program the device.

I know very little about OPENOCD and am not even sure if it can interface with the Segger J-link Base pod ?
I also understand I need to setup some config files and pass these to the openocd.exe as command line parameters.
could someone give me an idea of how I can setup the config files for this ?

would very much appreciate it

thanks