Uploading sketches
With the programming environment setup, it's time to upload a sketch.
Configuring upload parameters
- Open the Arduino IDE and ensure the follow parameters are set under
Tools
Board: -> Raspberry Pi Pico
Flash Size: -> 2MB no FS
CPU Speed: -> 125MHz
Debug Port -> Disabled
USB Stack -> Pico SDK
PORT:
Leave the port blank for the first upload - it will be set later
Uploading
- Open the Arduino IDE
- Open an example using
File -> Examples -> Thumby -> ThumbySimpleExample
- Put Thumby into BOOTSEL mode:
- Turn Thumby off
- Press and hold the down d-pad direction
- Turn Thumby on while continuing to hold the down d-pad direction
- Wait for a file explorer to pop up on the computer or for the "RPI-RP2" volume to automatically mount
- Click "Upload" in the top left of the IDE and wait for the "Done uploading" message above the console
- Select
Tools -> Port: -> XXX(Raspberry Pi Pico)
(select the port marked as a pico)
If successful, the Thumby will start showing something other than a black screen. The above process only needs to be done on the first time connecting a Thumby or if an error like "No drive to deploy" occurs.