NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
dliviu has quit [Ping timeout: 240 seconds]
Hawk777 has joined #openocd
crabbedhaloablut has joined #openocd
nerozero has joined #openocd
Hawk777 has quit [Quit: Leaving.]
<maribu[m]> Hi. I updated https://review.openocd.org/c/openocd/+/5584 to resolve a merge conflict with master. The issue I had with flash verification that casted doubt whether there still is a bug I also now have with all other boards until https://review.openocd.org/c/openocd/+/7658 gets merged. That revert (7658) fixes also flash verification for the qn908x flash driver, so that issue was unrelated. As far as I can tell, that patch is ready for merge.
<PaulFertser> maribu[m]: very nice, thank you!
PsySc0rpi0n has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 248 seconds]
PsySc0rpi0n has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 240 seconds]
Haohmaru has joined #openocd
dliviu has joined #openocd
PsySc0rpi0n has joined #openocd
wingsorc has quit [Ping timeout: 240 seconds]
<borneoa__> maribu[m]: thanks. I didn't received updates so I plan to merge 7658 in the coming days. I will review your patch asap
Guest32 has joined #openocd
Guest32 has quit [Quit: Client closed]
Guest32 has joined #openocd
<Guest32> Hello, I have a problem with OpenOCD, maybe you can help me
<PaulFertser> Guest32: maybe
<Guest32> I have updated OpenOCD and it gives me the following error: 'cannot read IDR
<Guest32> "I'm using a Raspberry Pi to program an STM32F407
<PaulFertser> Guest32: can you please show full log via some pastebin?
<PaulFertser> Guest32: and also at least the verson that worked prior to upgrading.
<Guest32> I had version 0.10.0+dev-01241-gdadf46f-dirty (2020-05-13-15:58), and I updated to version 0.12.0+dev-00215-g4defa3b1e (2023-05-24-12:29)
<PaulFertser> Guest32: with the same config? Please run with -d3 and post the log.
<Guest32> yes, same config
<PaulFertser> Guest32: but you should be using upstream target config files normally.
<PaulFertser> Guest32: did you notice "User : 22 20 command.c:690 handle_echo(): Warn : TMS/SWDIO moved to GPIO 8 (pin 24). Check the wiring please!" ?
<Guest32> Config file: source [find interface/raspberrypi2-native.cfg]
<Guest32> transport select swd
<Guest32> set CHIPNAME stm32f407vgt6
<Guest32> source [find target/stm32f4x.cfg]
<Guest32> # did not yet manage to make a working setup using srst
<Guest32> #reset_config srst_only
<Guest32> reset_config srst_nogate
<Guest32> adapter_nsrst_delay 100
<Guest32> adapter_nsrst_assert_width 100
<Guest32> init
<Guest32> targets
<Guest32> reset halt
<Guest32> reset init
<Guest32> program /home/openocd/STM32_AIOBI.hex
<Guest32> reset
<Guest32> shutdown
<Guest32> Yes, I don't use that pin for anything, so the change shouldn't affect me
<PaulFertser> You do not really need all those commands before and after "program".
<PaulFertser> Guest32: huh, surely you need SWDIO for SWD to work?!
noarb has joined #openocd
Guest32 has quit [Quit: Client closed]
Guest32 has joined #openocd
<Guest32>  I am using the raspberrypi2-native.cfg configuration file.
<PaulFertser> Guest32: that doesn't answer my question.
Haohmaru has quit [Ping timeout: 265 seconds]
<Guest32> I am using pins 19, 21, and 23 for Reset, SWDIO, and SWCLK, respectively.
<Guest32> I'm going to retry it. I'll reinstall Raspbian bullseye on Raspberry Pi 3B+ and reinstall OpenOCD to see if it's a configuration issue.
gzlb has quit [Ping timeout: 264 seconds]
Guest32 has quit [Quit: Client closed]
gzlb has joined #openocd
PsySc0rpi0n has quit [Quit: Leaving]
shibboleth has joined #openocd
nerozero has quit [Ping timeout: 240 seconds]
peeps[work] has joined #openocd
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #openocd
shibboleth has quit [Quit: shibboleth]
gpol has joined #openocd
kraiskil has joined #openocd
wingsorc has joined #openocd
kraiskil has quit [Ping timeout: 240 seconds]
slobodan has joined #openocd
wingsorc has quit [Remote host closed the connection]
wingsorc has joined #openocd
slobodan has quit [Quit: Leaving]
peeps[work] has quit [Ping timeout: 265 seconds]
jybz has quit [Ping timeout: 265 seconds]
jybz has joined #openocd
jybz has quit [Ping timeout: 246 seconds]
jybz has joined #openocd