<Duality>
I am having an issue trying to flash a rp2040 using openocd
<Duality>
I am using a segger jlink and this command is find it start it listens says it found the core: src/openocd -f interface/jlink.cfg -c "transport select swd" -c "adapter speed 1000" -c "bindto 0.0.0.0" -f target/rp2040.cfg -s tcl
<PaulFertser>
Duality: hi
<PaulFertser>
Duality: I suggest you use some pastebin to show full logs
<Duality>
but this command won't work for some reason: src/openocd -f interface/jlink.cfg -c "transport select swd" -c "adapter_khz 6000" -f target/rp2040.cfg -c "program blink.elf reset exit"
<PaulFertser>
The command looks sane, I'd need to say the log to probably tell something useful.
<Duality>
where does openocd store its logs
<Duality>
i also tried -c "log_output /tmp/openocd.log" this is what it says: https://termbin.com/zqw1o
<PaulFertser>
Duality: stdout is ok, you just copy from your terminal emulator.
<PaulFertser>
Duality: you've forgotten -s tcl I guess
<PaulFertser>
Duality: since you're running from source tree and not installing it the regular way.
<Duality>
do you need that even to just flash it
<PaulFertser>
Duality: how is it supposed to find any config files when it's not installed to the destination location?