How to set up Raspberry Pi Pico

How to Set Up Raspberry Pi Pico

Getting Started with Raspberry Pi Pico : Set Up Raspberry Pi Pico

Raspberry Pi Pico, the new breakout board for RP2040 microcontroller from Raspberry Pi foundation. In this tutorial, we are going to set up a Pico board for programming. Raspberry Pi Pico RP2040 microcontroller support both MicroPython and c/c++.

Raspberry Pi Pico can be programmed and reprogrammed in two ways either using the SWD (Serial Wire Debug Port) or we can use the USB mass storage device mode. For beginners using Raspberry Pi Pico, we recommend you use the USB mass storage device mode for programming. Simply drag and drop a file onto the Pico which appears as a mass storage device in your computer.

How to set up the Raspberry Pi Pico

Use the following steps to program Raspberry Pi Pico using USB mode

  1. Depower the Pico Board
  2. Press and hold the BOOTSEL button on the Pico (Boot selection button) and then power the board by connecting to your computer using a micro USB cable. Release the BOOTSEL button once the drive RPI-RP2 appears on your computer


    BOOTSEL Raspberry Pi Pico

    micro USB Port Raspberry Pi Pico

  3. Drag and drop the "UF2" file and drop it onto the USB mass storage device.
  4. The disk will now write that file to flash and restart the Pico Board , after this pico disappear from USB devices.

Based on which programming language you are choosing to program the Pico board, step 4 changes.

Getting Started with MicroPython

Micropython Download UF2 File for Micropython

Getting Started with C/C++

Blink an LED Raspberry Pi Pico Download the Blink UF2

What is a UF2 file ?

UF2 is a file format designed by Microsoft that stands for USB Flashing Format. This format was designed for PXT (also known as Microsoft MakeCode) and allows for programming boards over the Mass Storage Class (removable drive).

The BOOTSEL is short for boot selection, which switches Pico between two start-up modes when it is first turned on. The USB port can be used to access the USB bootloader (BOOTSEL mode) stored in the RP2040 boot ROM. The UF2 file contains the MicroPython firmware, this is a small file that contains MicroPython for Pico.

When we drag and drop the MicroPython firmware file onto Pico, the firmware is flashed onto its internal storage. Pico switches out of the special mode you put it in with the BOOTSEL button, flashes the new firmware, and then loads it - now your Pico is running MicroPython.

Note: The USB boot code is stored in ROM on RP2040, so can not be accidentally overwritten

The next blog post is about programming Raspberry Pi Pico. Stay tuned for more blogs and tutorials on Raspberry Pi Pico.

Comments (99)
  • ascsacasc - Jan 31, 2025

    https://uxfol.io/00206ca8
    https://uxfol.io/b87517ac
    https://uxfol.io/097f55dd
    https://uxfol.io/c2510705
    https://uxfol.io/d0922fbf
    https://www.resume.id/works/96bf0f9c5131557b
    https://www.resume.id/works/5b421177e2b0272a
    https://www.resume.id/works/8ca79678fe1c599e
    https://www.resume.id/works/87548be2eb6c7b33
    https://www.resume.id/works/dee3b933228938db
    https://www.resume.id/works/8167653cc6925052
    https://www.resume.id/works/c28c08e7f45e493a
    https://www.resume.id/works/dbe5691002ed23c9
    https://www.resume.id/works/7d306649cd3a8186

  • fsrwqrq - Jan 29, 2025

    https://github.com/la-pie-voleuse-le-francais-fr
    https://github.com/sing-sing-le-francais-fr
    https://github.com/nct-dream-le-francais-fr
    https://github.com/apprendre-le-francais-fr
    https://github.com/le-choix-du-pianiste-le-francais-fr
    https://github.com/le-jardin-zen-le-francais-fr
    https://github.com/julie-se-tait-le-francais-fr
    https://github.com/un-monde-violent-le-francais-fr
    https://github.com/jour-d-eclipse-le-francais-fr
    https://pastelink.net/8h3vclhf
    https://solo.to/morewebindexhtml
    https://open.firstory.me/story/cm6hyoqdi02t201sw32f25eyd
    https://about.me/morewebindexhtml/
    https://letterboxd.com/stream10hot/list/morewebindexhtml/
    https://findaspring.org/members/morewebindexhtml/
    https://www.wowace.com/paste/f10374bc
    https://profile.hatena.ne.jp/morewebindexhtml/
    https://app.daily.dev/posts/morewebindexhtml-my3t5gnl6
    https://ourclass.mn.co/posts/78851165
    https://fnote.net/notes/3RP6kt
    https://wlresources.dpi.wi.gov/groups/morewebindexhtml/719/
    https://wlresources.dpi.wi.gov/profile/7209
    https://groups.google.com/g/ngajaranya/c/q3vgwsxpU1A
    https://www.onlinegdb.com/OYgwnONu-
    https://sway.cloud.microsoft/alfj61kDt8kniiWK
    https://www.wattpad.com/1514173984-morewebindexhtml%0D
    h

  • grege - Jan 24, 2025

    https://github.com/VO-R-FI-M-Companion-St-eam-ng-2025-VF
    https://github.com/mameredieuetSylvievartan-go-vf
    https://github.com/lapampa-go-vf
    https://github.com/godsavethetuche-go-vf
    https://github.com/unenuitauzoo-go-vf
    https://knowt.com/note/2c75d3da-bd45-42a2-9d78-a0cef4970239/VOIR—Companion—
    https://knowt.com/note/a03acf27-5bc0-4898-b493-1b744bf314e8/TELEGRAP—Companion—
    https://knowt.com/note/c735f749-628e-4dcd-a4e2-a2db81c054e1/VOIR—Ma-Mre-Dieu-et-Sylvie-Vart
    https://knowt.com/note/c8f83eb0-f8c5-477e-943d-b9e584431aed/FILM-VOIR—Ma-Mre-Dieu-et-Sylvie
    https://knowt.com/note/32433d01-bd1c-4c6a-8ec4-d9de227f9d67/VOIR—La-Pampa—
    https://knowt.com/note/7fa6e15d-f442-4dfe-930c-233db6726d08/FILMs-VOIR—La-Pampa-Streaming-VF-et
    https://knowt.com/note/96387f99-7766-450e-afbe-3fa91912d234/VOIR—God-Save-the-Tuche-
    https://knowt.com/note/3d4ed70f-d3a2-4363-9087-b890aef8b0dc/FILM-VOIR—God-Save-the-Tuche-
    https://knowt.com/note/7e77bcff-1a64-444c-a785-36af7e4f7edd/VOIR—God-Save-the-Tuche-
    https://knowt.com/note/c359d503-6f44-4fcc-b9e7-5d28f2cc1f24/FILM-VOIR—God-Save-the-Tuche-
    https://glot.io/snippets/h3yx99k55w
    https://pastelink.net/l56rv009
    https://wokwi.com/projects/3284518008394

  • bapak kau salto - Jan 11, 2025

    https://github.com/karantina-film-izle-dublaj
    https://github.com/kardes-takimi-2-film-izle-dublaj
    https://github.com/Fateh-Filemzilla-tube-Subb-M
    https://github.com/daaku-maharaaj-Filemzilla-tube
    https://github.com/Santosh-Filemzilla-tube-Sub
    https://github.com/Emergency-Filemzilla-tube-Subb-M
    https://github.com/Azaad-Filemzilla-tube-Sub
    https://github.com/Mission-Grey-House-Filemzilla-tube-Sub
    https://github.com/hisaab-barabar-Filemzilla-tube-Sub
    https://github.com/sky-force-Filemzilla-tube-Sub
    https://github.com/Deva-Filemzilla-tube-Sub
    https://github.com/Baby-John-Filemzilla-tube-Sub
    https://github.com/Barroz-Filemzilla-tube-Sub
    https://github.com/Marco-Filemzilla-tube-Sub
    https://github.com/ustaad-bhagat-singh-Filemzilla-tube-Sub

    https://tinhte.vn/profile/superflix-mufasa-o-rei-leao-filme-completo.3269774/
    https://tinhte.vn/profile/superflix-sonic-3-o-filme-filme-completo.3269776/
    https://tinhte.vn/profile/superflix-o-auto-da-compadecida-2-filme.3271467/
    https://tinhte.vn/profile/superflix-chico-bento-e-a-goiabeira-maraviosa.3271476/
    https://tinhte.vn/profile/superflix-nosferatu-filme-completo.3271483/
    https://tinhte.vn/profile/superflix-moana-2-filme-completo.3271493/
    https:/

  • bapak kau salto - Jan 09, 2025

    https://view.genially.com/677db0429f140760e62e2027/interactive-content-
    https://view.genially.com/677e374fb6ec2b3779e67ae3/presentation-3-sonic-the-hedgehog-3
    https://upresenter.ai/page/AttackonTitanzh https://upresenter.ai/page/sonicthehedgehog3zh
    https://upresenter.ai/page/MufasaTheLionKingZH https://upresenter.ai/page/TheLastDanceZh
    https://upresenter.ai/page/DeathWhisperer2Thai https://upresenter.ai/page/LahnMahThai
    https://upresenter.ai/page/MufasaTheLionKingThai https://upresenter.ai/page/InYouthWeTrustThai
    https://upresenter.ai/page/SonictheHedgehog3Thai https://upresenter.ai/page/IsanNikahThai
    https://upresenter.ai/page/SquidGameMakingSeason2Thai https://upresenter.ai/page/MufasaElreyleonpelicula
    https://upresenter.ai/page/Nosferatupelicula https://upresenter.ai/page/Sonic3Lapelicula
    https://tinhte.vn/profile/guarda-sonic-3-il-film-2025-film-completo-ita.3268449/
    https://tinhte.vn/profile/guarda-mufasa-il-re-leone-2025-film-completo.3268454/
    https://tinhte.vn/profile/guarda-diamanti-2025-film-completo-ita.3268462/
    https://tinhte.vn/profile/guarda-nosferatu-2025-film-completo-ita.3268464/
    https://tinhte.vn/profile/guarda-oceania-2-2025-film-completo-ita.3268470

  • mina - Jan 04, 2025

    https://view.genially.com/6778695f977f9b1034243d28/interactive-content-assistir-hd-culpa-tuya-2024-filme-completo-dublado-em-portuguese
    https://view.genially.com/67786a63977f9b103424cd93/presentation-assistir-culpa-tuya-2024-hd-gratis-filme-completo-em-portuguese
    https://view.genially.com/67786b0134bacf6c4ea7ad48/presentation-assistir-sua-culpa-culpa-tuya-2024-filme-completo-dublado-em-hd
    https://view.genially.com/67786b7a977f9b103425697d/presentation-superflix-culpa-tuya-filme-completo-dublado-em-portugues
    https://view.genially.com/67786c040a7ef99cf4d8d4a1/presentation-culpa-tuya-2024-fime-competo-e-legedado-em-portgues-brasi
    https://view.genially.com/6778e6bf977f9b10344db8a9/presentation-assistir-hd-mufasa-o-rei-leao-2024-filme-completo-dublado-em-po
    https://view.genially.com/6778e76f34bacf6c4ed10aea/presentation-assistir-mufasa-o-rei-leao-2024-hd-gratis-filme-completo-em-por
    https://view.genially.com/6778e8000a7ef99cf4023681/presentation-assistir-mufasa-o-rei-leao-2024-filme-completo-dublado-em-hd
    https://view.genially.com/6778e8680a7ef99cf4024e93/presentation-superflix-mufasa-o-rei-leao-filme-completo-dublado-em-portugues
    https://view.genially.com/6778e8e934bacf6c4ed159b4/presentation-mufasa-o-rei-leao-2024-fime-competo-e-legedado-em-portgues
    https://view.genially.com/6778ebc7977f9b10344e9ac5/guide-assistir-hd-o-auto-da-compadecida-2-2024-filme-completo-dublado
    https://view.genially.com/6778ec41977f9b10344eb50a/guide-assistir-o-auto-da-compadecida-2-2024-hd-gratis-filme-completo-e
    https://view.genially.com/6778ecbb34bacf6c4ed20330/guide-assistir-o-auto-da-compadecida-2-2024-filme-completo-dublado-em-h
    https://view.genially.com/6778ed37977f9b10344eefac/guide-superflix-o-auto-da-compadecida-2-filme-completo-dublado-em-portugu
    https://view.genially.com/6778eda70a7ef99cf403237f/guide-o-auto-da-compadecida-2-2024-fime-competo-e-legedado-em-port
    https://view.genially.com/6778ef08977f9b10344f70dd/presentation-assistir-hd-babygirl-2025-filme-completo-dublado-em-portuguese
    https://view.genially.com/6778ef6b34bacf6c4ed27571/presentation-assistir-babygirl-2025-hd-gratis-filme-completo-em-portuguese
    https://view.genially.com/6778efcc0a7ef99cf4036243/presentation-assistir-babygirl-2025-filme-completo-dublado-em-hd
    https://view.genially.com/6778f043977f9b10344fd56e/presentation-superflix-babygirl-filme-completo-dublado-em-portugues
    https://view.genially.com/6778f094977f9b10344fe9c3/presentation-babygirl-2025-fime-competo-e-legedado-em-portgues-brasil
    https://view.genially.com/6778f16b34bacf6c4ed2c8fe/presentation-assistir-hd-solo-leveling-segundo-despertar-2024-filme-completo
    https://view.genially.com/6778f2f8977f9b10345084de/presentation-assistir-solo-leveling-segundo-despertar-2024-filme-completo-dub
    https://view.genially.com/6778f357977f9b103450a169/presentation-superflix-solo-leveling-segundo-despertar-filme-completo-dublado-e
    https://view.genially.com/6778f3e1977f9b103450c4bb/presentation-solo-leveling-segundo-despertar-2024-fime-competo-e-legedado
    https://view.genially.com/6778f43c34bacf6c4ed329ff/presentation-asistir-solo-leveling-segundo-despertar-2024-f-c
    https://in.gls-spain.es/photos/view-1
    https://forojoven.ugt.es/photos/view
    https://findaspring.org/members/helenakim000002/
    https://solo.to/capitermoi
    https://heylink.me/mmino01015
    https://app.daily.dev/posts/view-fl8nzalvt?userid=oFYvvnB5uPhae7cwhdEOy&cid=share_post
    https://profile.hatena.ne.jp/kimyhime/profile
    https://about.me/bioone
    https://muckrack.com/capitermoi-capitermoi/bio
    https://rentry.co/e4g22uyu
    https://pastelink.net/ebhxlkxr
    https://www.pastery.net/kbtafv/
    https://paste.centos.org/view/b0b61078
    https://paiza.io/projects/mvDRwSIQWeYuV_eRd0mH8A?language=php
    https://rextester.com/MXFM77768
    https://telegra.ph/View-01-04-13
    https://pastebin.com/iGLpVHNB
    https://jsbin.com/dilizef/edit?html
    https://paste.feed-the-beast.com/view/38d6edca
    https://wokwi.com/projects/419155444627577857
    https://notes.io/wN4Nb
    https://paste4btc.com/O749fFIx
    https://dictanote.co/n/1145721/
    https://paste.intergen.online/view/0c66bba3
    https://glot.io/snippets/h3cxvnixoq
    https://justpaste.it/dpic6
    https://paste.enginehub.org/3Rgx4roNq
    https://www.deviantart.com/elinaadh80/journal/View-1142415042

  • pmgfwotp एफटीएसआईएफईएचआई - Jan 02, 2025

    https://tinhte.vn/profile/du-hnang-waihhttps://tinhte.vn/profile/tr-2024-tur-rehberi-full-izle-2025.3264648/
    https://tinhte.vn/profile/tur-rehberi-izle-2025-full-movie.3264650/
    https://tinhte.vn/profile/tr-2025-hueddam-5-zuhur-full-izle.3264652/
    https://tinhte.vn/profile/hueddam-5-zuhur-2025-tuerkce-full-film.3264653/
    https://tinhte.vn/profile/aci-kahve-2025-full-izle-hd.3264654/
    https://tinhte.vn/profile/aci-kahve-tuerkce-dublaj-2025-hd-quality.3264655/
    https://tinhte.vn/profile/mufasa-aslan-kral-2024-full-izle-tuerkce-dublaj.3264657/
    https://tinhte.vn/profile/mufasa-aslan-kral-2024-tuerkce-dublaj.3264658/
    https://tinhte.vn/profile/squid-game-2-full-episodes-tuerkce-altyazili.3264660/
    https://tinhte.vn/profile/squid-game-2-tam-boeluemler-tuerkce-altyazili.3264661/
    https://pastelink.net/2teazyv2
    https://rentry.co/ny2a8vp8
    https://paste.ee/p/5cahp
    https://www.wowace.com/paste/0332c76e
    https://notes.io/wNzP2
    https://www.pastery.net/ttgtna/
    https://paste.thezomg.com/269839/35837904/
    https://anotepad.com/notes/ee3pkqak
    https://pastebin.com/YD4Y8VRv

  • hrxckqup एससीजेएनआईसीडब्ल्यूएम - Dec 31, 2024

    https://tinhte.vn/profile/du-hnang-waihnum-2544-2024-etmerong-uhd.3256960/
    https://tinhte.vn/profile/hnang-waihnum-2544-hd-2024-etmerong-thai.3256963/
    https://tinhte.vn/profile/2024-1080p.3256973/
    https://tinhte.vn/profile/2024-1080p.3256997/
    https://tinhte.vn/profile/rafadan-tayfa-kapadokya-2024-full-izle.3257011/
    https://tinhte.vn/profile/tr-2024-rafadan-tayfa-kapadokya-full-izle.3257016/
    https://pastelink.net/j0eqpqo8
    https://rentry.co/5yq52gyo
    https://paste.ee/p/8la0V
    https://www.wowace.com/paste/a593497d
    https://notes.io/wNpNu
    https://www.pastery.net/tzrgvx/
    https://paste.thezomg.com/268830/35628670/
    https://anotepad.com/notes/6ajmjj3j
    https://pastebin.com/uKep5phF

  • rscgmuqi आईओएक्सएफटीडीएनएच - Dec 29, 2024

    https://tinhte.vn/profile/tro-choi-con-muc-tap-1-2-vietsub-motchill-online.3250927/
    https://tinhte.vn/profile/squid-game-mua-2-full-tap-vietsub-motchill.3250936/
    https://tinhte.vn/profile/xem-squid-game-phan-2-full-tap-vietsub-motchill.3250940/
    https://tinhte.vn/profile/tro-choi-con-muc-s2-tap-3-2×3-vietsub.3250947/
    https://tinhte.vn/profile/squid-game-phan-2-full-tap-vietsub-online.3250949/
    https://tinhte.vn/profile/culpa-tua-2024-assistir-online-gratis.3255247/
    https://tinhte.vn/profile/assistir-culpa-tua-2024-filme-completo-dublado.3255255/
    https://tinhte.vn/profile/pt-br-culpa-tua-filme-completo-hd-1080p.3255262/
    https://tinhte.vn/profile/culpa-tua-2024-review-assistir-online-gratis.3255265/
    https://pastelink.net/4nithdjs
    https://rentry.co/vtovkg86
    https://paste.ee/p/cxMUi
    https://www.wowace.com/paste/894dc878
    https://notes.io/wMQFZ
    https://www.pastery.net/qdguks/
    https://paste.thezomg.com/268413/17354966/
    https://anotepad.com/notes/rqf5dy79
    https://pastebin.com/aZkCwrKB

  • uhpobecy आरएमएचसीजीजीबीबी - Dec 27, 2024

    https://tinhte.vn/profile/tro-choi-con-muc-tap-1-2-vietsub-motchill-online.3250927/
    https://tinhte.vn/profile/squid-game-mua-2-full-tap-vietsub-motchill.3250936/
    https://tinhte.vn/profile/xem-squid-game-phan-2-full-tap-vietsub-motchill.3250940/
    https://tinhte.vn/profile/tro-choi-con-muc-s2-tap-3-2×3-vietsub.3250947/
    https://tinhte.vn/profile/squid-game-phan-2-full-tap-vietsub-online.3250949/
    https://pastelink.net/axixs1v7
    https://rentry.co/icger5t3
    https://paste.ee/p/XXbrn
    https://www.wowace.com/paste/30af83e3
    https://notes.io/wMSgg
    https://www.pastery.net/dtecmz/
    https://paste.thezomg.com/267303/53216401/
    https://pastebin.com/GLWFDEzn

Showing 51 - 60 of 99 items

Leave a comment