Hi, I have install openocd on ubuntu. but i after running next line
openocd -f interface/stlink-v2.cfg cfg -f target/nrf51_stlink.tcl
i got these error.
Runtime Error: embedded:startup.tcl:47: Can't find target/nrf51_stlink.tcl
in procedure 'script'
at file "embedded:startup.tcl", line 47
I have stlink2 connected. I will be using s120 softdevice. I think my start address will be
APP_CODE_BASE 0x0001D000
APP_RAM_BASE 0x20002800
So, i found following command,
openocd -f interface/stlink-v2.cfg -f target/nrf51_stlink.tcl -c "program output_directory/s120.hex 0x0001D000"
Is that right? Or am i missing something?