Please use the v1.1 branch of the sonata software repository for compatible software. Please note that software that ran on v0.4 and v0.2 will not be compatible with v1.0 and above because of improvements that we think are necessary for the longevity of the project.
Release Notes
This release contains on top of the previous v1.0 release:
- Improved Vivado optimizations and timing
- Revocation control is now generated by reggen
- SD card example added
- PWM enable fix for PWM 1 and above
- Simulator now exits with magic UART string
- Latest CHERIoT Ibex with support for CHERIoT ISA v1.0
Bitstream information
The utilization of the bitstream:
Type | Used | Available | Percentage |
---|---|---|---|
Slice LUTs | 25,375 | 32,600 | 77.84% |
Slice Registers | 15,417 | 65,200 | 23.65% |
Block RAM Tiles | 41 | 75 | 54.67% |
DSPs | 13 | 120 | 10.83% |
Other bitstream statistics:
Name | Value |
---|---|
Overall WNS | 0.029 ns |
System clock WNS | 0.029 ns |
HyperRAM clock WNS | 2.766 ns |
USB clock WNS | 10.173 ns |
Total on-chip power | 0.319 W |
Quick start guide
Here's the developer flow for using these files:
- Make sure the bitstream select switch (immediately below the main USB-C port) is set to position 1.
- Before plugging in your Sonata board, hold down the "SW9" button 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 copy
rpi_rp2_v1.1.uf2
into it. - This drive should automatically dismount once the file is transferred and remount as "SONATA". Once the remount has happened, you can drag in the wrapped bitstream
sonata_bitstream_v1.1.bit.slot1.uf2
. - Once programming is successful, you should see the "CHERI" LED light up and the "LEGACY" LED turn off. If this is not the case, the bitstream loading may have failed and you should retry by unplugging and replugging the main USB on the Sonata board. Then re-drag the bitstream into the "SONATA" drive.
- After programming the bitstream, select position 1 on the "SW App" switch (bottom left corner of the board) drag the
sonata_simple_demo_v1.1.slot1.uf2
into the "SONATA" drive. - You should now see the user LEDs turn on and off, as well as the lowRISC logo appear on the LCD.
- You can also drag
snake_demo_v1.1.slot2.uf2
into the SONATA drive to play snake using the joystick. - After copying the snake demo across select position 2 on the "SW App" switch and reset the board (with the reset button or a power cycle) to run it
- Watch the CHERI error LEDs as you hit the boundary.
As a next step, have a look at our getting started guide.