Destroyed Quick start guide (Windows) (markdown)

Gabriel Koppenstein committed 2022-08-06 14:11:24 +02:00
1 parent 80c2bba033
commit b2f0cc4536
1 file changed
-18
-18
@@ -1,18 +0,0 @@
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.
<img src="https://github.com/gab-k/RP2040-Decoder/blob/main/docs/svg/Debug_Connections.svg" width="700"/>
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" ..
* nmake
* openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program RP2040-decoder.elf verify reset exit"