Hi,
I recently had a discussion on #openocd about this problem. During chat
I created some pastebin so that guru´s like Tomas Vanek could possible
dive into this issue. @Tomas: Sorry, Paul Fertser droped your name ;-)
Here are the pastebins
*** the irc snipped start (removed some lines) ***
mrt: can you please pastebin full output?
mrt
http://pastebin.com/u0vnneW5
mrt
how do i increase verbosity?
mrt
@PaulFerster: _more_ verbos: http://pastebin.com/kXFbD57k
mrt
@PaulFerster: unprotected chip-erase -> http://pastebin.com/EDnB8AbT
mrt
@PaulFerster: protected chip-erase (failure) -> http://pastebin.com/vcYVp18m
mrt
@PaulFerster: created with "openocd -d3 -l debug_log_proteced.txt -f
interface/cmsis-dap.cfg -c "transport select swd" -f
target/at91samdXX.cfg -c "init" -c "reset halt" -c "at91samd chip-erase"
-c "shutdown" "
mrt
@PaulFerster: Does this help?
PaulFertser
mrt: yes
mrt
@PaulFerster: can you see what
mrt
s going wrong?
PaulFertser
mrt: I'm thinking, reading
PaulFertser
mrt: do you have SRST line physically connected between the target and
debug adapter?
mrt
@PaulFertser: yes - same setup works with atmel-studio
mrt
@PaulFertser: I guess it´s the so called "cold-plug" event which can be
triggered with nRST going high while TCK is low ..?
PaulFertser
mrt: you need to specify "reset_config srst_only" in your config then to
tell OpenOCD that the hardware line is to be used.
PaulFertser
mrt: then probably "reset halt" will start to work.
mrt
@PaulFertser: just tried without success.
mrt
source [find interface/cmsis-dap.cfg]
mrt
transport select swd
mrt
reset_config srst_only
mrt
source [find target/at91samdXX.cfg]
mrt
init
mrt
reset halt
PaulFertser
mrt: hm, I do not have first-hand experience with samd, unfortunately,
can you please send a mail to the devel mailing list? I hope Tomas Vanek
will be able to help.
PaulFertser
mrt: please do not paste more than 3 lines to any public channel on IRC,
it's usually considered to be bad.
mrt
jep - sorry
PaulFertser
mrt: I can't yet understand how Tomas intended to deal with the
situation you outline. But I think he has some ideas.
*** the irc snipped end***
Thank you in advance!
Br,
Thomas
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel