1)a,JLinkExe
b,connect
c,NRF51822_XXAA
d,SWD
e,4000 kHz
2)JLinkGDBServer -if swd -speed 4000 -device nrf51822 -if swd -speed 4000 -port 2331
3)a,arm-none-eabi-gdb XXX.elf
b,target remote:2331
1)a,JLinkExe
b,connect
c,NRF51822_XXAA
d,SWD
e,4000 kHz
2)JLinkGDBServer -if swd -speed 4000 -device nrf51822 -if swd -speed 4000 -port 2331
3)a,arm-none-eabi-gdb XXX.elf
b,target remote:2331