<Haohmaru>
hm, since what's currently flashed on does have my bootloader on, i wonder if i can make a firmware that just does the chip erase... seppukko.elf ;P~
<PaulFertser>
Haohmaru: do you have reset button there?
<Haohmaru>
nope
<Haohmaru>
just a pull resistor, maybe also a LPF capacitor
<Haohmaru>
lemme see
<Haohmaru>
yes, 10k pull up, and 47n capacitor to GND
<Haohmaru>
also 1k pull up on SWCLK
<PaulFertser>
Haohmaru: try also adding "connect_assert_srst" to reset_config and show the full log, that might give additional hints.
<PaulFertser>
Haohmaru: hm but it used to be better before, now SWD doesn't work at all.
<PaulFertser>
While before you were able to read swd id.
<Haohmaru>
i can't even tell what's going on *shrug*
<Haohmaru>
earlier the chip was getting reset btw
<PaulFertser>
Not sure how exactly to help you but the idea should be something along the lines of getting DSU to halt the CPU early by pulling TCK low and then pulsing reset (can be done manually) and then somehow connecting with OpenOCD. Not sure how to talk to DSU without examination though.
<Haohmaru>
(the board beeps on init, so i heard it)
<Haohmaru>
i'll try making a seppukku.elf
<Haohmaru>
but this would only work because i have a bootloader otherwise i can't change the firmware
<Haohmaru>
crap, i think it doesn't work from the firmware
<Haohmaru>
would the "cmsis_dap_init_samd_cold_plug" thing that is mentioned help? i tried it already but openocd didn't recognize it, afaik i'll have to build openocd with some modifications...
<Haohmaru>
hm, would a different debugger make a difference? i still have the Original Atmel ICE at home...?
<Haohmaru>
the 1k pull up on SWCLK is on my board,
<PaulFertser>
So pull down with 0k
<Haohmaru>
yes, altho that way i'll short the debugger's SWCLK pin which i assume is an output
slobodan has quit [Read error: Connection reset by peer]
<Haohmaru>
or you mean to do that while the debugger isn't connected
<PaulFertser>
16:05 < PaulFertser> Haohmaru: disconnect the debugger pull manually
slobodan has joined #openocd
<Haohmaru>
okay, this is where it'd be handy if i was an octopus ;P~
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
slobodan has quit [Remote host closed the connection]
slobodan has joined #openocd
<Haohmaru>
so i shorted SWCLK to GND thru 470R, then when i reset the chip - it doesn't start the firmware
<Haohmaru>
...even if i remove the 470R resistor
<Haohmaru>
then i plug the debugger - still doesn't run the firmware... but then the commands i tried didn't seem to work
<PaulFertser>
Haohmaru: good, it shouldn't be running, it should be "stuck", then just run the command as suggested in the thread, the chip-erase one, without reset.
<Haohmaru>
just init and chip-erase, right?
<PaulFertser>
Yes
<Haohmaru>
doesn't seem to work, still -4
<Haohmaru>
and "target not examined.."
<PaulFertser>
That was my best idea, sorry.
<Haohmaru>
atmel ice won't help, right? it would be the same as far as openocd is concerned?
<Haohmaru>
still a "swdap"
merethan has joined #openocd
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
jybz has quit [Excess Flood]
jybz has joined #openocd
bvernoux has quit [Read error: Connection reset by peer]
bvernoux has joined #openocd
Haohmaru has quit [Quit: saionara]
gzlb has quit [Ping timeout: 246 seconds]
gzlb has joined #openocd
MGF_Fabio has quit [Ping timeout: 255 seconds]
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
bvernoux_ has joined #openocd
bvernoux has quit [Ping timeout: 240 seconds]
merethan has quit [Ping timeout: 272 seconds]
akaWolf has quit [Quit: leaving]
akaWolf has joined #openocd
slobodan has quit [Ping timeout: 260 seconds]
akaWolf has quit [Quit: leaving]
akaWolf has joined #openocd
wingsorc has joined #openocd
akaWolf has quit [Quit: leaving]
akaWolf has joined #openocd
nerozero has quit [Ping timeout: 268 seconds]
zjason`` has joined #openocd
Guest45 has joined #openocd
Guest45 has quit [Client Quit]
zjason` has quit [Ping timeout: 268 seconds]
MGF_Fabio has joined #openocd
MGF_Fabio has quit [Quit: Konversation terminated!]