I have implemented the udev rule as you guys told me about before. And now that I've gotten back into Pico I've noticed this issue. With the udev rule implemented, the call to picotool fails on the first attempt, but works fine after that. With "sudo" on the commands it succeeds on all attempts, even the first. I'm unplugging the device to create a "first attempt". And I don't think it matters, but I'm using a RP2040 - Zero clone. The Device and Product IDs do check out as 2e8a and 000a.
Code:
#!/bin/bashpicotool reboot -f -u && sleep 1find ./ -name "*.uf2" -execdir picotool load "{}" \; && sleep 1picotool reboot -f -a
Code:
#!/bin/bashsudo picotool reboot -f -u && sleep 1find ./ -name "*.uf2" -execdir sudo picotool load "{}" \; && sleep 1sudo picotool reboot -f -a
Statistics: Posted by Mike**K — Tue Oct 08, 2024 6:30 pm — Replies 0 — Views 41