Setting the speed of CMSIS-DAP Interface of OpenOCD

Open source ARM Debugger

Moderator: phalanx

Post Reply
abhijeetb89
Posts: 3
Joined: Fri Dec 12, 2014 3:45 am

Setting the speed of CMSIS-DAP Interface of OpenOCD

Post by abhijeetb89 » Fri Dec 12, 2014 3:59 am

Hello Everyone,

I am flashing mbed LPC1768 using OpenOCD and CMSIS-DAP interface.
I can flash mbed but speed of flashing is very slow. OpenOCD telnet
session shows clock speed of 10KHz.

It takes 5 minutes to flash hex file of 51Kb. I have other projects for
which I have to flash hex files of around 200Kb and it takes 15 minutes.

I have read OpenOCD User's Guide but I could not find any command
to set the speed of CMSIS-DAP.

Does anyone have any idea how to speed up flashing?

Thanks & Regards,

Abhijeet

User avatar
ntfreak
Posts: 481
Joined: Sat Jun 17, 2006 9:42 am
Location: UK

Re: Setting the speed of CMSIS-DAP Interface of OpenOCD

Post by ntfreak » Sat Dec 13, 2014 7:31 am

It's the same as the other adapters
adapter_khz 1000 will set the speed to 1MHz for example.

Spen

abhijeetb89
Posts: 3
Joined: Fri Dec 12, 2014 3:45 am

Re: Setting the speed of CMSIS-DAP Interface of OpenOCD

Post by abhijeetb89 » Mon Dec 15, 2014 12:41 am

Hi Spen,

It worked. Thanks for help.

Abhijeet

Post Reply