<borneoa___>
balrog: thanks, I will check it shortly. Indeed 945 is an interesting step ahead
<balrog>
I could rework 945 if you'd like
shibboleth has quit [Quit: shibboleth]
bvernoux has quit [Read error: Connection reset by peer]
<RolfNoot>
I found an issue with 7966, where cmsis-dap quirk workarounds are introduced
<RolfNoot>
On my DAP-LINK adapter, before 7966, programming / debugging is working. After 7966 it stopped
<RolfNoot>
Line 1228 of the new patch adds the check if quirk mode is enabled to assert the SRST line, while the cmsis_dap_handle->quirk_mode is disabled by default. In the previous code the asserting of the SRST line is always done.
<RolfNoot>
I don't know if this is an issue but the behavior changed after this patch for the DAPLINK adapter
<PaulFertser>
RolfNoot: but SRST isn't supposed to be asserted by default normally. Or else you wouldn't be able to attach to a running target without altering its state.
<balrog>
borneoa___: reworked, but untested
<RolfNoot>
I have the reset_config srst_only'
<RolfNoot>
added for my board
crabbedhaloablut has quit []
<RolfNoot>
I didn't look into this well but I see the behavior change with the patch.
slobodan has quit [Ping timeout: 260 seconds]
<PaulFertser>
RolfNoot: srst_only means OpenOCD should use physical SRST line to reset when you ask the target to be reset.
<PaulFertser>
RolfNoot: probably you want srst_only connect_assert_srst ?
<RolfNoot>
PaulFertser: I still need to look into this. I want a physical assert of the SRST line but also noted different behavior between different adapters
<RolfNoot>
PaulFertser: Although with the prior version the quirk mode was enabled by default (no check): if (seq != LINE_RESET &&
<RolfNoot>
PaulFertser: The patch added the check (while quirk mode is disabled now by default): if (cmsis_dap_handle->quirk_mode && seq != LINE_RESET &&
<RolfNoot>
PaulFertser: So shouldn't the quirk mode be enabled by default to maintain the same behavior? Or is this unwanted?
<balrog>
borneoa___: will need more rework. how do I get OpenOCD to build all drivers?
vampirefrog has quit [Quit: Leaving]
vampirefrog has joined #openocd
<RolfNoot>
PaulFertser: Also, OpenOCD crashes on 'cmsis-dap quirk enable' when issued before init
<karlp>
RolfNoot: regardless of what it was before, it should not reset on connect by default. that should be requested behavioru.
RolfNoot_ has joined #openocd
srd3141 has joined #openocd
RolfNoot has quit [Remote host closed the connection]