Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-02-08 Thread Xiaofan Chen
On Fri, Feb 8, 2013 at 5:30 AM, simonqian.openocd wrote: > Hi all, > I read the mail list recently and find the libSWD commit. > It's good that libSWD is ready to use. > > I have also pushed SWD support in OpenOCD, but it's still not supported. > SWD support for Versaloon is implemented several ye

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-02-01 Thread Mahavir Jain
On Fri, 2013-02-01 at 04:07 -0800, Tomek CEDRO wrote: > Hello Mahavir :-) My changes are not going to be accepted to OpenOCD > anyway, so I have switched to different tasks. Speed can be increased > a lot by using MPSSE driver, but thats the work for you if you want it > working :-) Ask the develop

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-02-01 Thread Tomek CEDRO
On Fri, Feb 1, 2013 at 12:52 PM, Mahavir Jain wrote: > This (loading speed) is big problem, because it affects whole debugging > exercise with SWD. Have you tried attaching debugger to debug image, > loaded into RAM of target device? I get frequent timeouts and issues > with halt/resume. Any recom

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-02-01 Thread Mahavir Jain
Hi Tomek, On Fri, 2013-01-25 at 04:19 -0800, Tomek CEDRO wrote: [...] > > 21708 bytes written at address 0x0010 > > 176 bytes written at address 0x2000 > > downloaded 21884 bytes in 87.741547s (0.244 KiB/s) [...] > From my testing debug level does not affect efficiency at all, because >

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread CeDeROM
On Sat, Jan 26, 2013 at 3:35 AM, Peter Stuge wrote: > Tomek CEDRO wrote: >> When the code is intergrated to OpenOCD master > I don't think it will be.. As I said - there is no clear list on what needs to be done, Spen changes first then we discuss over the code... -- CeDeROM, SQ7MHZ, http://www

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread Peter Stuge
Tomek CEDRO wrote: > When the code is intergrated to OpenOCD master I don't think it will be.. I understand that you feel like you wasted a lot of time, but that's really your own fault for not working with the community. *You* made the choice to spend a lot of time working on your code, before yo

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread Tomek CEDRO
On Fri, Jan 25, 2013 at 2:50 PM, Mahavir Jain wrote: > Find it below: > = > Debug: 188 17 signal.c:42 oocd_interface_signal_find(): Interface signal > - searching for 'RnW' signal... > Debug: 189 17 signal.c:50 oocd_interface_signal_find(): Interface signal > - not defined (yet?). > Er

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread Mahavir Jain
On Fri, 2013-01-25 at 04:19 -0800, Tomek CEDRO wrote: > On Fri, Jan 25, 2013 at 6:54 AM, Mahavir Jain wrote: > > That did the trick! I should have checked it earlier before shouting > > here :( RnW interface_signal was missing in config file. I am not > > entirely sure of its purpose though? > >

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread Tomek CEDRO
On Fri, Jan 25, 2013 at 6:54 AM, Mahavir Jain wrote: > That did the trick! I should have checked it earlier before shouting > here :( RnW interface_signal was missing in config file. I am not > entirely sure of its purpose though? Hello Mahavir :-) I am happy to hear that thinks are working now!

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-24 Thread Mahavir Jain
Hi Tomek, That did the trick! I should have checked it earlier before shouting here :( RnW interface_signal was missing in config file. I am not entirely sure of its purpose though? Debug: 188 148 signal.c:42 oocd_interface_signal_find(): Interface signal - searching for 'RnW' signal

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-24 Thread Tomek CEDRO
Hello Mahavir :-) Do you use latest source code? Please make sure that you clone a fresh copy of the repository, as at the end of development some forced commits took place. Anyway this is perfect example that debug messages should be upgraded in OpenOCD, what I have proposed and even presented i

[OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-24 Thread Mahavir Jain
Hi All, I am using OpenOCD with SWD support, from LibSWD port (compiled one from http://repo.or.cz/r/openocd/libswd.git git repo) and using KT-Link hardware adapter for testing SWD interface on Cortex-M3 custom board but finding below issue: Log: === Open On-Chip Debugger 0.7.0-dev-ga21589d-dirty