Issues with building or running code?

CMake Error: The current CMakeCache.txt directory #### is different than the directory #### CMake has a cache which will have wrong paths after you move or rename a project. To clear it in Visual Studio Code: Settings icon > Command Pallet > Enter “CMake:Delete Cache and Reconfigure”

Read More

Flash Memory

Flash memory size The RP2040 auto-detects its flash memory size on powerup (assuming you are using an IC that supports the method it uses). Max flash size: 16MB (128Mbit) Using flash memory for data storage The entire memory is readable and writable from code. Your program is stored from address 0x00000000. The free area after […]

Read More

IO Pins Geneal

IO Pin documentation https://raspberrypi.github.io/pico-sdk-doxygen/group__hardware__gpio.html Inputs Outputs

Read More

Moving or renaming a project

CMake has a cache which will have wrong paths after you move or rename a project. To clear it in Visual Studio Code: Settings icon > Command Pallet > Enter “CMake:Delete Cache and Reconfigure”

Read More

Picoprobe debugging using another Pico

Guides The RPi page on how to do it is here. The guide is in “Appendix A: Using Picoprobe” of the Pico Getting Started Guide. Installing OpenOCD and Picoprobe on Windows You can follow the guide, or you can use the pico-setup-windows tool kindly created by ndabas below which offers an automatic way to do […]

Read More

Programming Setup

Special Pins Boot Jumper / Flash CS Pin Pull up resistor to +3.3V is not normally needed. RP2040 has built in pull up, but included as DNF as it is possible that different flash memory IC’s may have an issue with it floating at powerup before the RP2040 pull up is engaged. If needed then […]

Read More