Re: [OpenOCD-devel] "reset_config none" vs "reset_config srst_only srst_nogate"

2015-03-01 Thread Andreas Fritiofson
On Sun, Mar 1, 2015 at 5:05 PM, Paul Fertser wrote: > > you can't reset > other on-board devices without srst. Depends on the device. Some chips (such as the STM32s) have bidirectional reset pins that actually pulse after a sysresetreq. Otherwise I agree :) /Andreas

[OpenOCD-devel] [PATCH]: 4d9f7cb lpc4350: Add missing else statement

2015-03-01 Thread gerrit
This is an automated email from Gerrit. Andreas Färber (afaer...@suse.de) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2571 -- gerrit commit 4d9f7cb23dc5e3cc842b83341d5e3582b59685b7 Author: Andreas Färber Date: Sun Mar 1 23:45:42 2015 +0100 lpc

[OpenOCD-devel] [PATCH]: c104f44 tcl/board: Add Spansion SK-FM4-176L-S6E2CC config

2015-03-01 Thread gerrit
This is an automated email from Gerrit. Andreas Färber (afaer...@suse.de) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2570 -- gerrit commit c104f44ab95725575678046dfc8c53b3c2d3d8ac Author: Andreas Färber Date: Sun Mar 1 21:35:12 2015 +0100 tcl

[OpenOCD-devel] [PATCH]: 0f4f86a tcl/target: Add Spansion FM4 config

2015-03-01 Thread gerrit
This is an automated email from Gerrit. Andreas Färber (afaer...@suse.de) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2569 -- gerrit commit 0f4f86acfb515d3946141faad22aec9ea31ee63f Author: Andreas Färber Date: Sun Mar 1 20:38:36 2015 +0100 tcl

Re: [OpenOCD-devel] Findind out maximun JTAG/SWD frequency

2015-03-01 Thread Duane Ellis
>> I googled for some time, but couldn't find hard number what restrictions for >> the JTAG/SWD frequency apply. I was the source of the original (CLK/6) in the documetation - it is a simplification that makes it easier for people to get correct without much reading and technical understandin

[OpenOCD-devel] Findind out maximun JTAG/SWD frequency

2015-03-01 Thread Uwe Bonnes
Hello, I googled for some time, but couldn't find hard number what restrictions for the JTAG/SWD frequency apply. Our stm32 configurations have "JTAG speed should be <= F_CPU/6", but where do these numbers come from? Does this F_CPU/6 rule also apply for other Cortex-M cpu, like the EFM32? Any hi

Re: [OpenOCD-devel] "reset_config none" vs "reset_config srst_only srst_nogate"

2015-03-01 Thread Paul Fertser
On Sun, Mar 01, 2015 at 04:52:00PM +0100, Uwe Bonnes wrote: > I have some F411 nucleo board that I run battery powered. The reset line and > some other lines between the stlink and the target go to none 5 volt > tolerant lines of the STLink cpu and draw substantial battery current when > the stlink

Re: [OpenOCD-devel] "reset_config none" vs "reset_config srst_only srst_nogate"

2015-03-01 Thread Uwe Bonnes
> "Paul" == Paul Fertser writes: Paul> On Sun, Mar 01, 2015 at 04:06:28PM +0100, Uwe Bonnes wrote: >> So my original question is changed to: >> >> Why use "reset_config srst_only" and not "reset_config none"? Paul> reset_config none is default. If the specific board has

Re: [OpenOCD-devel] "reset_config none" vs "reset_config srst_only srst_nogate"

2015-03-01 Thread Paul Fertser
On Sun, Mar 01, 2015 at 04:06:28PM +0100, Uwe Bonnes wrote: > So my original question is changed to: > > Why use "reset_config srst_only" and not "reset_config none"? reset_config none is default. If the specific board has SRST connected properly, it's usually more reliable to use hardware reset

Re: [OpenOCD-devel] "reset_config none" vs "reset_config srst_only srst_nogate"

2015-03-01 Thread Uwe Bonnes
> "Andreas" == Andreas Färber writes: Andreas> Hi Uwe, Am 01.03.2015 um 14:25 schrieb Uwe Bonnes: >> I am trying to get Openocd running with a Silab EFM32 Tiny Gecko >> board I got some time ago. The board has some of the Silab demo >> programm applied, probably using WFI in t

Re: [OpenOCD-devel] "reset_config none" vs "reset_config srst_only srst_nogate"

2015-03-01 Thread Andreas Färber
Hi Uwe, Am 01.03.2015 um 14:25 schrieb Uwe Bonnes: > I am trying to get Openocd running with a Silab EFM32 Tiny Gecko board I got > some time ago. The board has some of the Silab demo programm applied, > probably using WFI in the Idle loop. > > Modifying Andreas Faerbers recently submitted xmc-2g

[OpenOCD-devel] "reset_config none" vs "reset_config srst_only srst_nogate"

2015-03-01 Thread Uwe Bonnes
Hello, I am trying to get Openocd running with a Silab EFM32 Tiny Gecko board I got some time ago. The board has some of the Silab demo programm applied, probably using WFI in the Idle loop. Modifying Andreas Faerbers recently submitted xmc-2go.cfg accordingly for the efm32, I got openocd starte