Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Mention programming the RP2040 as a default step #99

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[Introduction](README.md)

- [Getting started](doc/guide/getting-started.md)
- [Reloading the RP2040](doc/guide/rp2040-update.md)
- [Reloading the FPGA Image](doc/guide/fpga-update.md)
- [Software Toolchain Setup](doc/guide/toolchain-setup.md)
- [Building Examples](doc/guide/building-examples.md)
Expand Down
4 changes: 3 additions & 1 deletion doc/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ default setups.

## Getting Started Steps

To get started with your Sonata board, there are three steps you'll need to do:
To get started with your Sonata board, there are three steps you'll need to do. First, head to
the [Sonata System Release Page](https://github.com/lowRISC/sonata-system/releases/) where you'll find the latest releases.

0. [Program the RP2040 With the Latest](rp2040-update.md) firmware to get any bug fixes by entering bootloader mode & dragging the `rpi_rp2_v0.XX.uf2`.
1. [Get the latest FPGA image](fpga-update.md) that corresponds with the software you are building. This requires you to just drag the new `.bit` file onto the SONATA drive that comes up when you plug in the board to your computer.
2. [Install the software toolchain](toolchain-setup.md).
3. [Build the example code](building-examples.md) and download to the soft-core you loaded in step 1.
Expand Down
12 changes: 12 additions & 0 deletions doc/guide/rp2040-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Reloading the RP2040 USB Controller

Before plugging in your Sonata board, hold down the SW9 labelled "RP2040 Boot", and while holding this button plug your board into your laptop using the Main USB.

A drive called RPI-RP2 should pop up on your computer and drag `rpi_rp2_v0.X.uf2` into it.
This drive should automatically dismount once the file is transferred and remount as SONATA.

## Downloading the `rpi_rp2_v.X.uf2` file

Currently the RP2040 firmware is available from the [Sonata Systems](https://github.com/lowRISC/sonata-system/releases) releases, which ensures your RP2040 firmware matches the Sonata FPGA and firmware expectations.

The source & latest release for the RP2040 are also found on the [Sonata RP2040 repo](https://github.com/newaetech/sonata-rp2040/releases).