#I don't have windows, trying to use the picoprobe

1 messages · Page 1 of 1 (latest)

torpid bison
#

How can I interact with the picoprobe via linux? I installed the openocd package for my distro. Also, I have a segger j-link lite, would that be a better device to use?

heavy adder
#

The command should be similar for Linux

#

Do you have a Raspberry Pico ?

#

Then open a terminal into the extracted folder

#

Oh, it's in Windows format

#

So download directly openocd from xpm

#
sudo npm install -y -global xpm@latest
xpm install --global @xpack-dev-tools/openocd@latest
#

Then this command (for unlock.bat) : /home/neo/.local/xPacks/@xpack-dev-tools/openocd/0.12.0-2.1/.content/bin/openocd -f "./OpenOCD/share/openocd/scripts/interface/picoprobe.cfg" -f "./OpenOCD/share/openocd/scripts/target/stm32f7x.cfg" -c "init" -f "testunlock.run" -c "exit"

#

If it complain about Picoprobe not found, you can try this instead : /home/neo/.local/xPacks/@xpack-dev-tools/openocd/0.12.0-2.1/.content/bin/openocd -f ./OpenOCD/share/openocd/scripts/interface/cmsis-dap.cfg -f ./OpenOCD/share/openocd/scripts/target/stm32f7x.cfg -c "init" -f testunlock.run -c "exit"

torpid bison
#

adafruit pico with less pins

torpid bison
heavy adder
torpid bison
#

that’s only if you installed it wrong

#

proper installation of npm should allow global packages without sudo

heavy adder
#

I installed it using pacnan, as a dependency from Node

torpid bison
#

is that an arch setup?

heavy adder
#

Yes

torpid bison
#

Sweet, what desktop you use

heavy adder
#

I use GNOME, because I don't want to spend too much time with the GUI if it's already working

torpid bison
#

that’s fair I do too

#

anyway back on topic

#

will the kb2040 work if i wire to the spi0 pins?

#

or do I have to change some things

heavy adder
#

I don't know, I will search on Internet

torpid bison
#

i’m real mad at myself, my calculator came unlocked and I installed phi, but then I thought i messed something up when i hadn’t and used the numworks recovery page and locked it

#

Hopefully I can get it back though haha

heavy adder
#

If I have read the pinout correctly, it should work with a kb2040