From d50390d0368cfeda1165ad20e460323f5d69d524 Mon Sep 17 00:00:00 2001 From: Gabriel Koppenstein <82903393+gab-k@users.noreply.github.com> Date: Sat, 6 Aug 2022 11:15:33 +0200 Subject: [PATCH] Updated Quick start guide (Windows) (markdown) --- Quick-start-guide-(Windows).md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Quick-start-guide-(Windows).md b/Quick-start-guide-(Windows).md index aecfaaf..6808446 100644 --- a/Quick-start-guide-(Windows).md +++ b/Quick-start-guide-(Windows).md @@ -1,19 +1,18 @@ -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) +1. Download and install [Pico setup for Windows from ndabas](https://github.com/ndabas/pico-setup-windows) and make sure to check the box for also installing Zadig. +2. Clone and build Pico repos either by checking the box at the end of the setup. +3. 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. +4. Navigate to the picoprobe/build subfolder in your installation folder and copy picoprobe.uf2 to your Pi Pico. Alternatively, download the picoprobe.uf2 file from [here](https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#debugging-using-another-raspberry-pi-pico).The Pi Pico onboard LED should now be on. +5. Navigate to the tools subfolder in your installation folder and open zadig.exe +6. 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) +7. Connect GND to GND, VBUS to +V, GPIO2 to SWCLK, GPIO3 to SWDIO as shown in the 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 +8. To finally build and flash, open the Developer Command Prompt for Pico and type the following commands: +* git clone https://github.com/gab-k/RP2040-Decoder.git * cd RP2040-Decoder * mkdir build * cd build -* cmake -G "NMake Makefiles" +* cmake -G "NMake Makefiles" .. * nmake * openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program RP2040-decoder.elf verify reset exit"