Search found 7 matches

by garnold
Wed Mar 17, 2021 12:27 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 22
Views: 25535

Re: Cannot get access to /dev/ttyACM0

From the screenshot I see that you have older Thonny, which doesn't know about Pico. The "MicroPython (generic)" back-end together with the port it's showing, should work, though. If you want newer Thonny, then you can `apt remove thonny` and install a Thonny+Python bundle with following command: b...
by garnold
Fri Mar 12, 2021 2:47 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 22
Views: 25535

Re: Cannot get access to /dev/ttyACM0

It seems as though Thonny does see this port but simply does not have the Raspberry Pi Pico in the interpreter list. See the attached image.
Screenshot from 2021-03-11 21-40-15.png
Screenshot from 2021-03-11 21-40-15.png (153.67 KiB) Viewed 17549 times
by garnold
Fri Mar 12, 2021 2:32 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 22
Views: 25535

Re: Cannot get access to /dev/ttyACM0

After typing in your commands, here is the response. Python 3.8.5 (/usr/bin/python3) >>> import serial.tools.list_ports as lp >>> lp.main() /dev/ttyACM0 1 ports found >>> serial.__version__ Traceback (most recent call last): File "<pyshell>", line 1, in <module> NameError: name 'serial' is not defin...
by garnold
Thu Mar 11, 2021 2:14 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 22
Views: 25535

Re: Cannot get access to /dev/ttyACM0

Very sorry for all the posts. So I decided to give a NodeMCU a try. Flashed just fine and I was able to connect to it perfectly from Thonny. I picked the ESP8266 interpreter and the serial port was in the drop down list. Not sure what's up with the Pico. I was able to program it just fine when I was...
by garnold
Thu Mar 11, 2021 1:01 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 22
Views: 25535

Re: Cannot get access to /dev/ttyACM0

If you add your user to the dialout group then you should have permissions: usermod -a -G dialout $USER After doing that you'll need to at least logout, perhaps reboot. Use the id command to verify that dialout appears in the list of groups. OK, well apparently a complete reboot was required to get...
by garnold
Thu Mar 11, 2021 12:17 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 22
Views: 25535

Re: Cannot get access to /dev/ttyACM0

Thank you for your reply. I've tried this with no success. I have logged out and back in to test. I have not completely rebooted and will give that a try to rule that out.
by garnold
Wed Mar 10, 2021 10:45 pm
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 22
Views: 25535

Cannot get access to /dev/ttyACM0

I'm trying to program a Pico with Thonny. When I look in the interpreter list inside of Thonny I do not see the Pico as an option. After following some very helpful guides on the web I have learned that this is some kind of permissions thing. I've been able to get access to the Pico via the REPL and...