raspberrypi / pico-setup

92 stars 42 forks source link

openocd, typo and script #8

Closed artgodwin closed 3 years ago

artgodwin commented 3 years ago

Section A.6

src/openocd -f interface/picobrobe.cfg -f target/rp2040.cfg -s tcl

Of you copytype it you probably don't see it, but copy/paste don't work !

On Linux though, that only works if you're root / sudo : I guess it's the permissions on the USB device but I'm not actually sure what device the SWI interface is. The serial interface is fine - probably because I'm in the dialout group onm my desktop.

Probably needs a udev script and a reminder to set your groups. Not instructions to use sudo, please :)

lurch commented 3 years ago

The picobrobe.cfg typo was also spotted in https://github.com/raspberrypi/pico-feedback/issues/3 and has already been fixed in V1.1 of the PDFs :slightly_smiling_face: (latest version of the PDFs at the time-of-writing is V1.2)