SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By pinkesh
#182798
Hello everyone ,

When I am trying to connect mbed LPC1768 with openocd , I got the following output :

pinkesh@infonet-01:~/installs/stlink$ openocd -c "interface cmsis-dap" -f ~/openocd_latest/openocd/tcl/board/mbed-lpc1768.cfg
Open On-Chip Debugger 0.9.0-dev-00185-g55e430f (2014-10-20-21:20)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'cmsis-dap'
Warn : Interface already configured, ignoring
adapter speed: 10 kHz
adapter_nsrst_delay: 200
cortex_m reset_config sysresetreq
Error: unable to find CMSIS-DAP device
in procedure 'init'



Here is my openocd version
Open On-Chip Debugger 0.9.0-dev-00185-g55e430f (2014-10-20-21:20)
Licensed under GNU GPL v2

When I connect to FRDM-KL25Z board , I got the output as per below

pinkesh@infonet-01:~/installs/stlink$ openocd -c "interface cmsis-dap" -f ~/openocd_latest/openocd/tcl/board/frdm-kl25z.cfg
Open On-Chip Debugger 0.9.0-dev-00185-g55e430f (2014-10-20-21:20)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'cmsis-dap'
Warn : Interface already configured, ignoring
Info : add flash_bank kinetis MKL25Z128VLK4.flash
adapter speed: 1000 kHz
cortex_m reset_config sysresetreq
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 1.0
Info : SWCLK/TCK = 0 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : DAP_SWJ Sequence (reset: 50+ '1' followed by 0)
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : IDCODE 0x0bc11477
Info : MKL25Z128VLK4.cpu: hardware has 2 breakpoints, 2 watchpoints
Info : MDM: Chip is unsecured. Continuing.

What could be the problem ?

Anyone please ---

- Pinkesh
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]