Giter Club home page Giter Club logo

rp2040test's Introduction

RP2040 Test

Table of Contents

Introduction

This project includes various examples of how to use the RP2040's features and peripherals. The code is written in C and uses the PICO SDK for development and the FreeRTOS micro kernel.

List of the examples:

  • rp2040zero_ws28b12: use of the WS28B12 RGB pixel of the RP2040 Zero

Feel free to explore the code and try out the different examples!

Cloning the repository

This repository includes the submodules to the Raspberry Pi Pico SDK and the FReeRTOS kernel. Clone this repository together with the submodules with

git clone --recurse-submodules

Creating the makefiles

To create the makefiles in the folder build:

cmake -S . -B build

If the folder does not exists it will be created.

Building the examples

cmake --build build

Flashing the binary to the hardware

  1. Ensure that the board is not connected to the computer
  2. Press and hold the 'BOOT' button
  3. Connect the board with the computer(while holding the button)
  4. Release the 'BOOT' button
  5. A mass storage device should appear on the computer
  6. Copy the binary(with the .uf2 extension) on the mass storage device
  7. After copying the controller should reboot.

Flashing the binary to the hardware(RP2040-Zero)

The RP2040-Zero board has a separate RESET button.

  1. Connect the board with the computer
  2. Press and hold the 'RESET' button
  3. Press and hold the 'BOOT' button
  4. Release the 'RESET' button
  5. Release the 'BOOT' button
  6. A mass storage device should appear on the computer
  7. Copy the binary(with the .uf2 extension) on the mass storage device
  8. After copying the controller should reboot.

Troubleshooting

The board does not appear as mass storage device

Cheap USB charging cables, often referred to as "charge-only" cables, may not include data pins. These cables are designed solely for charging purposes and do not support data transfer between devices.

If you're experiencing issues when trying to transfer data using a cheap USB charging cable, it's likely because the cable does not have the necessary data pins. In such cases, it's recommended to use a high-quality USB cable that supports both charging and data transfer.

rp2040test's People

Contributors

defigli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.