I will do a test to modify the swd speed on the run, and capture the SWD 
waveform of different speed for a compare.
I think versaloon can change the speed, but the speed parameter may be 
calculated wrong.



open...@versaloon.com
 
From: Tomas Vanek
Date: 2015-03-15 22:58
To: Simon Qian
CC: openocd-devel
Subject: Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz 
after init
This limit is not imposed in init? Or may I guess - speed is not changed if 
lower than limit?
Anyway many thanks for fast action.

Tom

On 15.3.2015 15:25, Simon Qian wrote:
OK, I know the problem, in vsllink code, for SWD speed, the min speed 
configurable is 72000.
I will add and test other lower speed.



open...@versaloon.com
 
From: Tomas Vanek
Date: 2015-03-15 22:16
To: Simon Qian
CC: openocd-devel
Subject: Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz 
after init
I discovered the problem testing http://openocd.zylin.com/2604 on top of fresh 
git master.
at91sam4lXX.cfg includes at91sam4XXX.cfg and it sets adapter_khz 500
Changed version of at91sam4lXX.cfg adjusts to adapter_khz 50 for low initial 
clock of "L" version. Works on ftdi, without an effect on vsllink.
Basically you can try any SWD-connected MCU and change adapter_khz manually 
after init to minimum and compare speed of mdw before and after
(or better use an oscilloscope)

Tom

On 15.3.2015 14:33, Simon Qian wrote:
I will do a test by connecting telnet, and modify the adapter_khz and do a mdw 
command, and will report the result tomorrow.



open...@versaloon.com
 
From: Simon Qian
Date: 2015-03-15 19:55
To: Tomas Vanek
CC: openocd-devel
Subject: Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz 
after init
Do you have the script? I will do the same test.



open...@versaloon.com
 
From: Tomas Vanek
Date: 2015-03-15 19:43
To: Simon Qian
CC: openocd-devel
Subject: Re: vsllink silently ignores changes in adapter_khz after init
Yes, I tested it only on swd. swd keeps the speed set in init.

Tom

On 15.3.2015 12:32, Simon Qian wrote:
Hi,
I remember vsllink can support changing the JTAG speed.
I will do a test and reply soon.



open...@versaloon.com
 
From: Tomas Vanek
Date: 2015-03-15 18:35
To: Simon Qian
CC: OpenOCD ML
Subject: vsllink silently ignores changes in adapter_khz after init
Hi Simon,
 
would be possible to implement changing of vsllink speed on the fly?
Some MCUs running at low clock freq after reset need it.
It also breaks some configs where one speed is set in included cfg and 
then changed to another.
 
Thanks
     Tom



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to