Updated Quick start guide (Windows) (markdown)

Gabriel Koppenstein committed 2022-08-05 21:23:02 +02:00
1 parent 57f749aa6a
commit 8634e9bfd0
1 file changed
+19 -1
+19 -1
@@ -1 +1,19 @@
1.
1. Connect Raspberry Pi Pico via USB while holding the reset button. Your Pi Pico should now be visible in Windows explorer as a mass storage device.
2. Download the picoprobe.uf2 file from [here](https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#debugging-using-another-raspberry-pi-pico)
3. Copy picoprobe.uf2 to your Pi Pico using Windows explorer. The Pi Pico onboard LED should now be on.
4. Download [Pico setup for Windows from ndabas](https://github.com/ndabas/pico-setup-windows) and make sure to check the box for Zadig while installing.
5. Check the box for Clone and build Pico repos.
6. Navigate to the tools subfolder in your installation folder and open zadig.exe
7. Install the picoprobe driver using zadig.exe as shown in [Getting started with Raspberry Pi Pico - Appendix A - Page 62](https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf#%5B%7B%22num%22%3A65%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C115%2C692.106%2Cnull%5D)
8. Connect GND to GND, VSYS to 3V3, GPIO2 to SWCLK, GPIO3 to SWDIO (picture below)
![Placeholder](Placeholder.com)
9. Open the Developer Command Prompt for Pico and type the following commands:
* git clone github.com/gab-k/RP2040-Decoder
* cd RP2040-Decoder
* mkdir build
* cd build
* cmake -G "NMake Makefiles"
* nmake
* openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program RP2040-decoder.elf verify reset exit"