Jakub Duchniewicz 506cdd9e8d Fix mailboxes to support overwrites and precedence over SW to RTL writes. Add more control code to SW. vor 8 Stunden
..
data 773483ddac faster clocks for synthesis (not changing actual freq) vor 1 Woche
fw 506cdd9e8d Fix mailboxes to support overwrites and precedence over SW to RTL writes. Add more control code to SW. vor 8 Stunden
rtl 506cdd9e8d Fix mailboxes to support overwrites and precedence over SW to RTL writes. Add more control code to SW. vor 8 Stunden
sim f560755b26 projects/riscv_usb: Add support for the user button vor 4 Jahren
Makefile 827f19c8b2 Distinguish between two kinds of mailboxes RTL2SW and SW2RTL. vor 1 Tag
README.md fd6a09e0c2 projects/riscv_usb: Fixup the README vor 1 Jahr

README.md

RISC-V + USB core demo

For the icebreaker, the hardware connections are :

  • P1B4: USB DP
  • P1B3: USB DN
  • P1B2: Pull up. Resistor of 1.5 kOhm to USB DP

To run :

  • Build and flash the bitstream

    • This will build fw/boot.hex and include it as the BRAM initial data
  • Flash the main application code in SPI at offset 1M

    • make -C fw prog
  • Connect to the iCEBreaker uart console (ttyUSB1) with a 1M baudrate

    • and then at the Command> prompt, press c for 'connect'. This will start the USB detection and device should enumerate