NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
nvmd has quit [Quit: WeeChat 3.7.1]
Hawk777 has joined #openocd
nerozero has joined #openocd
<PaulFertser> maribu[m]: hm, do you probably have some bootloader mode on that target?
<PaulFertser> Sometimes it's easier to switch to bootloader mode and attach from there.
<PaulFertser> Do you actually connect system reset line?
Hawk777 has quit [Quit: Leaving.]
<maribu[m]> No, I have not flashed any bootloader or changed the bootloader mode. I am using the CC2650-Launchpad with an integrated XDS110 debugger and a CC2650STK ("Sensor Tag") with the XDS110 "daughter board". The reset line is therefore wired internally for the launchpad, and connected via the same connector as JTAG for the sensor tag. There is little room for wiring error in this setup.
<maribu[m]> Note that the CC2650 has this ICEPick JTAG router that is also reset when the reset signal is applied. I think that after each reset the ICEPick JTAG router needs to be re-configured and the switch from cJTAG to JTAG needs to be reperformed.
<maribu[m]> I get JTAG protocol errors (invalid ACKs) as symptom if I change the reset_config from none to anything else. With none, it does work, but the debugger fails to attach to the MCU once I have flashed a RIOT based firmware (that does make use of power saving modes). It is a known issue that due to power saving modes reliable attaching the debugger only works when connecting under reset with RIOT.
<maribu[m]> The "solution" other RIOT users use is to pull all the jumpers connecting the CC2650 to the XDS110, connect a J-Link via the 10 pin 1.27 mm standard JTAG connector, and use JLinkExe to connect under reset...
Haohmaru has joined #openocd
<PaulFertser> maribu[m]: I mean MCUs usually have some ROM bootloader that can be activated with external straps.
<PaulFertser> Probably icepick can hold the target in reset but I do not see it mentioned in existing configs.
<maribu[m]> OK, I see. This would help as I could then attach without the reset signal. However, one of my use cases is to automatically iterate of ~100 firmwares containing integration tests of RIOT. This requires a fully automated flashing procedure.
<PaulFertser> maribu[m]: understandable. Probably debug logs from jlink software would tell more about how exactly it's doing that.
<karlp> this sounds familiar, but I can't remember if there was a resolution or not last time either :|
<PaulFertser> Probably someone needs to dig icepick docs.
<karlp> we don't have an awful lot of ti users though.
bobsy has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
bobsy has joined #openocd
diddly has quit [Ping timeout: 264 seconds]
diddly has joined #openocd
Guest46 has joined #openocd
Guest46 has quit [Client Quit]
jybz has quit [Excess Flood]
jybz has joined #openocd
nerozero has quit [Ping timeout: 256 seconds]
dliviu has quit [Ping timeout: 256 seconds]
Haohmaru has quit []
dliviu has joined #openocd
Inoperable has quit [Ping timeout: 268 seconds]
Inoperable has joined #openocd
zjason` has joined #openocd
zjason has quit [Ping timeout: 248 seconds]
Inoperable has quit [Ping timeout: 256 seconds]
jybz has quit [Ping timeout: 255 seconds]
jybz has joined #openocd