I can successfully write and download a sketch to my Raspberry pi pico but only if I hold down the bootsel button and insert the usb cable just prior to the compile/upload from the IDE. There are no ports showing up that I can select (ports is greyed out) and therefore I also can't get the serial output working. Everything I read says I should be able to see/select a port (as I can when I use my Arduino boards). I'm running windows 8 and I think I might be missing a driver but the only ones I can find are related to micropython (which I don't want to use). I also shouldn't have to use the bootsel button every time I want to upload a sketch.
I found the correct windows driver for the pico in another post and it immediately fixed the problem.
Hey there! I have the same issues I've got like yours can you give me the link you've found for the fix? Cheers!
Here's the link. You need to do steps 1-5 + what it says about the bootsel in "Uploading Sketches" + "Windows 7 Driver Notes". You will have slightly different things in the Zadig 2.7 window but make sure you select USB Serial. For me I think it showed Raspberry Pico instead of Board CDC (Interface 0). I have Windows 8 and this driver worked fine.
https://arduino-pico.readthedocs.io/en/latest/install.html#windows-7-driver-notes
Thank you, I've tried that but uninstalling the driver by zadig was very hard, once I've installed the usb serial driver from Zadig the dummy volume that raspberry pico was not showing, is that normal or it's just my unit. I wanted to be flxible and able to use my pico for other stuffs like using micropython or arduino
Once you use the new driver to make the Arduino IDE work, the Pico will show up as a COMM port (which you have to select in the IDE). It will no longer show up as a USB disk drive. Are you able to select the COMM port it's on the Arduino IDE (under "Tools", "Port") and upload a sketch?
As for micropython, I looked into it for a bit but then decided I just wanted to stick to C/C++ and assemble programming using the Arduino IDE … therefore I can't help you much with the setup of that. To make the disk drive reappear on your PC I think you just need to hold down the BOOTSEL button while you plug in the USB.
https://circuitpython.org/board/raspberry_pi_pico/: "Inside the RP2040 is a ‘permanent ROM’ USB UF2 bootloader. What that means is when you want to program new firmware, you can hold down the BOOTSEL button while plugging it into USB (or pulling down the RUN/Reset pin to ground) and it will appear as a USB disk drive you can drag the firmware onto. "
Here's a video on "CircuitPython with Raspberry Pi Pico - Getting Started" (No micropython but maybe just as interesting?). https://www.youtube.com/watch?v=07vG-_CcDG0&ab_channel=DroneBotWorkshop
|
CircuitPython with Raspberry Pi Pico - Getting Started
Build a Keyboard and Mouse Emulator, make a rainbow with RGB LEDs, and work with a microSD card - all with CircuitPython on a Raspberry Pi Pico!Article with ...
www.youtube.com
|
- | - |
I give up from using the Arduino IDE, because of this issue I always need to click bootsel every time I upload. I switched to PlatformIo. By inserting this custom "upload_command" in the platform.ini. Makes uploading easier .
upload_command = timeout 1^ copy .pio\build\pico\firmware.uf2 D:\
By the way, regarding to uploading from Arduino IDE yes it was showing while the program was running in PICO but when I was on the bootsel mode the PICO was not detected, I still not performing the Zadig I was being afraid of not accessing the bootsel virtual drive again for drag and drop. Thank you for help. Python based programming was more popular now for pico but still c/c++ are still the king for efficiency and speed but not all libraries for arduino are not supported which is sad.
I'm really glad you found a way to make it work for you. What worked for me might not work for you because of differences in our home lab setup. Best of luck from Canada!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.