Mastering Pico Programming With Raspberry Pi 5: Rpi Os And Ubuntu Guide | drjonea.co.uk
ฝัง
- เผยแพร่เมื่อ 30 พ.ค. 2024
- Video Sponsor: PCBWay www.pcbway.com/
I've had some reports of issues developing for the Pico from the Raspberry PI 5. Having finally got hold of RPI5 I investigate in this Video.
Setting up using the quick setup approach on Raspberry PI OS is straightforward. Ubuntu requires the installation of two prerequisite packages: raspi-config and pkg-config
I ran into no problems with the build process or bootsel flashing. SWD flashing via a Raspberry PI Debug probe fails through on both Raspberry PI OS and Ubutnu. This is due to a missing udev rule. Create file /etc/udev/rules.d/80-pico.rules containing:
SUBSYSTEM=="usb",ATTR{idVendor}=="2e8a",ATTR{idProduct}=="000c",MODE="666”
and then reboot
If you are getting started into developing for the Pico then do check out my Introduction course over on Udemy: www.udemy.com/course/introduc...
For a short time only use this discount voucher: www.udemy.com/course/introduc...
Sponsor: PCBWay: www.pcbway.com/ PCB prototyping, assembly, 3D printing, CNC, sheet metal fabrication and injection moulding. - วิทยาศาสตร์และเทคโนโลยี
Thank you very much for your very informative and instructive contributions. I have just tried the example with the two parallel stdio. Unfortunately, programming via the Raspberry Pi Debug Probe (CMSIS-DAP) did not work.
I use Ubuntu in a virtual box. After some research I found out that the entry in the rules should be slightly different. Namely:
SUBSYSTEM=="usb",ATTR{idVendor}=="2e8a",ATTR{idProduct}=="000c",MODE="666”,OWNER:="YourUserName"
od
SUBSYSTEM=="usb",ATTR{idVendor}=="2e8a",ATTR{idProduct}=="000c",MODE="666”,GROUP:="somegroupname"
YourUserName or somegroupname must be adapted to your specific circumstances
That interesting thank you for sharing. Yes the rule I explain was just for a RPI5.