Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz after init

2015-03-15 Thread Simon Qian
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: openo

Re: [OpenOCD-devel] OpenOCD 0.9.0-rc1 is near

2015-03-15 Thread blurryink
Have these patches been applied or are they still in process? I also looked at Kent patches and appreciate Salvador Arroyo comments on some of the patches.I have nothing to add to Salvador's comments. Between Kent on PIC32MX and, eventually, me on PIC32MZ we should cover the waterfront of PI

Re: [OpenOCD-devel] Error after flashing LPC1112

2015-03-15 Thread Daniel Kowalski
On Sun, 15 Mar 2015 21:43:05 +0300 Paul Fertser wrote: > Hi, > > On Sun, Mar 15, 2015 at 07:27:43PM +0100, Daniel Kowalski wrote: > > proc program {} { > > init > ... > > OpenOCD already has a "program" command, please consider using it > instead of cooking your own. The documentation has a

[OpenOCD-devel] [PATCH]: f1f118d target/target, cortex_m: improve robustness of reset command

2015-03-15 Thread gerrit
This is an automated email from Gerrit. Tomas Vanek (van...@fbl.cz) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2606 -- gerrit commit f1f118dc0f51de50b94de2dc8a5166e6f9e78662 Author: Tomas Vanek Date: Sun Mar 15 19:09:15 2015 +0100 target/targ

Re: [OpenOCD-devel] Error after flashing LPC1112

2015-03-15 Thread Paul Fertser
Hi, On Sun, Mar 15, 2015 at 07:27:43PM +0100, Daniel Kowalski wrote: > proc program {} { > init ... OpenOCD already has a "program" command, please consider using it instead of cooking your own. The documentation has an appropriate description. There was discovered an issue with shutdown and

[OpenOCD-devel] Error after flashing LPC1112

2015-03-15 Thread Daniel Kowalski
Hello, I use OpenOCD (git snapshot from 14.03.2015) to flash LPC1112, everything works as expected - MCU is flashed correctly and code runs fine, but OpenOCD throws error just after flashing (when shutdown is called). Error seems to be completely harmless, but I have no idea what could cause it.

Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz after init

2015-03-15 Thread Tomas Vanek
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 lo

Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz after init

2015-03-15 Thread Simon Qian
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

[OpenOCD-devel] [PATCH]: eccfb9d Cortex-A: Revert back polling of CDBGPWRUPACK and CSYSPWRUPACK in ahbap_debugport_init() from the Openocd-0.8.0.

2015-03-15 Thread gerrit
This is an automated email from Gerrit. Harishkumar V (harishpres...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2605 -- gerrit commit eccfb9d5a8dce58745bf21482dd12e8f1abd48b7 Author: HarishKumar Date: Sun Mar 15 19:33:15 2015 +0530

Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz after init

2015-03-15 Thread Tomas Vanek
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 v

Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz after init

2015-03-15 Thread Simon Qian
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

Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz after init

2015-03-15 Thread Simon Qian
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.

Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz after init

2015-03-15 Thread Simon Qian
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 impleme

Re: [OpenOCD-devel] vsllink silently ignores changes in adapter_khz after init

2015-03-15 Thread Tomas Vanek
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