Hi,

Am 21.04.2015 um 09:13 schrieb Paul Fertser:
> On Mon, Apr 20, 2015 at 02:26:28PM +0200, Andreas Färber wrote:
>> Am 20.04.2015 um 13:49 schrieb Andreas Färber:
>>> xmc4500-application-kit-general.cfg with
>>> http://openocd.zylin.com/#/c/2721/ :
> 
> These two logs clearly tell me srst_nogate is not appropriate for this
> target. If you want to additionally test this theory, do:
> 
> 1. Shutdown openocd;
> 2. Power-cycle the target;
> 3. Push target's hardware reset button and keep it pressed;
> 4. Start OpenOCD with default reset_config to let it try to attach to
>    the target.

Open On-Chip Debugger 0.9.0-dev-00415-g2d4ae3f (2015-04-19-21:38)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : JLink SWD mode enabled
cortex_m reset_config sysresetreq
adapter speed: 1000 kHz
Info : J-Link Lite-Cortex-M V8 compiled Jul 17 2014 11:40:12
Info : J-Link caps 0xb8ea7a3b
Info : J-Link hw version 80000
Info : J-Link hw type J-Link
Info : J-Link max mem block 10144
Info : J-Link configuration
Info : USB-Address: 0x0
Info : Kickstart power on JTAG-pin 19: 0xffffffff
Info : Vref = 3.293 TCK = 0 TDI = 1 TDO = 1 TMS = 1 SRST = 1 TRST = 1
Info : J-Link JTAG Interface ready
Info : clock speed 1000 kHz
in procedure 'init'
in procedure 'ocd_bouncer'


> If srst_nogate can't indeed work then you'll be getting only JUNK
> during SWD communication attempt.

Using just "reset_config srst_only" without srst_nogate, "reset" seems
to work okay. Will post a patch then.

Not sure why it worked in the past with srst_nogate then...

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to