Preloader
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 (564)
  • pqmjahhc एमईएसएफएलएनएनयू - Dec 11, 2024

    https://pastebin.com/typJAH8a
    https://lebanonhub.app/blogs/60498/yaakin-saja-cuy-optimis
    https://forum.daoyidh.com/topic/8254/jhaamalnurshodik
    https://forum.instube.com/d/194166-bhanana-nana
    https://forum.thecodingcolosseum.com/topic/24491/bhuana-nana
    https://web3devcommunity.com/topic/43736/yakinkan-cintamu
    https://matters.town/a/klyolqawibyj
    https://www.dununu.com/adrianosauza
    https://jsfiddle.net/vyeqmgzb/

  • yrucdbui जेडवाईजेडब्ल्यूएमएमएक्सडब्ल्यू - Dec 11, 2024

    https://pastelink.net/aje1mr89
    https://rentry.co/aqqui6sr
    https://wow.curseforge.com/paste/70b424b8
    https://paste.ee/p/h24pF
    https://www.wowace.com/paste/87fb77fe
    https://notes.io/w9xj6
    https://www.pastery.net/svqkdv/
    https://paste.thezomg.com/258094/73389170/
    https://anotepad.com/notes/j5sy5itk

  • lexxogym डब्ल्यूएनपीसीओकेजेई - Dec 11, 2024

    https://tinhte.vn/profile/assistir-sting-aranha-assassina-filme-completo-br.3211683/
    https://tinhte.vn/profile/assistir-sting-aranha-assassina-online-dublado.3211695/
    https://tinhte.vn/profile/sting-aranha-assassina-completo-online-gratis.3211701/
    https://tinhte.vn/profile/assista-sting-aranha-assassina-dublado-legendado.3211710/

  • wqzwqwcd एफजीयूईयूडीवाईयू - Dec 11, 2024

    https://www.wikiart.org/en/john-constable/assistir-kraven-o-cacador-2024-online-dublado-em-portugues-1781
    https://www.wikiart.org/en/john-constable/assistir-filme-kraven-o-cacador-2024-completo-online-gratis-1783
    https://www.wikiart.org/en/john-constable/assistir-kraven-o-cacador-2024-online-dublado-e-legendado-1785

  • cabiwbmb एलक्यूआरक्यूएफएचडब्ल्यूई - Dec 11, 2024

    https://www.wikiart.org/en/john-constable/assistir-filme-sting-aranha-assassina-2024-completo-online-gratis-1785
    https://www.wikiart.org/en/john-constable/assistir-sting-aranha-assassina-2024-online-dublado-e-legendado-1785
    https://www.wikiart.org/en/john-constable/assistir-kraven-o-cacador-2024-filme-completo-online-dublado-1805

  • pcknyjzw पीआईएफएमएचडीपीजेड - Dec 11, 2024

    https://www.wikiart.org/en/john-constable/assistir-cabrini-2024-filme-completo-online-dublado-e-legendado-em-portuguese
    https://www.wikiart.org/en/john-constable/assistir-sting-aranha-assassina-2024-filme-completo-online-dublado
    https://www.wikiart.org/en/john-constable/assistir-sting-aranha-assassina-2024-online-dublado-em-portugues-1825

  • nzixrpij ओजीयूएमईएलआरएफ - Dec 11, 2024

    https://www.wikiart.org/en/john-constable/assistir-filme-cabrini-2024-completo-online-dublado-e-legendado-em-portuguese
    https://www.wikiart.org/en/john-constable/assistir-cabrini-2024-online-dublado-completo-em-portugues
    https://www.wikiart.org/en/john-constable/assistir-filme-cabrini-2024-completo-online-dublado-e-legendado-gratis

  • czuqfytc एनएक्सटीडब्ल्यूटीएएनएच - Dec 10, 2024

    https://www.pastery.net/ujsguk/
    https://wow.curseforge.com/paste/a1fb9417
    https://www.adpost4u.com/for-sale/dvd/844235/rwerwed
    https://paste.thezomg.com/257793/79542517/
    https://pastelink.net/i3hq2jxn
    https://tinhte.vn/profile/when-the-phone-rings-tap-5-vietsub-tap-6-7.3211233/
    https://paste.ee/p/QICcP
    https://notes.io/w9f4c
    https://rentry.co/pyhbvq3h
    https://tinhte.vn/profile/5015-xem-when-the-phone-rings-tap-5-vietsub.3211236/
    https://forum.thecodingcolosseum.com/topic/24269/rweredw
    https://tinhte.vn/profile/hanh-tinh-cat-loi-tien-tri-tap-4-5-6-vietsub.3211224/
    https://forum.instube.com/d/193314-erfwesds
    https://forum.daoyidh.com/topic/8096/erterdfc
    https://pastebin.com/nqEKKv7K
    https://www.wowace.com/paste/5fbec019
    https://web3devcommunity.com/topic/43558/rdwgfes
    https://anotepad.com/notes/ymkwsnyq
    https://tinhte.vn/profile/hanh-tinh-cat-loi-tien-tri-tap-5-vietsub-tap-6-7.3211227/

  • nhgeifhm टीजेडईएचटीक्यूआईपी - Dec 09, 2024

    https://anotepad.com/notes/anqh7n4g
    https://www.wowace.com/paste/efbfbae0
    https://www.pastery.net/fgyukh/
    https://forum.instube.com/d/193130-rwrewf
    https://rentry.co/3d8utxkh
    https://forum.daoyidh.com/topic/8048/grwqrwed
    https://www.adpost4u.com/for-sale/dvd/844132/grre
    https://notes.io/w9aPg
    https://wow.curseforge.com/paste/c9da3f19
    https://pastebin.com/wEsnwEvL
    https://www.hebergementweb.org/threads/rgwedwe.2102793/
    https://pastelink.net/opq8tm2q
    https://demo.evolutionscript.com/forum/topic/435-fweds
    https://paste.thezomg.com/257726/73375122/
    https://web3devcommunity.com/topic/43487/gqwswd
    https://tinhte.vn/profile/6683-xem-light-shop-tap-5-vietsub-tap-6.3209718/
    https://tinhte.vn/profile/light-shop-tap-5-6-7-vietsub-9119480.3209711/
    https://forum.thecodingcolosseum.com/topic/24191/rewsd
    https://paste.ee/p/hiTuG

  • moozolln ईएमएचएनवाईडब्ल्यूजेडबी - Dec 09, 2024

    https://tinhte.vn/profile/khi-dien-thoai-do-chuong-tap-5-6-vietsub-motchill.3209230/
    https://tinhte.vn/profile/when-the-phone-rings-tap-5-6-vietsub-motchill.3209243/
    https://tinhte.vn/profile/khi-dien-thoai-do-chuong-tap-5-6-vietsub.3209249/
    https://tinhte.vn/profile/light-shop-tap-1-2-3-vietsub-motchill.3209265/
    https://tinhte.vn/profile/light-shop-tap-5-6-7-vietsub-motchill.3209274/
    https://tinhte.vn/profile/assistir-amor-da-minha-vida-ep-10-dublado-online.3209356/
    https://tinhte.vn/profile/asisstir-amor-da-minha-vida-full-episodio-online.3209367/
    https://tinhte.vn/profile/2024-taiwan.3209384/
    https://tinhte.vn/profile/ver-solo-leveling-reawakening-2024-pelicula.3209401/
    https://tinhte.vn/profile/ver-solo-leveling-reawakening-pelicula-completa.3209407/

Showing 531 - 540 of 564 items

Leave a comment