NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
Guest43 has quit [Quit: Client closed]
tsal has quit [Ping timeout: 265 seconds]
tsal has joined #openocd
nerozero has joined #openocd
Hawk777 has joined #openocd
youthpastor has quit [*.net *.split]
shoragan has quit [*.net *.split]
Steffanx has quit [*.net *.split]
postal_blab has quit [*.net *.split]
phr3ak has quit [*.net *.split]
Yamakaja has quit [*.net *.split]
dinkelha1 has quit [*.net *.split]
postal_blab_ has joined #openocd
youthpastor has joined #openocd
Steffanx has joined #openocd
Yamakaja has joined #openocd
shoragan has joined #openocd
shoragan has joined #openocd
shoragan has quit [Changing host]
dinkelha1 has joined #openocd
Yamakaja has joined #openocd
Yamakaja has quit [Changing host]
phr3ak has joined #openocd
indy has quit [Ping timeout: 240 seconds]
indy has joined #openocd
Guest35 has joined #openocd
Haohmaru has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Guest35 has quit [Quit: Client closed]
PsySc0rpi0n has joined #openocd
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 246 seconds]
PsySc0rpi0n has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 240 seconds]
PsySc0rpi0n has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 246 seconds]
PsySc0rpi0n has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 240 seconds]
PsySc0rpi0n has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 240 seconds]
PsySc0rpi0n has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Foxyloxy_ has joined #openocd
tchebb_ has joined #openocd
tchebb has quit [Ping timeout: 265 seconds]
Foxyloxy has quit [Ping timeout: 265 seconds]
kilobyte_ch has quit [Ping timeout: 265 seconds]
NishanthMenon has quit [Ping timeout: 265 seconds]
jacob_ has quit [Ping timeout: 265 seconds]
jacob_ has joined #openocd
kilobyte_ch has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 248 seconds]
PsySc0rpi0n has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 240 seconds]
PsySc0rpi0n has joined #openocd
NishanthMenon has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 240 seconds]
PsySc0rpi0n has joined #openocd
PsySc0rpi0n has quit [Remote host closed the connection]
PsySc0rpi0n has joined #openocd
tchebb_ has quit [Ping timeout: 246 seconds]
tchebb has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 240 seconds]
PsySc0rpi0n has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Hawk777 has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
Willmish has joined #openocd
tchebb_ has joined #openocd
tchebb has quit [Ping timeout: 250 seconds]
<Willmish> Hey, i am currently working on a project on a QuickFeather board with EOS S3 SoC (which has an ARM Cortex M4-F). i am trying to reflash its bootloader with OpenOCD (as the one it came with is broken), however when I connect to the gdb server and issue `monitor program` command it fails, and it looks like only part of the flash commands are
<Willmish> available (flash bank, flash banks, flash init, flash list) and none of the other writing commands are available. I believe this is due to an incomplete target/eos_s3.cfg definition (https://sourceforge.net/p/openocd/code/ci/master/tree/tcl/target/eos_s3.cfg) . Is anyone able o point me in the right direction ? I am relatively new to Openocd so
<Willmish> feels like im falling deeper and deeper in the rabbit hole hah
<PaulFertser> Willmish: hi
<PaulFertser> Willmish: OpenOCD is lacking the flash driver for that chip.
<PaulFertser> Willmish: but there's a patch to try: https://review.openocd.org/c/openocd/+/6956
<Willmish> hm, is this something that is possible for someone like me to add? (I only have a STLINK v2 with me, so would need to probably buy JLINK somehow)
<Willmish> ooh
<PaulFertser> Willmish: no reason it shouldn't work now, and also you can take over the patch and finally make upstream accept it by rebasing it on current master, testing and nagging the maintainers :)
<PaulFertser> No need for jlink, no.
<Willmish> PaulFertser: oh that is super good news, definitely a much better direction to go towards than trying to compare configs with other boards and reading what every line with "flash" related word is
<PaulFertser> Willmish: you're on the right IRC channel now :)
<Willmish> Ok, will grab some dinner and try and rebase the patch with most recent version then, wish me luck :D
<PaulFertser> Willmish: sure I do :)
<PaulFertser> Willmish: ping me if you get stuck
<Willmish> will do! really glad I decied to find the IRC before spending 3 more hours going in the wrong direction!
Haohmaru has quit [Ping timeout: 250 seconds]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 265 seconds]
bluemeanie23 has joined #openocd
bluemeanie23 has quit [Remote host closed the connection]
bluemeanie23 has joined #openocd
bluemeanie23 has quit [Remote host closed the connection]
bluemeanie23 has joined #openocd
bluemeanie23 has quit [Remote host closed the connection]
nerozero has quit [Ping timeout: 240 seconds]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 240 seconds]
ormaaj has quit [Remote host closed the connection]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<maribu[m]> Sorry for nagging again about https://review.openocd.org/c/openocd/+/5584 - is there anything I could do to push that patch forward? I really would love to cross that one in my todo list :)
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<Willmish> PaulFertser: pushing this forward, got the project built and fixed main merge conflicts, now it seems that the function for communication with flash over SPI is buggy, as on probing the SoC its not returning a proper Flash device ID (getting an error: Error: Unknown flash device (ID 0x00000000) ). Have some reference code for this SPI probe from
<Willmish> quicklogic's FreeRTOS fork (https://github.com/QuickLogic-Corp/qorc-sdk/blob/6968338b8778cb129ae441f6944444c9a1298390/Libraries/SysFlash/src/spi_flash.c#L1048 vs https://review.openocd.org/c/openocd/+/6956/1/src/flash/nor/eoss3.c#294 ), so hopefully this will prove enough for me to debug it. In the meantime, can I push these changes somehow to a
<Willmish> draft PR? Haven't worked with Gerrit before so unsure.
<PaulFertser> Willmish: I suggest you get it working first at least to some degree
<PaulFertser> Willmish: then just --amend the commit keeping the Change-Id intact, and push it to Gerrit, it'll be created as a new changset.
<Willmish> Cool, sounds good
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<borneoa__> maribu[m]: queued in my "next" branch. If no other reviews, I will merge it in two weeks
Willmish has quit [Ping timeout: 245 seconds]